Just make sure your module is saved in the same folder first the just type From followed by the name of your module and import your function then you can just print or do what ever you want with the module. Also you can just import the whole module by importing it.
Read moreCan I code Python in mobile?
Python can run on Android through various apps from the play store library . This tutorial will explain how to run python on Android using Pydroid 3 – IDE for Python 3 application. Features : Offline Python 3.7 interpreter: no Internet is required to run Python programs.
Read moreWhat projects can you make with Python?
List of some more python projects to try out:
Read moreCan I use PyCharm in Android?
PyCharm is not available for Android but there are some alternatives with similar functionality. The best Android alternative is kodeWeave, which is both free and Open Source.
Read moreHow do I run Python on my laptop?
Follow the following steps to run Python on your computer.
Read moreCan you use Python in Android Studio?
So, if your question is “Can I make an Android app with Python?”. My answer to this question is a Yes. You can definitely develop an Android app using Python . And this thing is not only limited to python, you can in fact develop Android applications in many more languages other than Java.
Read moreWhat can I do with Pydroid 3?
Pydroid is a minimalist Python 3 interpreter that lets you execute minor projects and do minimal coding on your Android device . If you also want to learn Python programming anywhere without a PC, while replicating the PC platform for Python on Android, Pydroid 3 is the right app to try out.11 Eki 2020
Read more