Python for ipad os

Pythonista 3 4+

I’m a full time developer and I don’t know what I would do without Pythonista. For one, twice a week I go to our local hospital for my allergy shot. I have to sit there for 30 minutes after the shot. With Pythonista, I bring my iPad and I can keep on working on my Python apps that I’m creating.
I get tired sitting at the computer. I can head over to the couch to sit with my pups, but on Big Bang Theory, and keep on working.
Go outside on nice day, sit at the patio table and keep on programming.
One one request. I know a lot of people prefer Git. I hate Git now that Microsoft purchased it. I use OpenSource Fossil. It would be GREAT to have the feature to be able to clone a repository using Fossil. I know there are a lot more people using Git. But, finger crossed if you add the feature, one more people would be aware how fantastic Fossil is and might start using and supporting OpenSource Fossil. Thanks in advance for any consideration on the Fossil feature!

This App Got Me Into Programming

I started using this app when I was 12 on my iPad that I had as a kid. The app is amazing, and has custom modules that let you control your device and create custom apps and such. It’s got UI modules, full access to documentation, and all the normal python modules. Even better, it works entirely offline. This app singlehandly allowed me to program things when and where I wanted, and allowed me to become a skilled programmer getting a degree in computer science. As far as mobile IDEs go, it’s the absolute best. In addition, there’s a community that creates tons of incredible programs that enhance the IDE, such as GitHub support, and even a fully functional bash terminal complete with pip so that you can install your own custom modules. It really is the best app on iOS for programming, and I would recommend it to anybody looking to try out programming. It’s well worth it’s price tag.

Excellent tool for on the go Python

I usually don’t write reviews, but I felt compelled to for this gem of an app. I regularly program on the side for fun and automation. I’ve used Pythonista to automate tasks on my phone, prototype programs for my Windows and Linux computers, and built silly games to play for fun. I’ve used Python at work to drastically speed up our workflows by several hours, which has been a life saver and even garnered me a raise. Not only was Pythonista an indispensable tool for prototyping those programs, but it has allowed me the opportunity to improve my skills on the go. There are some limitations I wish didn’t exist, but this is because of Apple, not the developers. The developers have gone above and beyond to implement extra libraries and integrate Pythonista with iOS. If you’re looking for a good iOS Python app or want to learn Python on the go, I highly recommend this app!

App Privacy

The developer, omz:software , indicated that the app’s privacy practices may include handling of data as described below. For more information, see the developer’s privacy policy.

Читайте также:  Автоматический запуск скрипта питон

Data Not Collected

Information

Compatibility iPhone Requires iOS 12.0 or later. iPad Requires iPadOS 12.0 or later. iPod touch Requires iOS 12.0 or later. Mac Requires macOS 11.0 or later and a Mac with Apple M1 chip or later.

Источник

Download Python for Other Platforms

Python has been ported to a number of specialized and/or older platforms, listed below in alphabetical order. Note that these ports often lag well behind the latest Python release.

Python for AIX

AIX binary packages for Python3 and Python2 are provided by AIXTOOLS for no-charge. The packages are supplied in installp format (not RPM format). There are no pre-requisites other than a recent version of openssl.base.

See the AIXTOOLS wiki for additional details. The download page for Python 3 is at http://www.aixtools.net/index.php/python3 and the download page for Python 2 is at http://www.aixtools.net/index.php/python2.

For issues concerning the installation of AIXTOOLS packaging of Python please post your issue at http://forums.rootvg.net/aixtools.

`_ is a port to the `Amiga Research OS `_. Tim Ocock maintains `AmigaPython `_. Older versions of Python for the Amiga can be found at `Aminet `_. —> `_. For all Python-related stuff on BeOS, `search here `_. —>

Python for IBM i (formerly AS/400, iSeries)

Both Python 2 and Python 3 are available from IBM in RPM form. They can be installed with the yum package manager or with the IBM i Access Client Solutions product. To get started with RPM-based open source packages for IBM i, visit http://ibm.biz/ibmi-rpms.

These RPM packages require a version of IBM i in active (not extended) support. Alternatively, http://www.iseriespython.com hosts an IBM i port of Python 2.7, ported by Per Gummedal, which can also be run on older versions of the operating system.

Python for iOS and iPadOS

Pythonista is a complete development environment for writing Python scripts including third-party libraries and system integration on your iPad or iPhone.

Pyto also provides a complete development environment for running Python 3 including many third-party libraries and system integration on an iPad or iPhone.

`_. —> `_, built on the DJGPP platform, is also available. —> `_. —>

Python for OS/390 and z/OS

Rocket Software provides a port of Python for z/OS. They support both Python 2 and Python 3.

`_. —> `__ once completed a port of Python to the Sony PlayStation 2. Contact him for more info. —> `__. It has most modules running and can even use the PSP’s built in wifi, albeit awkwardly. —> `_. —> `_ —>

Python for RISC OS

Python is available for RISC OS, and can be obtained using the PackMan package manager.

`__ can be found at archive.org. This page also includes some pre-ported external libraries as well as RISC OS specific extensions and documentation, written by Dietmar Schwertberger. —> `_. There are downloads available at ` `_. —>

Python for Solaris

You can purchase ActivePython (commercial and community versions, including scientific computing modules, not open source), or build from source if you have a C compiler.

UNIX Packages has a variety of Python versions for a variety of Solaris versions. These use the standard Sun pkgadd.

Python for UEFI Environment

