2009/1/28 Kent Johnson <[email protected]>: > On Tue, Jan 27, 2009 at 11:43 AM, Alexei Vinidiktov > <[email protected]> wrote: >> 2009/1/27 Kent Johnson <[email protected]>: >>> On Tue, Jan 27, 2009 at 11:24 AM, Alexei Vinidiktov >>> <[email protected]> wrote: >>>> 2009/1/27 Kent Johnson <[email protected]>: >>> >>>>> My best guess is that somehow Python is finding the wrong >>>>> encodings\aliases.py. >>>> >>>> I can't find an aliases.py file within the encodings folder. Should it be >>>> there? >>> >>> Yes, you should have a file >>> C:\Python25\Lib\encodings\aliases.py >>> >>> and presumably if it is missing, it should be restored by re-installing. >>> >> >> That's the problem. Reinstalling Python or even installing a different >> version doesn't install ...\Lib\encodings\aliases.py > > Very strange. What if you download it from here: > http://svn.python.org/view/python/branches/release25-maint/Lib/encodings/aliases.py?rev=51333&view=auto > > and put it into C:\Python25\Lib\encodings\ ?
Something very strange is happening on my system. After I downloaded the aliases.py file and saved it, I couldn't find it via the Explorer, but it was visible via an Open and Save dialog of some programs (such as Opera). I've conducted another experiment. I created several text files with a Notepad that contained text 'alia' in their names and none of them were visible after I had saved them to the disc. For example the files alia1.txt, alias.txt, aliases.txt, aliases2.txt, aliases.py.txt were all invisible in the Explorer, but the files ali.txt, ali1.txt were visible. I must add that I can see files that have an invisible attribute just fine in the Explorer. -- Alexei Vinidiktov _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
