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/003756.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 Lundh" <effbot@telia.com
Wed, 26 Apr 2000 23:45:40 +0200
>>> filename =3D u"gr=F6t"

>>> file =3D open(filename, "w")
>>> file.close()

>>> import glob
>>> print glob.glob("gr*")
['gr\303\266t']

>>> print glob.glob(u"gr*")
[u'gr\366t']

>>> 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

hmm.

</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