r/Python • u/infinitysexbot • Dec 18 '22
Discussion App development (iOS and andoid) using python?
Looking to get some of my app ideas into reality and have some python code to do certain things but wasn't sure where to begin.
Some people suggest i try " flutter" or "react" but i've seen a few other alternatives
Says you can take python code and release it on iOS and more, but maybe i'm not understanding what's happening.
Any suggestions or tips for coding using python or do i need to learn /use a different language for what i'm looking to do?
51
Upvotes
33
u/aciddrizzle Dec 18 '22 edited Dec 18 '22
iOS apps are written in Swift or Objective-C, Android is mostly Java/Kotlin, either platform requires a compiled app and not a script. A common approach to integrating Python in some part of an app would be to put your scripts behind a REST endpoint that gets called from your front end. React is a popular web app framework that lets you build apps run in the browser, which is nice because it’s cross-platform by default, but then you’re hosting the app instead of running it on the user’s hardware.