Tools
Python

Lessons from Python
(back to the tools page)
From personal usage
- debugging
python -m pdb mycode.py(Pdb) break 68set breakpoint at the line 68(Pdb) ccontinue until the next breakpoint- allow to test for the different values interactively
- supybot-plugin-create : Supybot command to generate a plugin template (basic source and license)
Sysadmin
- Python for system administrators by James Knowlton, IBM DeveloperWorks 2007
- Python for Unix and Linux System Administration by Noah Gift and Jeremy M. Jones, O'Reilly Media 2008
- pyp - Python Power at the Prompt aka The Pyed Piper
- the other way around, using Python within scripts rather than replacing bash or Perl
- Python and sysadmin I by Guixing Bai, 2009
On going projects
Mostly discontinued for now
- rewrite the PHP IRC/Wiki linker
(offline) based on
- Sample Python Client XMLRPC from Dokuwiki
- Reading and Writing Files from Input and Output in Python v2.6.1 documentation
- discovering Google App Engine (cheat sheet) by working on
- Distributed pmwiki statistics
- Use appcfg.py to upload and deploy your application code.
- learn more
- deploy sheclicked.it
- WikiBot
and the possibility to monitor a set of pages for corrections/suggestions/etc
- check also hooks/HTTP callback mechanism
- Distributed pmwiki statistics
Principle
- read our current position on the log file (last successful writing in the wiki)
- if no current position, create it and start at 0
- read the log file from this position to the end of the file
- write the content in the wiki
- update the current position in the log file to the current end of file
- return an explicit value and quit
References
- Learn Python in 10 minutes from Poromenos' Stuff, 2006
- The Python Tutorial from Python v2.6.1 documentation, December 2008
- HOWTO Use Python in the web by Marek Kubica for Python v2.6.1 documentation
- Getting Started with App Engine in Eclipse by Mano Marks, September 2008
- Based on Configuring Eclipse on Windows to Use With Google App Engine by Joscha Feth, June 2008
- Python basics for PHP developers by Thomas Myer, IBM developerWorks 2010
To explore
- pylint analyzes Python source code looking for bugs and signs of poor quality.
Note
My notes on Tools gather what I know or want to know. Consequently they are not and will never be complete references. For this, official manuals and online communities provide much better answers.
CONTENT
CONTACT
UPDATES
LAST TWEET
RSS for this page only


