Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
IDE GUI Python 3.5.1 for Mac OS X 10.11
-
@ccc Just FYI, that shebang will also work just fine on Windows. In fact the Windows version of Python is very liberal regarding shebangs. Because they are not a feature of Windows, Python comes with a "Python Launcher" (
py.exe
) which is assigned as the default program for.py
files. When youstart
a Python script, the Python launcher checks for a shebang and then basically looks for the wordpython
optionally followed by a version number to figure out which Python version should be used. That's why some Windows people write#!python
at the top of their scripts - it works for them. On Unixes it doesn't, because the shebang needs to be an absolute path.Long story short, use
#!/usr/bin/env python
and you'll be fine. -
If I'm not too late to the game, I have been using Interactive Editor for Python as my main "IDE" for coding Python on my Mac (it works on all platforms). It works very similarly to Pythonista: editor; file browser; interactive console; and other really nice tools. I particularly like the workspace tool, which showed you all of your currently instanciated stuff.
-
@dgelessus I think the reason why JavaScript is still used over Lua is that you can't really build web applications easily with Lua. You can do plenty of back-end stuff with Lua, but the front-end is all JavaScript. If you know what the peculiarities of a language are, it's not hard to work around.