Pygments
takes a source code and
outputs a beautiful looking code.
Pygments
takes a source code and
outputs a beautiful looking code.
A module is a file containing Python definitions and statements.
The file name is the module name with the suffix .py appended.
Within a module, the module’s name (as a string) is available as the value of the global variable __name__.
import loads a Python module into its own namespace
>>> import yourmodulename
1. In Eclipse, go to
Help > Software updates..
2. Select
Available softwares
3. Select
Add Site
4. Enter “http://pydev.sourceforge.net/updates” under Location and click OK
5. Follow direction
check this site
http://www.rose-hulman.edu/Class/csse/resources/Eclipse/eclipse-python-configuration.htm
Start the interactive Python interpreter
>>> import django
>>> print django.VERSION