Reading a file in IDLE 3 on Mac-Lion

Franck Ditter franck at ditter.org
Sat Sep 22 03:30:57 EDT 2012


In article <505ccdc5$0$6919$e4fe514c at news2.news.xs4all.nl>,
 Hans Mulder <hansmu at xs4all.nl> wrote:

> On 21/09/12 16:29:55, Franck Ditter wrote:
> > I create a text file utf-8 encoded in Python 3 with IDLE (Mac Lion).
> > It runs fine and creates the disk file, visible with
> > TextWrangler or another.
> > But I can't open it with IDLE (its name is greyed).
> > IDLE is supposed to read utf-8 files, no ?
> > This works on Windows-7.
> 
> There's a little pop-menu below the list of files.
> 
> It allows you to choose which kind of files you want to open.
> By default, it is set to "Python files", which greys out all
> files, except those with a '.py' or '.pyw' extension.
> Setting it to "Text files" should help, or else try "All files".
> 
> Hope this helps
> 
> -- HansM

Alas this pop-up menu is for Windows only, I don't
find it on MacOS-X. My files are xxx.dat files and not visible,
even text only (numeric data).
This can be filed as something to do !
Thanks,

    franck



More information about the Python-list mailing list