We have moved to a new Sailfish OS Forum. Please start new discussions there.

Will python 3 or micropython ever be built in?

asked 2015-02-04 00:49:42 +0300

rdmo gravatar image

updated 2015-04-29 18:36:02 +0300

tl;dr The lack of built-in python was a big surprise.

Even with several stakeholders to the Jolla product but user-customers ought to be able to perceive they are somewhere near the top. It is not in Jolla Store. I know python is available as an add-on.

For me that's truly missing the point. Python (admittedly like bash, awk, sed, and friends already present) adds convenience and a staggering amount of mature programs in a public, long-supported place.

Please, include python by default in the updated Jolla experience.

If there are major blocks, please say what they are, or that they exist.

No Python in Jolla Store ~!== Synaptic

edit retag flag offensive close delete


considering that they cant even update the ancient sailfishos version on newly shipped jolla phones I would think that including python out-of-the-box isn't likely to happen today, or yesterday.

However, given that python apps are now allowed in harbour, its likely that they will include python in the normal tablet build.

r0kk3rz ( 2015-02-04 10:39:52 +0300 )edit

What extra value does that screenshot bring to your question?

Okw ( 2015-04-29 19:44:36 +0300 )edit

do you really need to keep bumping your questions without any more information?

r0kk3rz ( 2015-04-29 19:57:02 +0300 )edit

What difference having Python shipped by default will make to the end-user? Python is pulled automatically, without the user noticing, when installing an app that requires it: and that's how it should be done, IMHO.

SailfishOS is a Linux distribution, but it's still designed for embedded devices.

And anyway, from my point of view having Python (--> the interpreter) installable from the store is wrong: it may be interactive, but it still requires a terminal (which the user may not have) and it's pretty much useless, unless one does a QML interface to it (and that may be an idea for a 3rd-party app).

g7 ( 2015-04-29 20:01:00 +0300 )edit

The use? Satisfied customers. I am an end user who wants it. Might as well argue for not having any shell by that reasoning, @g7. I would have probably bought a Jolla if all it had was text mode and a camera/video player/editor. Instead there is prettiness misnamed usability, and too often features getting in the way of function. Call me crazy if you like.

rdmo ( 2015-04-29 21:34:50 +0300 )edit

2 Answers

Sort by » oldest newest most voted

answered 2015-02-04 08:29:59 +0300

keithzg gravatar image

Actually, Python applications are now allowed in Harbour:


So, application developers can write apps that rely on Python. If you just want to run python scripts or such yourself, then you probably have developer mode and fingerterm, in which case you can install Python from the repos.

So, although technically I guess it might still not ship with the phone itself as first installed, hey, it's actually quite deliberate that a fresh Jolla doesn't have many apps or libs installed! (I forget, is the music app even installed by default?) So no worries, Python and apps relying on Python are now treated as first-class citizens.

edit flag offensive delete publish link more

answered 2015-02-04 08:16:22 +0300

kormarun gravatar image

updated 2015-02-04 08:20:30 +0300

My Jolla has both python & python3. image description

edit flag offensive delete publish link more



The only GNU/Linux distribution I ever used that did not come with Python already aboard is this one. Likewise wrt makeand even pico. Grumble, grumble. I wouldn't buy a tablet with such hobbled features. I would probably try to get a tablet that comes with Blender, as that does have Python built in and a bit more besides.

rdmo ( 2015-03-23 22:49:27 +0300 )edit

I tried:

    [nemo@Jolla v6]$ rpm -qi python3 # package python3 is not installed
    [nemo@Jolla v6]$ which python3 ######## /usr/bin/python3 ########
    [nemo@Jolla v6]$ which python # which: no python ...

I think it might be because I installed gpodder.

Is there a command that can tell me when python3 came aboard my Jolla?

python3 at the shell prompt brings up the Python prompt.

rdmo ( 2015-05-19 18:05:16 +0300 )edit

>>> help("modules") ... CDROM aifc heapq rlcompleter DLFCN antigravity hmac runpy IN argparse html sched TYPES array http select __future__ ast imaplib selectors _ast asynchat imghdr setuptools _bisect asyncio imp shelve _bootlocale asyncore importlib shlex _bz2 atexit inspect shutil _codecs audioop io signal _codecs_cn base64 ipaddress site _codecs_hk bdb itertools smtpd _codecs_iso2022 binascii json smtplib _codecs_jp binhex keyword sndhdr _codecs_kr bisect lib2to3 socket _codecs_tw builtins linecache socketserver _collections bz2 locale spwd _collections_abc cProfile logging sqlite3 _compat_pickle calendar lzma sre_compile _crypt cgi macpath sre_constants _csv cgitb macurl2path sre_parse _ctypes chunk mailbox ssl _curses cmath mailcap stat _curses_panel cmd marshal statistics _datetime code math string _decimal codecs mimetypes stringprep _dummy_thread codeop mmap struct _elementtree collections modulefinder subprocess _functools colorsys multiprocessing sunau _hashlib compileall netrc symbol _heapq concurrent nis symtable _imp configparser nntplib sys _io contextlib ntpath sysconfig _json copy nturl2path syslog _locale copyreg numbers tabnanny _lsprof crypt opcode tarfile _markerlib csv operator telnetlib markupbase ctypes optparse tempfile _md5 curses os termios _multibytecodec datetime ossaudiodev textwrap _multiprocessing dbm parser this _opcode decimal pathlib threading _operator difflib pdb time _osx_support dis pickle timeit _pickle distutils pickletools token _posixsubprocess doctest pip tokenize _pyio dummy_threading pipes trace _random easy_install pkg_resources traceback _sha1 email pkgutil tracemalloc _sha256 encodings platform tty _sha512 ensurepip plistlib turtle _sitebuiltins enum poplib types _socket errno posix unicodedata _sqlite3 faulthandler posixpath unittest _sre fcntl pprint urllib _ssl filecmp profile uu _stat fileinput pstats uuid _string fnmatch pty venv _strptime formatter pwd warnings _struct fractions py_compile wave _symtable, etc.

rdmo ( 2015-05-19 19:05:46 +0300 )edit
Login/Signup to Answer

Question tools



Asked: 2015-02-04 00:49:42 +0300

Seen: 1,003 times

Last updated: Apr 29 '15