|
|
Line 1: |
Line 1: |
| [[Category:Language]]{{NoTitle}} | | #REDIRECT [[Language - Python]] |
| {|
| |
| |style="vertical-align:middle; width: 60%;"|
| |
| <font size=6>'''Language - Python'''
| |
| | |
| '''Windows with LiClipse'''</font>
| |
| | |
| Welcome to using Phidgets with Python! By using Python, you will have access to the complete Phidget22 API, including events.
| |
| | |
| LiClipse is a closed-source development environment based on Eclipse, with support for Python.
| |
| | |
| |{{TOC limit|2}}
| |
| |}
| |
| | |
| {{Language_-_Python_Intro_Windows}}
| |
| | |
| {{Finding Code Samples|Python}}
| |
| | |
| ==Setting Up a New Project==
| |
| When you are building a project from scratch, or adding Phidget functionality to an existing project, you'll need to configure your development environment to properly link the Phidget Python library.
| |
| | |
| To start, create a new Python project:
| |
| [[Image:Python_liclipse_newproject.PNG|link=|center]]
| |
| | |
| | |
| Next, add a new file to the project:
| |
| [[Image:Python_liclipse_newfile.PNG|link=|center]]
| |
| | |
| ==Using the Code Samples==
| |
| | |
| Now that you have configured a project to use Phidgets, you can copy the code sample from the [{{server}}/?view=code_samples&lang=Python Code Samples] page into your project, and run it.
| |
| | |
| {{Language_Page_What's_Next}}
| |