Needing a WinXP Python variant of a line of code

Ron Rogers Jr. CronoCloud at mchsi.com
Mon Jan 30 12:10:34 EST 2006


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.)



More information about the Python-list mailing list