Dictionary help

Steve samckain at southslope.net
Thu Nov 1 19:59:17 CET 2007


On Thu, 01 Nov 2007 04:16:10 -0700, wes weston wrote:

> Steve wrote:
>> I'm currently working on a little database type program is which I'm
>> using a dictionary to store the information. The key is a component a
>> and the definition is a list of parts that make up the component. My
>> problem is I need to list out several components, but not all, and
>> there associated parts to a printer. Not having any luck. I can list
>> them to the screen but not the printer. Any help/ideas would be
>> appreciated.
>> 
>> Steve
> 
> You can do os.system("<some printing command; lp fn.txt, etc.>") after
> putting your stuf in a file.

Thank you for the reply. I finally got it printing in Linux.

Steve



More information about the Python-list mailing list