What's the future of Python on mobile platforms?

Real Python · Beginner ·🛠️ AI Tools & Apps ·8y ago

Key Takeaways

The video discusses the future of Python on mobile platforms, highlighting projects like Kivy and BeeWare that enable cross-platform and native UI development for mobile applications.

Full Transcript

what's the future of Python on mobile platforms really interesting question that I got from a reader in this video I want to share some my thoughts on this topic so let's jump right in I want to show you some projects that I think are relevant to this question so number one is a framework called key B and it is a cross-platform open-source Python library for developing applications that also work on mobile devices that work on all kinds of operating systems and it's a very cool project so the purpose of kevie is to enable you to build graphical user interfaces that work on many different platforms using Python here on the website you can see some examples of people have built in terms of graphical user interfaces or little games and in graphical applications using kiwi and Python so keavy gives you some standard controls and some graphical primitives or UI primitives that will look the same on any platform and you can use it to build applications that work on mobile phones desktop computers and so on that's kind of the big advantage of using TV the biggest downside in my opinion is that these application will not look very native so there are some built-in UI elements that you can use but they they look the same they look the same across all platforms which we're just kind of a pro and a con at the same time so with kevie you're getting different UI elements like buttons and text fields that look the same across many different platforms because they're all implemented custom or implemented specifically for k.v and that means your application is going to look the same on a mobile phone and on a desktop computer in terms of the way to look the UI looks now this could be a good thing or a bad thing kind of the biggest downside here is that your application won't really look like the native like a native application would on the operating system and you can see that used here too to great effect or to really positive effect in an application like eco where it's like an external multi-touch control for for making music and here the custom UI works really well you know you don't really expect us to look like the standard buttons on your desktop computer but for some other applications it might be kind of the opposite of what you want to do so Kibby can be great choice but it has some upsides and downsides associated with it it's gonna be interesting to see how this develops in the future and you know what new features are going to be introduced here but it's certainly gonna play a big role in the future of Python or in pythons future in the mobile development space now another project that I'm really excited about is the be ware project and this is kind of a collection of different frameworks tools and libraries that you can use to implement native UIs across multiple platforms so on the website there's there's a good primer here where they tell you about what you can do with beware and took me a while to find this actually but really this is an abstraction layer you can use to write native iOS apps native Android apps and native desktop apps using Python and it's kind of cool so what what the be where are parts of the beware project allow you to do is to write applications that look exactly like they should on a specific platform so an iOS application reading with written with PI B or this beware project it's gonna use the native controls and it's going to look like a first-class application on that platform it's gonna be the same with an Android application or a Windows application or a Mac OS application those applications build with the be ware project they're all gonna have this native look and feel and I'm really excited about that because I really believe that whatever application you build it should take into account how the underlying platform works the platform where you want this to run on it should feel native to that platform so the PI B project I think is very very exciting it's kind of still in the early stages but it is a very very cool project and I'm excited about the future developments here it's open source you can contribute to it it's the same with TV so if you're interested in mobile development with Python and you want to make the future better there now is the time to join join these projects and to jump in and to do something great for the Python world so in summary I think the future for Python in the mobile space is looking bright or let's say because right now it's in my opinion it's not very bright I mean if if I were to write a mobile application today my first choice would not be to do it in Python to be honest but this can change in the future and I think especially with the adoption that we're seeing with Python at the moment there's gonna be a pretty good reason to to go and see if we can enable people to write really great-looking native looking applications using Python and project projects like kV and PI B or the beware project here they're doing a great deal to make that future happen all right if you have a Python question that you would like me to tackle in a future video and then just leave a comment below be sure to LIKE and subscribe

Original Description

https://dbader.org/python-tricks ► Write better Python code with these short & actionable tips Historically Python didn't have a strong story when it came to mobile (iOS/Android) development. In this video I'll discuss a question that I got from a reader: "What's the future of Python on mobile platforms?" We'll go over Python GUI toolkits you can use to enable your applications to work on mobile platforms as well. You'll learn about Kivy and the Beeware project that will enable you to write iPhone and Android applications using your Python programming skills without learning another language like Swift or Java for this purpose. Got a question you'd like to me to discuss? Leave a comment with your Python or general software dev question on this video and I'll try to cover it question in one of the next "#PythonQ&A" videos. Full playlist here: https://www.youtube.com/playlist?list=PLP8GkvaIxJP2Z1rqBxlWmqYmhJ9vG2Jm_ FREE COURSE – "5 Thoughts on Mastering Python" https://dbader.org/python-mastery SUBSCRIBE TO THIS CHANNEL: https://dbader.org/youtube * * * ► Python Developer MUGS, T-SHIRTS & MORE: https://nerdlettering.com ► PythonistaCafe – A peer-to-peer learning community for Python developers: https://www.pythonistacafe.com FREE Python Coding Tutorials & News: » Python Tutorials: https://dbader.org » Python News on Twitter: https://twitter.com/@dbader_org » Weekly Tips for Pythonistas: https://dbader.org/newsletter » Subscribe to this channel: https://dbader.org/youtube
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Real Python · Real Python · 0 of 60

