Re: Windows OS , Bizarre File Pointer Fact

2008-06-27 Thread Matt Nordhoff
Taygun Kekec wrote: > Code : > #!/usr/bin/python > # -*- coding: utf-8 -*- > import os > > if os.name == 'nt': > OS_Selection = 0 > elif os.name == 'posix': > OS_Selection = 1 > else : > OS_Selection = 1 > > del_cmd_os = ( "del","rm") > filelist = ("ddd.txt","eee.txt","fff.txt") > >

Re: Windows OS , Bizarre File Pointer Fact

2008-06-27 Thread Taygun Kekec
Allright i figured it out . Very stupid but very forgottable fact. I should close the file before deleting it with shell command... -- http://mail.python.org/mailman/listinfo/python-list