Shebang and Coding
r4lf last edited by
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,
ccc last edited by
This is a Pythonista bug http://omz-forums.appspot.com/pythonista/post/5183699108757504