Linux servers, network and file names

Martin P. Hellwig martin.hellwig at dcuktec.org
Fri Apr 23 04:50:57 EDT 2010


On 04/22/10 15:13, Infinity77 wrote:
<cut>
>
> For me:  //SERVER/gavana/Folder/FileName.txt
> Colleague: //SERVER/Colleague/Folder/FileName.txt
>
> So, no matter what I do, the file name stored in the database is user-
> dependent and not universal and common to all of us.
>
If that user dependent part happens to be equal to the login name, then 
what you could do is replace is with the username variable (I believe 
%USERNAME% on windows) instead.

-- 
mph



More information about the Python-list mailing list