Python

Find your python path (Windows)

To find your python path type the following in the interpreter

import sys, pprint
pprint.pprint(sys.path)

Tags: 

Add Python to your Windows environment variable

If you don’t want to change the environment variables on your machine you can run your scripts from the command prompt by specifying the full path to the python.exe like this;
C:\>C:\Python24\python hello.py

Tags: 

Help

Help
Type help() for interactive help, or help(object) for help about object.
>>> help()
Welcome to Python 2.7! This is the online help utility.

If this is your first time using Python, you should definitely check out
the tutorial on the Internet at http://docs.python.org/tutorial/.

Tags: 

Pages

Subscribe to RSS - Python