![]() If you work with multiple Windows machines (such as Pitt lab computers), consider getting Portable Python.Follow "option one" shown on this page to make file extensions visible. This leads to a lot of confusion while programming. Windows users: Unless you changed the default setting, your system will display file names without the proper extension, e.g., you see "slides06" instead of "slides06.ppt".Also, see this page for details on which version of ActiveTcl to download. If your IDLE displays this WARNING message, it is definitely affected. If you don't, your Python IDLE will use the older version of Tcl/Tk that comes pre-installed with your OS X, but it is known to be buggy and will crash your IDLE window. If you are installing on Mac OS X, make sure to download and install the appropriate version of ActiveTcl.Avoid the 64-bit version, which is marked with "X86-64". It is usually the top download link, labeled "Windows x86 MSI installer". If you are a Windows user, make sure to get the 32-bit version of Python 2.7.The relevant ones for our course are print, raw_input(), range(), set(), and integer division. If you learned Python 3, this page lists the differences. Python 3 is incompatible with Python 2.7 in a few important ways.Double-clicking a Python script ( lesson01.py) now launches a command-line window (cmd) where it runs.This tutorial shows you how to install Python on Windows. On this page: installing Python, installing Python on a Mac, ActiveTcl (Mac), showing file extension (Windows), portable Python (Windows).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |