osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Python, Be Bold!


Greetings list,

I wanted to make some suggestion about the Python interpreter but since
it's more high-level, i decided to post it here instead of python-ideas.

Well, concerning distributing Python apps, a natural way is to compile to
native executables. But, another way is to have a python-specific
executable which specifically requires the Python interpreter to be
installed on the system. To that end, i propose

-- Self-updating Python distributions
-- Distributions which notify about new releases
-- Easy compilation to python-specific executable (.pyz is a good candidate)
-- More robust native Gui facilities

Python has evolved quite a lot, it's past the scripting level. It has it's
own VM. I suggest Python consider the Java approach. Java distributions are
more os-integrated than Python's. Python is like <<Oh wait i don't want to
let the user know he has a Python distribution on his system. Hide me!>>

Compare to Java, let's say you want to download a Java app, the popular
Maltego for example. If you don't have Java installed it will tell: <<Hey
you know what, there is something called Java, go get it else i won't move
a muscle>>

Also Python adopts a .jar file approach, making .pyz generation more
intelligent. .jar file generation is a breeze.

Gui side, i suggest some more powerful tools. In Java using JavaFx, you can
really build cool apps, in Python you don't have it natively. You can use
stylesheets etc (which PyQt has to some extent). Java's standard library
even has splash-screen utilities. It shows that they care for app-making.
Well, even while many say that Java is bloated, it still finds it's way in
many different hardwares.

The idea is not to copy-cat Java but to learn from it. Python is way
cooler, but it needs some tuning.

Yours,

Abdur-Rahmaan Janhangeer
pythonmembers.club <http://www.pythonmembers.club/> | github
<https://github.com/Abdur-rahmaanJ>
Mauritius