happypython.blogspot.com
HappyPython: March 2008
http://happypython.blogspot.com/2008_03_01_archive.html
Sunday, March 2, 2008. This week I count have actually used ieeemac. When I was writing some scripts to automate packet generation using Click Router. But of course I was using Ruby so I couldn't take advantage of this. O = commands.getoutput("ifconfig -a"). Mtu 16384 n tinet 127.0.0.1 netmask 0xff000000 n tinet6 : 1 prefixlen 128 n tinet6 fe80: 1%lo0 prefixlen 64 scopeid 0x1 ngif0: flags=8010. Mtu 1280 nstf0: flags=0. Mtu 1280 nen0: flags=8863. Status: inactive n tsupported media: autoselect.
happypython.blogspot.com
HappyPython: Talking 3.0
http://happypython.blogspot.com/2008/12/talking-30.html
Saturday, December 6, 2008. I'm embarrassed to say I've hardly touched 2.6 let alone 3.0 but Let's talk about Python 3.0. Has some interesting background on the limitations of Python 2.x as well as thoughts on process improvement. Of course CentOS5 still only comes with Python 2.4.3, which is what I'm stuck for much of my development unless is compile from scratch. Subscribe to: Post Comments (Atom). View my complete profile.
happypython.blogspot.com
HappyPython: December 2007
http://happypython.blogspot.com/2007_12_01_archive.html
Friday, December 28, 2007. Web Scripting with Twill (I wish I had this when I used to do WebApp Assessments). A few weeks ago I thought I had the need to script (for the life of my I can't remember why I wanted to do this, I should have blogged on it) Firefox. Well I didn't any Python or Ruby tools for taking control of the browser (I remember seeing how to do this with Python and IE a loooong time ago) but tonight I ran across Twill. Which looks pretty cool and I assume uses the cmd module. Echo getinpu...
happypython.blogspot.com
HappyPython: November 2009
http://happypython.blogspot.com/2009_11_01_archive.html
Saturday, November 28, 2009. Generating SVG Output (from Graphviz) in your Django App. So accomplishing new coding tasks can be a challenge with interruptions and I've had a lot of interruptions this week but I finally got there. And I'm thankful! I have an app that is storing data, meaning Django models for the uninitiated. What is in there doesn't matter, but it is something that is conducive to plotting with graphviz. So the starting point is a string that is in the .dot format. Def make svg str:.
happypython.blogspot.com
HappyPython: Google Protocol Buffers
http://happypython.blogspot.com/2008/12/google-protocol-buffers.html
Saturday, December 13, 2008. Was mentioned on the Python LinkedIn Community. Is the Link to the Python API. Subscribe to: Post Comments (Atom). View my complete profile.
happypython.blogspot.com
HappyPython: December 2008
http://happypython.blogspot.com/2008_12_01_archive.html
Saturday, December 13, 2008. Was mentioned on the Python LinkedIn Community. Is the Link to the Python API. Saturday, December 6, 2008. I'm embarrassed to say I've hardly touched 2.6 let alone 3.0 but Let's talk about Python 3.0. Has some interesting background on the limitations of Python 2.x as well as thoughts on process improvement. Of course CentOS5 still only comes with Python 2.4.3, which is what I'm stuck for much of my development unless is compile from scratch. Subscribe to: Posts (Atom).
happypython.blogspot.com
HappyPython: February 2008
http://happypython.blogspot.com/2008_02_01_archive.html
Sunday, February 24, 2008. Easy Win32 Python and Registry. So I have some experience with APIs for accessing the registry (when I wrote some SCADA Nessus Plugins) but it can't get any easier than this recipe. Subscribe to: Posts (Atom). View my complete profile. Easy Win32 Python and Registry.
happypython.blogspot.com
HappyPython: April 2008
http://happypython.blogspot.com/2008_04_01_archive.html
Friday, April 25, 2008. No Model Inheritence in Django? Based on this wiki page on Model Inheritance. And this hack on extending models. Yuck) not looking too good. I would guess this "just works" in Rails, since I've just redesigned my database now would be the time to switch but I really want Django's admin interface. Thursday, April 17, 2008. Not Too Happy with Django Migration. So after playing around with dmigration. Subscribe to: Posts (Atom). View my complete profile.
happypython.blogspot.com
HappyPython: September 2008
http://happypython.blogspot.com/2008_09_01_archive.html
Saturday, September 27, 2008. Func: Python Systems Management. Func: Fedora Unified Network Controller. Func target.example.org call hardware info. Func "*.example.org" call yumcmd update. Func "*" call moduleyouwrote functionname 1234 5678 firetruck acmelabs hike! Sunday, September 21, 2008. Converting Subnet to CIDR in Python. Here is the meat of an even faster version in the comments. Bits = 0xffffffff (1. Return inet ntoa(pack(' I', bits). Which also led me to the Python netaddr. I'm a few hours (and...
happypython.blogspot.com
HappyPython: May 2008
http://happypython.blogspot.com/2008_05_01_archive.html
Sunday, May 11, 2008. And CherryPy Looks to be the Winner. So I've been looking for a pure Python lightweight HTTP server. For serving up a small django app. Here are the steps I used (assuming Django is already installed however you installed it) for Ubuntu Hardy LTS:. 3x (I installed the python-cherrypy3. And follow the docs. Documentation and these wrapper scripts were the make or break difference. Saturday, May 10, 2008. From Aspen to Karrigell and web.py. Been struggling to get Aspen. The package in...