Are you trying it with raw strings?

unc = r'\\worknas\\raid1'
On Jul 17, 2013 5:48 AM, "Ricardo Viana" <[email protected]> wrote:

> Hi guys .
> Started a new job at a windows based pipeline house. Thing is
> I never worked with windows before, more of a unix kind of guy.
>
> The issue:
> Im Trying to create folders on a drive(nas) with pyqt4 using the
> Qdir.mkpath
> But how on earth do i format the string to the path?
> For instance the path on the browser is \\worknas\raid1
>
> But in pyqt4 it doesnt work.
> Do i really need to map a letter to it everytime i create a folder struct?
>
> Cheers
> Ricardo
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to