Redirect stdout to file
Gaetan Corneau
Gaetan_Corneau at baan.com
Wed Jul 14 14:52:31 EDT 1999
More information about the Python-list mailing list
Wed Jul 14 14:52:31 EDT 1999
- Previous message (by thread): Redirect stdout to file
- Next message (by thread): Terminating Python...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Frederik, now, keep in mind that all python variables are just named pointers. so: stdout = sys.stdout creates a variable called "stdout" in *your* module, which points to the same thing as "sys.stdout" currently points to... [GC] OK, I didn't know how my "from ... import ..." was interpreted. I thought is was really giving me the real object (sys.stdout in this case). I will remember that :) Thanks again! ______________________________________________________ Gaetan Corneau Software Developer (System integration Team) BaaN Supply Chain Solutions E-mail: Gaetan_Corneau at baan.com Compuserve: Gaetan_Corneau at compuserve.com ICQ Number: 7395494 Tel: (418) 266-8252 ______________________________________________________ "Profanity is the one language all programmers know best"
- Previous message (by thread): Redirect stdout to file
- Next message (by thread): Terminating Python...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list