I have this line of code that's written with Linux in mind:

path_to_nethack_logfile = os.popen("locate logfile | grep 
nethackdir").read()

and I'm wanting a Windows equivalent, any suggggestions?


Thanks.

CronoCloud (Ron Rogers Jr.)
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to