Dictionary help

wes weston oweston at earthlink.net
Thu Nov 1 07:16:10 EDT 2007


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.



More information about the Python-list mailing list