Python Forum
Portability in Python and Java
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Portability in Python and Java
#1
Hello All, I am working on a freelance project which is based on python and java both and I am good at java. I want to know which programming language has more portable for running the code. According to this post, Any device capable of running a JVM (Java Virtual Machine) is capable of running a Java Code but not an idea about python? Can anyone tell me about python?
Reply
#2
Portability of Python is now ok,it depend of what the goal is.
Linux and Mac ship with Python pre-installed on Windows have to install Python.
Python ship with pip then can use PyPi to install one the 384,771 projects.

An other way is to ship a stand alone(no need for Python pre-installed) with using eg,
Pyinstaller, cx_Freeze, Briefcase, Nuitka, PyOxidizer, List of tools

For Data Science/Python there are many way eg using NoteBooks is a central way to show/distribute code.
Can i share a Notebook(Google Colab) like this one, so can look at code and also run it.

For web app/sites using Flask, Django and the is normal to use a host eg Heroku, DigitalOcean...ect.
Then the availability is everywhere as long has network and a Browser.

For Mobil Python for Mobile App Development in 2022 – Kivy Vs BeeWare
I tested KivyMD i while ago and was able to make good looking test app(as Material Design is default).
Did make a APK file using Buildozer and tested it on Phone.
ankitdixit likes this post
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Holding multiple scripts and system portability Tab_Quicker 0 1,339 Jan-06-2021, 06:04 PM
Last Post: Tab_Quicker
  Python Finally Overtakes Java on Github Skaperen 0 1,525 Nov-09-2019, 09:36 PM
Last Post: Skaperen
  Whether or not it needs Java for Android with Python Aashuraa 4 3,168 Nov-26-2018, 02:36 PM
Last Post: Aashuraa
  GUI, Games and Java haazimoto 2 2,886 Aug-22-2018, 06:16 PM
Last Post: haazimoto
  java book bundle metulburr 0 2,790 Nov-21-2017, 12:34 AM
Last Post: metulburr
  [Share] Invented a new wheel for calling Python from JAVA john.huang 4 6,635 Oct-14-2016, 01:42 AM
Last Post: john.huang

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020