You can develop windows IoT Core app in Python in Visual Studio.To develop app in visual studio 2017 first you need to add the Python IoT Support feature in Visual Studio
Install the Cpython for UWP from the following link
After it is installed you can create a new project in Visual Studio and Select Python –> IoT Core project template
Now we need to install Visual C++ Compiler from the below link:
install the packages from the Python environment node:
Now you can develop python apps in Visual Studio.
Following is a simple Python app:
import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) GPIO.setup(16, GPIO.IN) if GPIO.input(16) == False: # you can also use 1/0 instead of true/false print('I am pressing the button') time.sleep(0.2)