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/2010-March/098057.html below:

[Python-Dev] __file__

[Python-Dev] __file__ [Python-Dev] __file__Greg Ewing greg.ewing at canterbury.ac.nz
Mon Mar 1 06:21:52 CET 2010
Glenn Linderman wrote:

> If your text editor blows up because it is binary, it is a sad text editor.

Blow up is probably an exaggeration, but even just getting
a screen full of gibberish when I think I'm opening a
text file is a jarring experience.

> If you have .py mapped to a text editor, that's sort of kooky too; I 
> have it mapped to Python.

On Windows the action for double-clicking is usually
mapped to running the file, but there's typically another
action such as "Open with IDLE" or whatever available,
and a bytecode file named with ".py" would allow you to
apply that action to it.

-- 
Greg
More information about the Python-Dev mailing list

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