← Previous Next →
1 A better Python REPL – bpython vs python interpreter
A better Python REPL – bpython vs python interpreter
Real Python
2 Introducing large-type.com – A Utility Website
Introducing large-type.com – A Utility Website
Real Python
3 Reading Hacker News Without Wasting Tons of Time
Reading Hacker News Without Wasting Tons of Time
Real Python
4 Forward References and Python 3 Type Hints
Forward References and Python 3 Type Hints
Real Python
5 Using Sublime Text as your Git Editor
Using Sublime Text as your Git Editor
Real Python
6 Python Code Linting and Auto-Complete for Sublime Text
Python Code Linting and Auto-Complete for Sublime Text
Real Python
7 Make your Python Code More Readable with Custom Exceptions
Make your Python Code More Readable with Custom Exceptions
Real Python
8 Write Better Tests with Sublime Text's Split Layout Feature
Write Better Tests with Sublime Text's Split Layout Feature
Real Python
9 How to Use Sublime Text from the Command Line
How to Use Sublime Text from the Command Line
Real Python
10 Rename Variables with Multiple Selection in Sublime Text
Rename Variables with Multiple Selection in Sublime Text
Real Python
11 Sublime Text Settings for Writing PEP 8 Python
Sublime Text Settings for Writing PEP 8 Python
Real Python
12 Write Cleaner Python with Sublime Text's Indent Guides
Write Cleaner Python with Sublime Text's Indent Guides
Real Python
13 Sublime Text Whitespace Settings for Python Development
Sublime Text Whitespace Settings for Python Development
Real Python
14 Function Argument Unpacking in Python
Function Argument Unpacking in Python
Real Python
15 Python Code Review: Debugging and Refactoring "Conway's Game of Life" +  Automated Tests
Python Code Review: Debugging and Refactoring "Conway's Game of Life" + Automated Tests
Real Python
16 Using "get()" to Return a Default Value from a Python Dict
Using "get()" to Return a Default Value from a Python Dict
Real Python
17 A Python Shorthand for Swapping Two Variables
A Python Shorthand for Swapping Two Variables
Real Python
18 Python Code Review: Refactoring a Web Scraper, PEP 8 Style Guide Compliance, requirements.txt
Python Code Review: Refactoring a Web Scraper, PEP 8 Style Guide Compliance, requirements.txt
Real Python
19 Click & Jump to Test Failures from the Command Line (iTerm2)
Click & Jump to Test Failures from the Command Line (iTerm2)
Real Python
20 Setting up Sublime Text for Python Developers
Setting up Sublime Text for Python Developers
Real Python
21 Sublime Text + Python Guide Overview
Sublime Text + Python Guide Overview
Real Python
22 Python Code Review: Adding Pytest Tests to an Existing Python Web Scraper
Python Code Review: Adding Pytest Tests to an Existing Python Web Scraper
Real Python
23 Type-Checking Python Programs With Type Hints and mypy
Type-Checking Python Programs With Type Hints and mypy
Real Python
24 A Shorthand for Merging Dictionaries in Python 3.5+
A Shorthand for Merging Dictionaries in Python 3.5+
Real Python
25 Python Code Review Flask Web Security Tutorial + Virtualenvs, requirements.txt
Python Code Review Flask Web Security Tutorial + Virtualenvs, requirements.txt
Real Python
26 My Python Code Looks Ugly and Confusing – Help!
My Python Code Looks Ugly and Confusing – Help!
Real Python
27 Setting Up a Programmer Portfolio/Developer Blog – How To Get Started
Setting Up a Programmer Portfolio/Developer Blog – How To Get Started
Real Python
28 Do I Need a GitHub/GitLab/Bitbucket Profile as a Developer?
Do I Need a GitHub/GitLab/Bitbucket Profile as a Developer?
Real Python
29 Programmer Portfolio – Example and Walkthrough
Programmer Portfolio – Example and Walkthrough
Real Python
30 How to Get Your 1st Speaking Gig at a Tech Conference
How to Get Your 1st Speaking Gig at a Tech Conference
Real Python
31 How to Build Your Public Speaking Skills as a Developer
How to Build Your Public Speaking Skills as a Developer
Real Python
32 The Object-oriented Version of "Spaghetti Code" is "Lasagna Code" ?!
The Object-oriented Version of "Spaghetti Code" is "Lasagna Code" ?!
Real Python
33 Setting up Sublime Text for Python Developers – Lesson #1
Setting up Sublime Text for Python Developers – Lesson #1
Real Python
34 Cool New Features in Python 3.6
Cool New Features in Python 3.6
Real Python
35 "is" vs "==" in Python – What's the Difference? (And When to Use Each)
"is" vs "==" in Python – What's the Difference? (And When to Use Each)
Real Python
36 Emulating switch/case Statements in Python with Dictionaries
Emulating switch/case Statements in Python with Dictionaries
Real Python
37 Python Function Argument Unpacking Tutorial (* and ** Operators)
Python Function Argument Unpacking Tutorial (* and ** Operators)
Real Python
38 What Code Should I Put On My GitHub/GitLab/BitBucket Profile?
What Code Should I Put On My GitHub/GitLab/BitBucket Profile?
Real Python
39 A Crazy Python Dictionary Expression ?!
A Crazy Python Dictionary Expression ?!
Real Python
40 String Conversion in Python: When to Use __repr__ vs __str__
String Conversion in Python: When to Use __repr__ vs __str__
Real Python
41 Method Types in Python OOP: @classmethod, @staticmethod, and Instance Methods
Method Types in Python OOP: @classmethod, @staticmethod, and Instance Methods
Real Python
42 Optional Arguments in Python With *args and **kwargs
Optional Arguments in Python With *args and **kwargs
Real Python
43 Python Context Managers and the "with" Statement (__enter__ & __exit__)
Python Context Managers and the "with" Statement (__enter__ & __exit__)
Real Python
44 Installing Python Packages with pip and virtualenv / venv
Installing Python Packages with pip and virtualenv / venv
Real Python
45 "For Each" Loops in Python with enumerate() and range()
"For Each" Loops in Python with enumerate() and range()
Real Python
46 Python Code Review: LibreOffice Automation and the Python Standard Library
Python Code Review: LibreOffice Automation and the Python Standard Library
Real Python
47 Managing Python Dependencies With Pip and Virtual Environments – Lesson #1
Managing Python Dependencies With Pip and Virtual Environments – Lesson #1
Real Python
48 Python Tutorial: List Comprehensions Step-By-Step
Python Tutorial: List Comprehensions Step-By-Step
Real Python
49 Leveraging Python's Implicit "return None" Statements
Leveraging Python's Implicit "return None" Statements
Real Python
50 What's the meaning of underscores (_ & __) in Python variable names?
What's the meaning of underscores (_ & __) in Python variable names?
Real Python
51 Python Data Structures: Sets, Frozensets, and Multisets (Bags)
Python Data Structures: Sets, Frozensets, and Multisets (Bags)
Real Python
52 Writing automated tests for Python command-line apps and scripts
Writing automated tests for Python command-line apps and scripts
Real Python
53 How to find great Python packages on PyPI, the Python Package Repository
How to find great Python packages on PyPI, the Python Package Repository
Real Python
54 Immutable vs Mutable Objects in Python
Immutable vs Mutable Objects in Python
Real Python
55 PyPI vs Warehouse, the Next-Generation Python Package Repository
PyPI vs Warehouse, the Next-Generation Python Package Repository
Real Python
56 pep8.org — The Prettiest Way to View the PEP 8 Python Style Guide
pep8.org — The Prettiest Way to View the PEP 8 Python Style Guide
Real Python
57 My Experience at PyCon 2017 in Portland
My Experience at PyCon 2017 in Portland
Real Python
58 Pylint Tutorial – How to Write Clean Python
Pylint Tutorial – How to Write Clean Python
Real Python
59 "Reverse a List in Python" Tutorial: Three Methods & How-to Demos
"Reverse a List in Python" Tutorial: Three Methods & How-to Demos
Real Python
60 Python Refactoring: "while True" Infinite Loops & The "input" Function
Python Refactoring: "while True" Infinite Loops & The "input" Function
Real Python

The video explores the potential of Python on mobile platforms, discussing Kivy and BeeWare as promising projects for cross-platform and native UI development. These projects enable developers to build applications that work on multiple platforms, including mobile devices and desktop computers.

Key Takeaways
  1. Explore Kivy for cross-platform development
  2. Use BeeWare for native UI implementation
  3. Contribute to open-source projects like Kivy and BeeWare
  4. Build mobile applications with Python
  5. Design native-looking UIs for mobile applications
💡 The future of Python on mobile platforms looks promising with projects like Kivy and BeeWare, which enable developers to build cross-platform and native UI applications.

Related Reads

Up next
Clicky AI Telugu 🔥 Control Your Computer with Voice | Best Free AI Tool 2026
Withmesravani_
Watch →