An Agenda for Getting Started with Python Sprints
- Prepare our laptops:
- Verify we all have a network connection, either wired or wireless.
- Verify installation of Python 2.4, with docs from the distribution.
- For GUI and PyCrust work, install the wxPython package.
- for Windows, install the extra module PyWin32.
- for Windows, install the extra module ctypes.
- for Windows, install the extra module readline.
- Introduce running the Python interpreter and the built-in Pydoc module and command.
- Configure and test client access to the club version control repository.
- Starting a new project:
mkdir myproject; cd myproject; (create files); svn import -m "importing 1st files" . http://python.taupro.com/repos/myproject/trunk
- Checking out a project:
cd workarea; svn co http://python.taupro.com/repo/myproject/trunk myproject; cd myproject
- Status of my `file:
svn status myfile.py svn diff myfile.py
- Checking in all changes made:
svn commit -m "I fixed bug #432"
- Find out some history:
svn log --verbose myfile.py
- Catch up with the latest changes:
svn update
- Introduce the Python way to install software using Distutils.
- Install a syntax checker:
- PyChecker(approve sites)
- PyLint(approve sites) (depends upon Logilab-Common(approve sites)).
- Review and select an interactive command shell:
- vanilla interpreter and PYTHONSTARTUP environment variable
- IPython
- http://www.wxpython.org/PyManual.html pycrust/pyshell, etc.
- http://drpython.sourceforge.net - DrPython? environment offers code completion, debugging, and is cross-platform (uses wxPython)
- Optionally interface Python with our editors:
- Emacs
- VIM(approve sites)
- Survey the skill sets of the members.
- Begin learning Python by doing.
- ProjectIdeas
- Recommended books for study until next time.
- Cover the principles of extreme programming.
- Unit Testing (modules 'unittest' and 'doctest' in Python distribution)
|
|