Re: [Tutor] Edit a Word document programmatically CORRECTION Open not open

2008-10-14 Thread URBAN LANDREMAN
[Tutor] Edit a Word document programmatically CORRECTION Open not open bob gailer wrote: Brian C. Lane wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 URBAN LANDREMAN wrote: Good morning, I'm trying to write some Python code to programmatically do

[Tutor] Edit a Word document programmatically

2008-10-14 Thread URBAN LANDREMAN
Good morning, I'm trying to write some Python code to programmatically do a Find and Replace of a string within a Microsoft Word document. Any suggestions on where I could look to find how to do such a function? Thank you. Urban Landreman ___

[Tutor] How to allow user to choose an option from a window

2006-12-12 Thread Urban . Landreman
k on the option of choice. Any suggestions of a model I can adapt to accomplish this? Thanks. Urban Landreman ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] Writing an "Alt-Enter"

2006-06-19 Thread URBAN LANDREMAN
ot;Ohio","Columbus") oFileName = "c:\PythonExport.csv" ofile = open(oFileName,"w") ofile.write("State Code,State info"+"\n") for stateCode in states.keys(): stateInfo=states[stateCode] ofile.write(stateCode+","+s

[Tutor] Unable to import xxx.pyd

2006-05-25 Thread URBAN LANDREMAN
xxx.py in the same folder, the system finds that file. The file xxx.pyd has security numeric value 755, so the system should be able to find it. I'm baffled. Any suggestions of what my be causing the system to not find xxx.pyd? Thanks. Urban Landreman _

Re: [Tutor] User input

2006-05-22 Thread URBAN LANDREMAN
:")) gallon_price = float(raw_input ("Enter you cost per gallon:")) make = "Honda" model = "Accord" ## print make, model, "mileage is", mpg, "miles per gallon" print "Total trip cost is US$" , distance * gallon_price/mpg Others who a

[Tutor] Sending e-mail msg

2006-05-17 Thread URBAN LANDREMAN
esult. I have checked several of the tutorials and FAQ sites and the impression that's given is that this functionality is quite simple, so I assume that I'm just missing one small step. Any suggestion would be much appreciated. Thank you. Urban Landreman ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor