Re: seeking the "Hello World" of Packages

2006-08-13 Thread dwhall
Kevin, I just posted a small package to the python package index. It has one source file of interest and some unit tests.The remaining files are either needed for or made by distutils. Should be pretty easy to follow if you've read the distutils docs. Note that the package you get does not

Re: Is anyone using Python for embedded applications?

2006-12-16 Thread dwhall
Carl, I'm the lead developer for PyMite (http://pymite.python-hosting.com). I do quite a bit of embedded development with PyMite. PyMite is for much smaller target devices (8-bit and 32-bit microcontrollers) than you plan to use. I am currently writing a series of papers that will attempt to dra

Re: Is there a way to push data into Ical from Python ?

2006-12-17 Thread dwhall
You could save your calendar_ to a .ics file which is in the VCal_ file format; but that requires the extra step of manually saving your calendar to a file or accessing the files that iCal creates behind the scenes in ~/Library/Application Support/iCal/Sources/ which is unclear and potentially haza

Re: python-hosting.com projects: dead?

2006-12-20 Thread dwhall
My project was temporarily disabled as well even though I had taken measures to block spam and had committed to svn and edited the trac wiki one day before. I was a bit concerned that maybe webfaction had lost my trac and svn during their house cleaning. But I emailed Remi and he had it going aga

Does RETURN_VALUE always result in an empty stack?

2007-05-09 Thread dwhall
I'm developing PyMite and would like to know a little detail about Python 2.5's design. Is it true that when the RETURN_VALUE executes and pops its argument, that at that point the stack should *always* be empty? I mean just the argument stack for that execution frame. I want to use this knowled

Why does producer delay halt shell pipe?

2007-12-11 Thread dwhall
I have 2 python scripts: examples of a producer and a filter, respectively: #! /usr/bin/env python import sys, time if __name__ == "__main__": while True: sys.stdout.write("hello.\r\n") time.sleep(0.01) #! /usr/bin/env python import sys

Re: Why does producer delay halt shell pipe?

2007-12-12 Thread dwhall
Thanks, N, it works like a charm. !!Dean On Dec 11, 12:49 pm, Nanjundi <[EMAIL PROTECTED]> wrote: > turn off python buffering & it should work. > export PYTHONUNBUFFERED=t -- http://mail.python.org/mailman/listinfo/python-list