Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I tried PyInstaller, but I was unable to include configuration and .txt files in the package.
cx_freeze throws an error during installation and py2exe is not supported for Python 3.6 and later.
Which Python-to-EXE library can I use for Python 3.7?
auto-py-to-exe supports Python 3.7.
The added data/txt files need to be read in the code like this:
open(sys._MEIPASS+ r'filename.txt').read()
It was taken from Stack Overflow question PyInstaller cannot add .txt files.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 months ago.
Improve this question
I created a python script to generate a document. I want other people to use it without having a hurdle to install all the necessary software and packages. So, I was wondering how I could generate an executable python code to install MiKTeX, Strawberry Perl and some Python packages.
I recommend pyinstaller to create a executable for python and the including python packages. To install MiKTeX I would write a bat file which leads you throw the installation and select packages from MiKTeX are on the fly installed.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 12 months ago.
Improve this question
Have download my python set up and installed to my pc. Must I download pycham or I can us Visual Studio Code alone.
In my opinion, pycharm is the best idea available for Python.
It has good artificial intelligence on error detection and code completion.
You can use it alone, Pycharm is just an IDE. You can also use the IDLE interpreter that comes with python.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I want to display a preview of files uploaded by a users.
For this reason, I have to convert docx-files to pdf using python 3.7.
When looking for a library to do the job I found the following:
pdfminer, but it only supports python 2.7
comtypes, but it is a library for Windows only
Are there any other alternatives?
Yes. You might want to have a look at pandoc.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Is there any free and open-source option to run python from an usb-stick on Windows system (i.e. python installed on an usb-stick ) and can run on any Windows system just by pluging-in the usb-stick?
Try Portable Python.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Is there any library for Python that I can use to find all the devices that are connected to the computer? I know you can do something similar in C# and identify the USBs for Python but what about all the devices? I am using Windows 8.
There is the pywinusb lib
But I think that it is a bit complex
https://pypi.python.org/pypi/pywinusb/
Maybe you can get it with pip
pip install pywinusb