Home > other >  Is it possible to create program with python and also run it on iPhone?
Is it possible to create program with python and also run it on iPhone?

Time:06-09

create an app with python and then I can create a mobile app with it to run on iPhone or more?

CodePudding user response:

You can use replit (an online ide) to write code online, or use the replit app, but I'm not sure if there is an app for ios

CodePudding user response:

Mobile development

Python doesn’t have built-in mobile development capabilities, but there are packages you can use to create mobile applications, like Kivy, PyQt, or even Beeware’s Toga library.

  • Kivy - Open source Python library for rapid development of applications that make use of innovative user interfaces, such as multi-touch apps. Kivy does not attempt to use native controls or widgets. All of its widgets are custom-drawn. This means that Kivy applications will look the same across all platforms. However, it also means that your app’s look and feel will differ from your user’s native applications. This could be a benefit or a drawback, depending on your audience.
  • PyQt - is a set of Python bindings for The Qt Company's Qt application framework and runs on all platforms supported by Qt including Windows, macOS, Linux, iOS and Android. PyQt6 supports Qt v6, PyQt5 supports Qt v5 and PyQt4 supports Qt v4. The bindings are implemented as a set of Python modules and contain over 1,000 classes.
  • Toga - is a Python native, OS native, cross platform GUI toolkit. Toga consists of a library of base components with a shared interface to simplify platform-agnostic GUI development.

References

  1. Build a Mobile Application With the Kivy Python Framework
  2. What is PyQt?
  3. Toga
  • Related