Re: Windows users please test this for me
Steven Armstrong <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.devel |
|---|---|
| Message-ID | <[email protected]> |
On 04/03/05 18:30, Bill Mill wrote: > On Apr 3, 2005 2:49 AM, Steven Armstrong <[email protected]> wrote: >> Hi >> >> Could someone who has Python installed on a Windows box please test this >> for me: >> >> f = open("NUL","a") >> f.write("whatever") >> f.flush() > >>>> f = open('NUL', 'a') >>>> f.write('something') >>>> f.flush() > > It didn't create a file, as far as I can tell. I assume that's the > behavior you wanted? Is NUL a reserved word? > > Peace > Bill Mill > bill.mill at gmail.com > > Windows ==> NUL *nix ==> /dev/null Thanks for testing :-) I wasn't sure if it'ld work. cheers Steven ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click