executable

Create a Python executable with chromedriver & Selenium

Create a Python executable with chromedriver & Selenium Question: I have created a small web scraping app using Selenium & chromedriver for a project that outputs the content into an excel file. The people I did this app for unfortunately aren’t the most tech-savvy. So my question is how can I share this app with …

Total answers: 1

Python: Using wmi to start executable remotely

Python: Using wmi to start executable remotely Question: Im trying to run an executable file remotely on Windows using the wmi module. it establishes the connection but I think my process line is incorrect, as when I check the server the executable definately has not been run. Can you guys help me on the syntax …

Total answers: 2

Pyinstaller setting icons don't change

Pyinstaller setting icons don't change Question: When I use the command: pyinstaller.exe –icon=test.ico -F –noconsole test.py All icons do not change to test.ico. Some icons remain as the pyinstaller’s default icon. Why? All icon change in windows 7 32bit windows 7 64bit (make an exe file OS) Some remain default windows 7 64bit (other PC) …

Total answers: 11

Making an executable in Cython

Making an executable in Cython Question: Been playing with cython. Normally program in Python, but used C in a previous life. I can’t figure out how to make a free-standing executable. I’ve downloaded cython, and I can make a .pyx file (that’s just a normal Python file with a .pyx extension), that executes in the …

Total answers: 4

run program in Python shell

run program in Python shell Question: I have a demo file: test.py. In the Windows Console I can run the file with: C:>test.py How can I execute the file in the Python Shell instead? Asked By: daniel__ || Source Answers: Use execfile for Python 2: >>> execfile(‘C:\test.py’) Use exec for Python 3 >>> exec(open(“C:\test.py”).read()) Answered …

Total answers: 6

Python executables: py2exe or PyInstaller?

Python executables: py2exe or PyInstaller? Question: To create executable files (windows) I assume that we should use one of them: Py2exe or PyInstaller. What are the difference between them? Asked By: trante || Source Answers: Py2exe and PyInstaller both are wrappers but here are few differences that I noticed, Py2exe is compatible with python2.4+ including …

Total answers: 3

How to convert a .pyc to a .exe file

How to convert a .pyc to a .exe file Question: I want to create the Windows executable file of my project, but I don’t want to share the source code. I use Linux, but py2exe doesn’t work on Linux. Is there a py2exe alternative for Linux? Asked By: Arjun Jain || Source Answers: Checkout http://www.py2exe.org/ …

Total answers: 2

python: Can I run a python script without actually installing python?

python: Can I run a python script without actually installing python? Question: I have some .py files I wrote that I want to run on a different machine. The target machine does not have python installed, and I can’t ‘install’ it by policy. What I can do is copy files over, run my stuff, and …

Total answers: 6