-
Notifications
You must be signed in to change notification settings - Fork 4
Python
Here comes some step to learning and understanding Python and libraries we will use. We require python 3.2.2 or later (for now)!
- Python standard tutorial
- Code Standard: PEP8
- Design guidelines: PEP20: The Zen of Python
- Download Python for Windows 32bit
- Download Python for Windows 64bit
- Download Python for Mac & other platforms
- The Python Language Reference
- Lua tutorial for Python Programmers
If you want to run python from the command prompt on windows you need to add the python install directory to the PATH environment variable: http://docs.python.org/py3k/using/windows.html#excursus-setting-environment-variables
PLY is lex/yacc for python, a python library we depend on. Download and extract it: http://www.dabeaz.com/ply/ply-3.4.tar.gz Start a command prompt or terminal, navigate inside "ply-3.4" folder and run "python setup.py install"
pycparser is the C parser library, it depends on PLY. Until version 2.05 is released, install latest code straight from the repository at https://code.google.com/p/pycparser/
Yaml is the configuration we have selected. pyYAML is the python library for it. Download and extract it: http://pyyaml.org/download/pyyaml/PyYAML-3.10.zip Start a command prompt or terminal, navigate inside "PyYAML-3.10" folder and run "python setup.py install"
- We have decided to use Attest for python unit testing.
- Until version 0.6 is released, install straight from the github repository
- Run in a terminal inside CSjark/csjark/ "python -m attest"
- For coverage, run "python -m coverage run -m attest"
- The user documentation can be found on http://csjark.rtfd.org/
- Written in reStructuredText
- Compiled with Sphinx
- Hosted by readthedocs.org, which automatically pulls from our github repository and compiles to html
I don't have the answer to this problem, there are several out there of varying quality. You should probably collaborate a bit on this problem, it seems the best ones cost money, like WingIDE and Kommodo. Python on windows comes bundled with one called IDLE i think, PyScripter is windows only and might be good. There are some that are based on Eclipse, and Netbeans etc. http://wiki.python.org/moin/IntegratedDevelopmentEnvironments