d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Python Nerds
12Next
Add Reply New Topic New Poll
Member
Posts: 73,505
Joined: Aug 14 2007
Gold: 6,940.52
May 29 2019 04:35pm
Anyone compile into a single exe?
If so, what do you suggest?
Member
Posts: 109,874
Joined: Feb 1 2006
Gold: 10,152.00
May 29 2019 10:30pm
I use PyCharm personally.
Though idk if its the so called best as per your df request.
Member
Posts: 73,505
Joined: Aug 14 2007
Gold: 6,940.52
May 29 2019 10:32pm
Quote (King Atrhur @ May 29 2019 10:30pm)
I use PyCharm personally.
Though idk if its the so called best as per your df request.


does pycharm have built in compiling?
i've just been using IDLE to run/test via print cause I'm a savage. Haven't tried other IDE's

google fu has lead me to needing to install pyinstaller in order to compile to exe
so I might be on the right track which is a nice change ;)

This post was edited by Penguins0690 on May 29 2019 10:33pm
Member
Posts: 109,874
Joined: Feb 1 2006
Gold: 10,152.00
May 29 2019 10:37pm
Quote (Penguins0690 @ May 29 2019 11:32pm)
does pycharm have built in compiling?
i've just been using IDLE to run/test via print cause I'm a savage. Haven't tried other IDE's


It should have a built in compiler when you run the .py file thus creating a .pyc file.
Though this is in python itself not the IDE iirc. been a minute since I've used python though.

or you can go this route
https://pypi.org/project/PyInstaller/3.3.1/
http://www.pyinstaller.org/
Member
Posts: 73,505
Joined: Aug 14 2007
Gold: 6,940.52
May 29 2019 10:39pm
Quote (King Atrhur @ May 29 2019 10:37pm)
It should have a built in compiler when you run the .py file thus creating a .pyc file.
Though this is in python itself not the IDE iirc. been a minute since I've used python though.

or you can go this route
https://pypi.org/project/PyInstaller/3.3.1/
http://www.pyinstaller.org/


pycharm is the IDE, just another way to view/manage/code with helper features (auto-complete and syntax checks).

I also think pyinstaller is the way to go. thanks

looking to create a standalone EXE for distribution

This post was edited by Penguins0690 on May 29 2019 10:40pm
Member
Posts: 109,874
Joined: Feb 1 2006
Gold: 10,152.00
May 29 2019 10:41pm
Quote (Penguins0690 @ May 29 2019 11:39pm)
pycharm is the IDE, just another way to view/manage/code with helper features (auto-complete and syntax checks).

I also think pyinstaller is the way to go. thanks


yeah thats what i said in a roundabout way.
But iirc python can compile itself so I just use what I stated above for managing.
Member
Posts: 73,505
Joined: Aug 14 2007
Gold: 6,940.52
May 29 2019 10:44pm
Quote (King Atrhur @ May 29 2019 10:41pm)
yeah thats what i said in a roundabout way.
But iirc python can compile itself so I just use what I stated above for managing.


well right, I guess my question is more along the lines of what should I install in python (pip install) to compile .py to .exe
the most notable options I've seen thus far are:
1. pyinstaller
2. cx_freeze

just curious as to what else is out there and which is the "best" if anyone has had any experiences using those or any other ones.
Member
Posts: 109,874
Joined: Feb 1 2006
Gold: 10,152.00
May 29 2019 10:47pm
I've done a lot on pythoin but it was awhile back for the damn rasp pi's and it was all within itself or via pyinstaller.
never really looked around cause i mean its pretty straight forward task. Also not avid coder nor do I enjoy doing it
so if it works I'm content with it.
Member
Posts: 73,505
Joined: Aug 14 2007
Gold: 6,940.52
Jul 25 2019 08:07pm
Just updating this... Moved on to web automation.

Fuckin Killin it tbh
Member
Posts: 54,665
Joined: Aug 4 2005
Gold: 2,200.01
Jul 25 2019 08:44pm
need a script
2 regrow my hair
Go Back To Computers & IT Topic List
12Next
Add Reply New Topic New Poll