Standard CPython version 3.6.8 port for the Unified Extensible Firmware Interface (UEFI) shell environment is available through the Tianocore open source project. This provides the standard Python scripting capabilities on UEFI environment, helping the UEFI based firmware and platform developer community to use it for platform, firmware validation, debug and the like. Python for UEFI source code and build instructions are available here.

Currently build support is enabled using VS2019 and GCC5 tool chains for x86 and x64 bit platforms.

Python for VMS

Python for HP-UX

You can purchase ActivePython (commercial and community versions, including scientific computing modules, not open source)

Alternate Python packages for Linux

You can purchase ActivePython (commercial and community versions, including scientific computing modules, not open source)

The PSF

The Python Software Foundation is the organization behind Python. Become a member of the PSF and help advance the software and our mission.

  • About
    • Applications
    • Quotes
    • Getting Started
    • Help
    • Python Brochure
    • All releases
    • Source code
    • Windows
    • macOS
    • Other Platforms
    • License
    • Alternative Implementations
    • Docs
    • Audio/Visual Talks
    • Beginner’s Guide
    • Developer’s Guide
    • FAQ
    • Non-English Docs
    • PEP Index
    • Python Books
    • Python Essays
    • Diversity
    • Mailing Lists
    • IRC
    • Forums
    • PSF Annual Impact Report
    • Python Conferences
    • Special Interest Groups
    • Python Logo
    • Python Wiki
    • Code of Conduct
    • Community Awards
    • Get Involved
    • Shared Stories
    • Arts
    • Business
    • Education
    • Engineering
    • Government
    • Scientific
    • Software Development
    • Python News
    • PSF Newsletter
    • PSF News
    • PyCon US News
    • News from the Community
    • Python Events
    • User Group Events
    • Python Events Archive
    • User Group Events Archive
    • Submit an Event
    • Developer’s Guide
    • Issue Tracker
    • python-dev list
    • Core Mentorship
    • Report a Security Issue

    Источник

    Pythonista. Пишем на Python для iOS

    Планшет iPad от компании Apple — всем известное и не нуждающееся в рекламе устройство. Но очень часто хочется использовать всю мощь этого устройства не только для игр и развлечения, а для серьёзной работы. Например для написания программ. Несмотря на 4-x летнею историю развития этого гаджета и наличие разных моделей удобных сред для программирования под iOS существует крайне мало. (Оговорюсь сразу, во избежании дальнейшей путаницы: программирование на iOS — значит написание кода и запуск программы на iPad или iPhone, а программирование для iOS — написание приложения, которое может быть выложено в App Store.)

    Недавно я наткнулся на великолепную программку Pythonista, которая позволяет писать на iOS для iOS.

    Краткое описание

    И это действительно так. Программа является лучшим компилятором для Python.

    На мой взгляд, лучшим это приложение делают 3 вещи:

    • Не нужно интернет-подключение для запуска программы. iPad действительно становиться рабочей станцией;
    • Есть всплывающие подсказки и встроенная документация (опять же без доступа к интернету);
    • И, конечно, самое главное, это возможность экспорта в XCode.

    Обзор

    Среда ориентирована на Python 2.7. Но есть и некоторые фишки из 3-й ветки. Например, сработает и такой код:

    Кроме стандартных библиотек, есть несколько библиотек для непосредственной разработки для iOS. Остановлюсь на одной. Она называется ui и отвечает за GUI.

    Рассмотрим несколько примеров работы с этой библиотекой. Очень интересно, что в Pythonista графический интерфейс можно задавать программно, а можно нативно:

    import ui def button_tapped(sender): sender.title = 'Hello' view = ui.View() # [1] view.name = 'Demo' # [2] view.background_color = 'white' # [3] button = ui.Button(title='Tap me!') # [4] button.center = (view.width * 0.5, view.height * 0.5) # [5] button.action = button_tapped # [6] view.add_subview(button) # [7] view.present('sheet') # [8] 

    Это первый пример по работе с библиотекой ui. Разберём программу построчно:

    1) Сначала создаём объект View;
    2) Потом задаём имя этого объекта, оно будет отображаться в его заголовке;
    3) Устанавливаем цвет фона объекта — белый, можно задавать словом, а можно при помощи RGB;
    4) Создаём кнопку с надписью «Tap me!»;
    5) Размещаем кнопку на объекте;
    6) Задаём функцию, которая будет выполняться при нажатии на кнопку. (В данном случае изменится надпись на кнопке);
    7) Уточняем, что «button» является наследником «view»;
    8) Наконец, вызываем метод view.present() для отображения объекта на экране iOS устройства.

    Вот что будет происходить на айпаде:

    imageimage

    Но тоже самое можно сделать и нативно:

    image

    2) Открыв UI, нажмем на кнопку «+» и выберем button:

    image

    3) Растянем кнопку и разместим её по центру экрана:

    image

    4) Откроем атрибуты кнопки и зададим функцию, срабатывающую при её нажатии:

    imageimage

    4) Перейдём в редактор скрипта и напишем функцию:

    def button_tapped(sender): sender.title = 'Hello' 

    Скажем, к какому UI привязать данный скрипт:

    ui.load_view('My UI').present('sheet') 

    image

    5) Запустим программу:

    imageimage

    В завершение

    В завершение хочу сказать, что представленный мною обзор далеко не полон и не раскрывает всех функций этой программы. Множество примеров, отличное описание библиотек — всё это позволит довольно быстро разобраться во всех свойствах этого приложения.

    Рекомендую посетить сайт создателей Pythonista. На нём есть документация , к сожалению, только на английском языке.

    UPD: Читайте мою статью посвящённую этой программе и автоматизации iOS в февральском номере журнала ][акер

    Источник

Оцените статью