GSM Shop GSM Shop
GSM-Forum  

Welcome to the GSM-Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features.
Only registered members may post questions, contact other members or search our database of over 8 million posts.

Registration is fast, simple and absolutely free so please - Click to REGISTER!

If you have any problems with the registration process or your account login, please contact contact us .

Go Back   GSM-Forum > GSM & CDMA Phones / Tablets Software & Hardware Area > Android based Phones / Tablets > Android Development and Modding

Reply
 
LinkBack Thread Tools Display Modes
Old 08-22-2020, 13:56   #1 (permalink)
Moderator
 
gsm mithun roy's Avatar
 
Join Date: Mar 2011
Location: metasploit
Age: 29
Posts: 3,861
Member: 1537689
Status: Offline
Sonork: 100.1669550
Thanks Meter: 2,187
How to run Python apps on any platform


Before you dive into how to run Python, you first need to install the Python interpreter on your machine. You can find that from the below links:-

* Windows https://www.python.org/downloads/windows/

*Mac https://www.python.org/downloads/mac-osx/
*Linux https://www.python.org/downloads/source/

But this is only going to show you how to install the interpreter. This teaches your computer to understand Python, but it doesnít give you anywhere to type and run apps.

Except that isnít strictly true. Once youíve installed this package, look for the program called Python Shell. This gives you a shell where you can type Python commands directly and have them run instantly. As soon as you press return, whatever statement you used will run.

But go to File > New File and you will be able to create a new .py file! Enter some code here, then go to: Run > Run Module. Youíll be prompted to save your file as a module (a compact piece of Python code that can be run from other scripts) and from there your app will run!
That is how to run Python files.

Conversely, you can also run Python files using a number of different IDEs or editors. An IDE is an integrated development environment, which gives you an interface you can use to enter your code, test your apps, and see any errors you may have made while typing it out.

# How to run Python on mobile #

If you want to run Python on mobile, one of the easiest options is simply to download an IDE on your chosen platform. There is no need to download a separate interpreter, you can simply download the app and start typing and running your Python code. Two great options are:

*iOS *Python3IDE http://https://apps.apple.com/gb/app...e/id1357215444
*Android*QPython 3L http://https://play.google.com/store...hon.qpy3&hl=en

If you want to make apps that you can distribute on mobile using Python though, youíll probably want to use Kivy. Kivy is an open source library for rapid cross-platform development. It supports multi-touch, an OpenGL ES 2 graphics engine, and other useful features for mobile development and is completely free to use.

So there you go! Thatís how to run Python on a variety of platforms. Of course, youíll need to do some tinkering to get some of these options to work (like web or mobile apps), but this post should have given you a good idea of where to start.

And now you know how to use your Python code, perhaps youíre ready to start building some apps? In that case, you should check out free guide
__________________
To get Instant help use "search" & follow "sticky thread"..!!!
By respecting/following forum rules,
You will be respected .!
Best Wishes :


.:::Roy:::.
  Reply With Quote
Old 04-03-2021, 05:18   #2 (permalink)
Junior Member
 
Join Date: Mar 2021
Location: Philippines
Age: 37
Posts: 9
Member: 2984914
Status: Offline
Thanks Meter: 0
Thank you for this information!
  Reply With Quote
Old 04-03-2021, 05:30   #3 (permalink)
Junior Member
 
Join Date: Mar 2021
Location: Philippines
Age: 37
Posts: 9
Member: 2984914
Status: Offline
Thanks Meter: 0
Thank you for this information!
  Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 



All times are GMT +1. The time now is 19:05.



Powered by Searchlight © 2021 Axivo Inc.
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2021 DragonByte Technologies Ltd.
- GSM Hosting Ltd. - 1999-2017 -
Page generated in 0.11078 seconds with 7 queries

SEO by vBSEO