files,folders,paths

ecu_jon hayesjdno3 at yahoo.com
Sun Feb 13 18:01:25 EST 2011


On Feb 13, 5:11 pm, Tim Roberts <t... at probo.com> wrote:
> ecu_jon <hayesjd... at yahoo.com> wrote:
>
> >i know backslashes are special. there a special pain in my #$%.
> >without a windows environment, you would have to change destination2
> >significantly to try it out. but like i said above you can try version
> >11 in a linux environment.
>
> If they are a pain in your #$%, then don't use them.  You can use forward
> slashes everywhere in Windows, except when typing commands at the command
> prompt.  ALL of the Windows file system APIs accept forward slashes.
> --
> Tim Roberts, t... at probo.com
> Providenza & Boekelheide, Inc.

can you give an example of how to build a folder name, maybe as a
string, with parts of it as variables, that have to be strung
together. like x = "//servername/+variable+"/"+variable+"/"
when i did something liek that the end result string was like
//servername/folder/folder\file and i got an error



More information about the Python-list mailing list