>>> "John Corry" < [EMAIL PROTECTED] > 12/24/2005 12:28 PM >>>


Hi + Season's Greetings!

I have put together a program that queries and modifies a Gadfly database.
I have captured my output. I now want to print it to paper.

I have written the output to a text file. I have searched the tutor mailing
list and used the mailing list advice to get my data into nice looking
columns + tables.

I am using Python 2.4, Glade 2, pygtk2.8.0 + wxWidgets2.6.1.

I have downloaded win32, win32com, Preppy and PIL. I have had a go at using
them but can't get them to work. At the moment I can't even print the text
file.

Is there a good helpguide/FAQ page which deals with printing text files or
is there simple code which prints a text file?

Thanks,

John.

>>>>
You might want to look at karrigell ( http://karrigell.sourceforge.net/ ) and consider making your output an html text file, styled with css, that you can view/print using the browser. I think karrigell is simple for desktop apps - - certainly simpler than wxWidgets, etc.

TurboGears ( http://www.turbogears.org ) is more oriented toward a full website. Both frameworks are built on CherryPy, which is coming on strong as a full-featured, lightweight 'Pythonic" server.

I like to use the browser for output because it does so much of the formatting for you and it's cross-platform, and I like using a framework because if you ever want to use your program over the web, you're nearly done.

Ron




_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to