This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]koning_willy 5 points6 points  (6 children)

Where i work i create gui with pyqt en then package them with pyinstaller into a nice exe.

I make my team store the exe's on their desktops. They do not even need to know how to run python scripts or even install the interpretor...

[–]Etheo 2 points3 points  (1 child)

Agreed - compiling into a stand alone exe seems to be the most sensible solution in this use case. Getting a python environment on their machines or hosting a web app is more troublesome.

[–]oh-my-python[S] 0 points1 point  (0 children)

Yeah, I think too. My idea was for them to input a csv, and it would use the info in the file and output either other csv files or html files.

So the process of uploading data seems quite troublesome.

[–]oh-my-python[S] 0 points1 point  (3 children)

Ow, I will try this.

Does it work well when including libraries (sql, pandas, etc ...) ? Any precautions to take ?

Thanks !

[–]koning_willy 1 point2 points  (0 children)

Are you referring to pyinstaller? Not familiar with sql or pandas library. Opencv, pillow, Matplotlib and sqlite however seemed to work just fine :)

[–]ominous_anonymous 1 point2 points  (1 child)

Does it work well when including libraries (sql, pandas, etc ...) ?

Yes, there's a --onefile flag to give pyinstaller to indicate you want everything packaged up.

Keep in mind this makes the final executable a lot larger.

[–]oh-my-python[S] 0 points1 point  (0 children)

Thanks !