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