Hello everyone, i'm working on a project and everything is going quiet
well.
ok when my code is like this everything works well
#/usr/bin/python
input = raw_input(">> ").replace(',','\n')
a=open("file","w")
a.write(input)
a.close()
import sys,os,time,subprocess,threading,readline,socket,ifc

but the problem is i have to import the libraries before the code so
my code should be like this
#/usr/bin/python
import sys,os,time,subprocess,threading,readline,socket,interfaces
input = raw_input(">> ").replace(',','\n')
a=open("file","w")
a.write(input)
a.close()

when i execute the above code no error message is given but no file is
written.

i think there is something with the module i'm adding (ifc) but i dont
know what it is.
cat anyone help??
thanks in advance
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to