Python - How to copy a file from a Windows share to a Linux share -


i have system windows 7 , want copy file windows share linux share. both shares mounted after logging in through logon script (l: , n:).

i want code python program job. think best way

shutil.copy("l:/windows/path/to/file", "n:/linux/path/to/new/directory/") 

(because shares mounted), i'm not sure if have side effects , because productive environment, don't want risk anything.

any better ideas or should work without messing things up?

thanks!


Comments

Popular posts from this blog

cakephp - simple blog with croogo -

How to group boxplot outliers in gnuplot -

bash - Performing variable substitution in a string -