|
Yes, amazingly enough, I'm quite familiar with basic file operations.
:-) I'm certainly no expert at all variations of it. Output from the sample program: 1. file is open and ready for writing.2. you opened in write mode. return for asksaveasfileNAME: C:/myfile.txt In 1, the return is an object, and 2 it's a file name, correct? I may be mistaken, but I do not think any of the documentation I've seen on these two methods states what type of result is produced. That is really my point. I had to find out the hard way by printing out the result. In any case, the "correct" method of the two that I need is working in my program. Now for a related question. I'm using Win XP. One of the arguments is the default_path. I would like it to be the same folder the program is in. How do I do that? "c:/.", "./", or some variation? Amazingly, I hit Reply to All. :-) Kent Johnson wrote: On Fri, Feb 6, 2009 at 9:59 PM, Wayne Watson <[email protected]> wrote: --
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time)
Q: What do you do when your resistors get to hot?
A: Open the switch and coulomb they off.
-- Anon. (fortunately!)
Web Page: <www.speckledwithstars.net/>
|
_______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
