Packaging Sqlite DB and Pictures with Executable file

2019-12-31 Thread Abdur-Rahmaan Janhangeer
Greetings list,

Sometimes ago i was asking how to add Sqlite files to zipapp files here
,
i still haven't figured it out.

Finally the solution i used was PyInstaller itself. Kushal Das shared an
article  of
a RAT tool which uses Python. That got me wondering, PyDevs here are
sweating on distribution and this one is surfing the internet at lightening
speed ... Steve Dower suggested some solutions
 which got me
into the mood of not abandoning native exec file (I was going to ship pure
python code files). Another friend encouraged me with retrying Pyinstaller
itself. Sure enough after gliding through many internet pipes, i solved the
issue.

Here is the solution

!

Yours,

Abdur-Rahmaan Janhangeer
pythonmembers.club  | github

Mauritius
-- 
https://mail.python.org/mailman/listinfo/python-list


Python, Be Bold!

2019-12-31 Thread Abdur-Rahmaan Janhangeer
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 <>

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: <>

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  | github

Mauritius
-- 
https://mail.python.org/mailman/listinfo/python-list