Trouble with internationalized path under windows
Jacob Hallén
jacob.hallen at sotospeak.se
Sun Jan 22 16:39:06 EST 2012
Sunday 22 January 2012 you wrote:
> On Sun, Jan 22, 2012 at 12:08 PM, Jacob Hallén
>
> <jacob.hallen at sotospeak.se> wrote:
> > I have a problem which ought to have an obvious solution, but I haven't
> > found one despite searching for many hours. The problem occurs on
> > Windows.
> >
> > This is a version of my problem reduced to its essentials:
> >
> > I have a file foo.py::
> >
> > import bar
> >
> > and a file bar.py :
> >
> > baz = 42
> >
> > If I store these two files in say C:\Users\Admin\test everything works
> > fine.
> >
> > If I store them in C:\Users\Admin\testф, I get an import error when
> > running foo.py. The letter at the end of test is a Russian "F", if it
> > looks strange on your terminal.
>
I should add that I'm changing the path name by using the file manager in
Windows (this is Windows 7 btw) and changing my keyboard to a Russian
keyboard. This is a standard Windows i18n facility.
Jacob Hallén
More information about the Python-list
mailing list