Wing IDE is "the intelligent development environment for Python programmers." Wing is available in EHS 117 and EHS 119 and is the development environment of choice for coursework in Python.
You may also download and install Wing on your personal machine (available for Windows, Linux, and OS X) and activate it using the limited term academic license provided by your professor. The limited term license is typically good for 12 months. New licenses will be provided each semester as needed for CSIS courses.
Make sure you have a working Python installation. After you have installed Python, proceed to the next step.
Run Wing. Make sure the "Python Shell" tool pane is visible (you can quickly add it or bring it to the front by selecting "Tools" > "Python Shell" from the menu bar). Verify that the shell reports the correct Python version.
3.4.3 (default, Aug 28 2015, 21:00:25) [GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)]
If the shell reports a different version (say, version 2.7 instead of version 3.4), do the following in Wing:
python3in the textbox.
Back in the "Python Shell" tool pane, restart the shell by selecting the "Options" > "Restart Shell" menu on the tool pane (or simply quit and re-run Wing). The shell should now report the correct Python version. If not, verify that you have a working Python installation.
Open the Wing IDE preferences ("Edit" > "Preferences" menu on Windows and Linux, "Wing IDE" > "Preferences" menu on OS X). Ensure that the following preferences are set correctly:
|Files||General||Default Encoding||utf-8 (your system may already default to this)|
|New File EOL||Line Feed \n|
|New File Extension||.py|
|Editor||General||Show Line Numbers||checked|
|Indentation||Show Indent Guides||checked|
|Line Wrapping||Wrap Long Lines||unchecked|
|Edge Markers: Mode||Border|
|Edge Markers: Column||80|
Enter the following source code into a new, empty document window in Wing:
name = 'world' print('Hello, ' + name + '!')
Save the program to your desktop as hello.py. Now, run the program by doing one of the following:
Verify that your program runs without errors and displays the expected output in the "Debug I/O" tool pane (try the "Tools" > "Debug I/O" menu if you can't find it).
Now, modify the program to print your name.
This page was last modified on 2016-08-27 at 12:45:49.
George Fox University · 414 N Meridian St · Newberg, Oregon 97132 · 503-538-8383
Copyright © 2015–2019 George Fox University. All rights reserved.
Your IP: 18.104.22.168