A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-April/003768.html below:

[Python-Dev] fun with unicode, part 1

[Python-Dev] fun with unicode, part 1 [Python-Dev] fun with unicode, part 1Fredrik Lundh fredrik@pythonware.com
Thu, 27 Apr 2000 13:49:07 +0200
> Fredrik Lundh wrote:
> >=20
> > >>> filename =3D u"gr=F6t"
> >=20
> > >>> file =3D open(filename, "w")
> > >>> file.close()
> >=20
> > >>> import glob
> > >>> print glob.glob("gr*")
> > ['gr\303\266t']
> >=20
> > >>> print glob.glob(u"gr*")
> > [u'gr\366t']
> >=20
> > >>> import os
> > >>> os.system("dir gr*")
> > ...
> > GR=C7=F4T                    0  01-02-03  12.34 gr=C7=F4t
> >          1 fil(es)              0 byte
> >          0 dir         12 345 678 byte free
> >=20
> > hmm.
>=20
> Where is the problem ?

I'm speechless.

</F>




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4