Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: How can I make a python script create an EXE?
Post: RE: How can I make a python script create an EXE?

Plus, the problem is not with my main program. Its only with the cx_Freeze setup.py. Setup.py: import sys from cx_Freeze import setup, Executable base = None if sys.platform == "win32": base = "...
ahmed_mokhles General Coding Help 26 12,712 Aug-31-2018, 12:38 PM
    Thread: How can I make a python script create an EXE?
Post: RE: How can I make a python script create an EXE?

So many quotes because the program is actually creating another program. Plz read it carefully and look at all the quotes closely.
ahmed_mokhles General Coding Help 26 12,712 Aug-29-2018, 10:43 AM
    Thread: How can I make a python script create an EXE?
Post: RE: How can I make a python script create an EXE?

"filename" is only the name of the file without the extension so i'm pretty sure its not the issue If you check it out you'll notice that the program asks for a filename.
ahmed_mokhles General Coding Help 26 12,712 Aug-26-2018, 03:57 PM
    Thread: How can I make a python script create an EXE?
Post: RE: How can I make a python script create an EXE?

When I changed the base to console and tried again, the EXE gives the exact same error except now it shows in in the EXE console and not as a popup as it used to. But you know what? I think this will...
ahmed_mokhles General Coding Help 26 12,712 Aug-25-2018, 05:07 PM
    Thread: How can I make a python script create an EXE?
Post: RE: How can I make a python script create an EXE?

Yes, but adding it didn't help
ahmed_mokhles General Coding Help 26 12,712 Aug-23-2018, 09:16 AM
    Thread: How can I make a python script create an EXE?
Post: RE: How can I make a python script create an EXE?

I tried it but it gives the exact same error
ahmed_mokhles General Coding Help 26 12,712 Aug-22-2018, 07:19 PM
    Thread: How can I make a python script create an EXE?
Post: RE: How can I make a python script create an EXE?

Here: setup.py: import sys from cx_Freeze import setup, Executable base = None if sys.platform == "win32": base = "Win32GUI" buildOptions = dict( packages = [ 'os', 'time'], excludes = ...
ahmed_mokhles General Coding Help 26 12,712 Aug-22-2018, 02:13 PM
    Thread: How can I make a python script create an EXE?
Post: RE: How can I make a python script create an EXE?

I tried doing so but when I run the EXE that is made it says: Error:Traceback(most recent call last): File "C:\Users\<MyUsername>\AppData\Local\Programs\Python\Python36\lib\site-packages\cx_Fre...
ahmed_mokhles General Coding Help 26 12,712 Aug-22-2018, 11:52 AM
    Thread: How can I make a python script create an EXE?
Post: RE: How can I make a python script create an EXE?

Hello, Axel_Erfurt I tried doing so but now I get another error: Error:error: [Errno 2] No such file or directory: '/home/brian/Dokumente/python_files/ rotateVideo2.py'from the path given in the err...
ahmed_mokhles General Coding Help 26 12,712 Aug-22-2018, 09:48 AM
    Thread: How can I make a python script create an EXE?
Post: RE: How can I make a python script create an EXE?

(Aug-21-2018, 03:06 PM)Axel_Erfurt Wrote: (Aug-21-2018, 02:19 PM)ahmed_mokhles Wrote: Well yes I can do that but what I really want is the python code that can produce an EXE, if that is actually ...
ahmed_mokhles General Coding Help 26 12,712 Aug-21-2018, 04:49 PM
    Thread: How can I make a python script create an EXE?
Post: RE: How can I make a python script create an EXE?

Well yes I can do that but what I really want is the python code that can produce an EXE, if that is actually possible.
ahmed_mokhles General Coding Help 26 12,712 Aug-21-2018, 02:19 PM
    Thread: How do I read variables from another python file?
Post: RE: How do I read variables from another python fi...

Thanks @snippsat
ahmed_mokhles General Coding Help 6 4,620 Aug-21-2018, 02:13 PM
    Thread: How can I make a python script create an EXE?
Post: How can I make a python script create an EXE?

Hi! What I know is that you can use pyinstaller or py2exe to compile a python script into an executable. However what I want to know is that is it possible to write a python script that is able to c...
ahmed_mokhles General Coding Help 26 12,712 Aug-21-2018, 01:13 PM
    Thread: How do I read variables from another python file?
Post: RE: How do I read variables from another python fi...

Thanks! #ichabod801
ahmed_mokhles General Coding Help 6 4,620 Aug-21-2018, 01:02 PM
    Thread: How do I read variables from another python file?
Post: How do I read variables from another python file?

Hello! I am new to this forum so I hope I am posting in the right place. I have a python program that creates another python file and declares 4 variables in it. How can I read the variables from th...
ahmed_mokhles General Coding Help 6 4,620 Aug-21-2018, 08:30 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020