Language - Python Windows Command Line: Difference between revisions

From Phidgets Support
No edit summary
(Redirected page to Language - Python)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{NoTitle}}
#REDIRECT [[Language - Python]]
{|
|style="vertical-align:middle; width: 60%;"|
<font size=6>'''Language - Python'''
 
'''Windows with Command Line'''</font>
 
Welcome to using Phidgets with Python! By using Python, you will have access to the complete Phidget22 API, including events.
 
The command line is the default environment to make Python programs in Windows, since it's available immediately after installing Python.
 
|{{TOC limit|2}}
|}
 
{{Language_-_Python_Intro_Windows}}
{{Finding Code Samples|Python}}
 
==Using the Code Samples==
To use the code sample from the [{{server}}/?view=code_samples&lang=Python Code Samples] page, you can click the '''Download Example''' button to download a Python file with the sample code.
 
[[Image:Python_Sample_Code_Download.png|link=|center|800px]]
 
 
Open the command prompt at the location of the example and enter the following command:
<syntaxhighlight lang=bash>
python example.py
</syntaxhighlight>
 
The script is now running with Phidgets!
 
{{Language Page What's Next}}

Latest revision as of 17:01, 15 March 2021

Redirect to: