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.
Shebang and Coding
-
Hi everybody,
I am using dropbox sync to write code I can run on both my iPad and my computer.
I run into a problem when I try to specify a shebang and a coding at the same time.E.g. the code
#! /usr/bin/env python2 # -*- coding: utf-8 -*- print("â")
does not run on Pythonista ("Encoding Warning"). Pythonista seems to need the 'coding' on the first line, but then my computer uses the wrong interpreter.
Is there any other way to achieve this?
Loads of greetings from Paris,
-Ralf
-
This is a Pythonista bug http://omz-forums.appspot.com/pythonista/post/5183699108757504