On 15/04/2013 at 04:37, xxxxxxxx wrote:
Hi There,
Im trying to read out the file modfication time.
on my local machine this code works. but not for files that are in the network. the file I am trying to access is easily accessible via windows explorer, but unfortunately not with python.
any ideas?
thanks a lott
Jops
import c4d, os, time
from c4d import gui
#Welcome to the world of Python
def main() :
print time.localtime(os.path.getmtime("\\networkcomputerOrIP\foler\file"))
if __name__=='__main__':
main()