I belive os.normcase would convert \ into / on windows.
On 9/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I'm trying to use Engal on windows without using environmental
> variables.
>
> If you look at the code it does a getcwd() if no existing path is found
> via environmental variables. The cwd it does get is of the form
> "c:\stuff\stuff...", which is not correctly recognized later on when
> grabbing the file for image processing. In fact the error I get is
> that "c:\\stuff\\stuff..." is not a valid path.
>
> I was able to hard-code the exact same string in "c:/stuff/stff..."
> format and it worked, suggesting the separator needs to be '/' instead
> of '\'.
>
> "also C:/stuff/stuff/stuff is incorrect in any OS "
> -is that so? can you elaborate?
>
>
> >
>
--
cheers
elvelind grandin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---