Hi Maksym 😊 Let me know if I got you right - you were able to install 'auto-py-to-exe' and after it showed you it's installed in the terminal you typed 'auto-py-to-exe' and then it presented you with that error? Troubleshooting suggestions: - Do you have Python 3.4 or above? - Did you by any chance install it in one working environment and then tried to access it from another environment? or simply from the root? - Try uninstalling it and then installing it again - Try accessing it manually, here's how your path will look like: C:\Users\Mariya\anaconda3\Scripts\auto-py-to-exe.exe Where you'll need to replace "Mariya" with your own username 😊 Good luck, and please let me know if one of these suggestions worked! 😀
I had the same exact problem, I am using python 3.9 so that shouldn't be an issue and I tried to access it manually, but for some reason, I couldn't find the exe file. What worked for me was once I installed it, I noticed that it gave the file directory for all of the files of auto-py-to-exe so I just did a control-f search (in the terminal after installation) for auto-py-to-exe.exe and copied the file directory that it gave and pasted it in file explorer and it worked perfectly. Probably not the way to fix the problem but it helps to get around the problem. I should also mention that I just graduated High School and have only been programming for a few months as a hobby, and I don't have much experience.
@@PythonSimplified ts not working the appliction main.exe file just blinked in my window screen and gone. i am using kivy resources and used autopytoexe.exe to convert the .py to .exe file. How can we make it standalone.Pls help :(
@@redthunder6183 *Solution* : Hi there, I got the same problem and i noticed that when i installed auto-py-to-exe it gave me a warning: WARNING: The scripts auto-py-to-exe.exe and autopytoexe.exe are installed in 'C:\Users\ARHYA\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\Scripts' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. So basically you need to add this location in your PATH variable of your system. To do this: 1. Find this link when u install it or you can get this link alternatively by running these lines in your python IDLE. 'import os' then 'import sys' then 'print(os.path.dirname(sys.executable)+'\\Scripts\\')' then copy the output which is the location that u need to add in the PATH variable. 2. Press windows key n type 'system environment', open the setting named 'Edit the system environment variables'. 3. Press the option labeled 'Environment Variables' . 4. Find 'Path' under system variables and double click on it. 5. Press 'New' and paste the the location which we copied. Make sure to press 'OK' to save the changes. 6. Open a new command prompt and try 'auto-py-to-exe' (Make sure u have it installed before running :) ). Now everything should work fine :P. (Note this kind of problem arises when u dont check the box which says 'Add python to PATH' when installing python. ) I hope this works for all of you. Best of luck :)
I definitely agree! The whole purpose of my channel is to inspire lovely developers to create their own projects! 😊 This is the best way to learn, practice and get better and better and what we do. I am a thousand times more confident in my programming skills since I stated building my own projects, even though I still have so much to learn! 😀 Programming courses are great, but sometimes they limit our imagination and creativity. I prefer the trial and error way 😉
This is definitely not. python files designed to be executed with an interpreter and exe files are created with compilers. This is a cool but not an out of the box solution, so teaching this in a programming intro course will only cause confusion to someone who is new to programming.
@@ovs_cosplay If you have written a python project and you want to deploy it for other people to use, what's the best deployment method? Exe is such a standard, if you want other people to use your code. Also, if you want to protect and obfuscate your code, so that it cannot be reverse engineered, will it be safe once converted to exe? Is there a way to obfuscate code if you're deploying on pypi for example?
I literally only learned python to help with my old job. Lot of data we dealt with, ended up falling in love with programming and now am about to start applying for junior engineer jobs.
So roughly a month ago I started tinkering with python and learning the ropes, wondering if this fascinating programming language could only... well, produce things that need to be launched from obscure windows requiring specific programs like VSC. And now I stumble into this *6-minute tutorial* and it's just... wow! This is awesome! It's all coming together. I had just finished a project this afternoon and it was so cool turning into a proper runnable app. Thank you very much!
So…. This video just stumbled on my feed and decided to check it out. After so long looking into how to do this (learning Python on my own) this is by far the easiest way I’ve seen to convert to .exe. Thank you so much!
Hi Mariya! Where are you from? I'm an amateur Python programmer and GNU/Linux user from Argentina. I just have suscribed to your channel cause I wanna improve my english language skills, listenning to stuffs I like. I feel you accent and pronunciation very pleasent and easy to understund, besides your explanations are pretty clear , direct to the point and no waste of time. I wanna do a little correction about --one-file and --one-directorty options. The first one is about generate only one and big excecutable file with all included, and the second one is about generate a little executable file plus a directory with other files like dll shared libraries and other binary objects. I wish you a good new year and I hope your channel grow up soon.
Thank you Mariya I did this eventually, although you made the hard part look really easy. To get from 0.30 to 0.45 took me several hours. The things you did would not work in command prompt, you have to get anaconda, then anaconda navigator, then from navigator you can run a terminal in main virtual environment where you can install auto-py-to-exe, then with this app you can finally convert .py to .exe
@@ellyothim355 Perhaps your setup is different to mine, just sharing my experience :) thanks for fantastic explainer though it did really help even if I couldn’t do it your way
Thank you Vikash! 😁 I love programming! I've discovered the world wide web when I was 12 years old (when parents finally got me a broadband connection, I would have done it earlier if it was up to me 🤣) and never stopped learning since! Programming opens an incredible world of opportunities to everyone who's curious enough to take a peek - so we should all smile all the time! 😀 we picked the best profession in the world!
@@greatestevar In recent years I've been enrolled in online academies such as Udacity, Udemy, Team Treehouse, now I'm very happy with Coursera 😃 Not entirely sure if it's considered formal education but let's call it "self motivated" instead hahaha, it sound much more accurate 😉 Such academies didn't exist when I was a kid though, I had to look for HTML/CSS information around the web without much English knowledge... I have no idea how I found anything! 🤣 I must have been very determined!
hahahaha still working on it! for now Earth will do 🤣🤣🤣 Best of luck on your exciting new journey! Python is an extraordinary language, you gonna love it! 😁
Thank you, this helped a lot, I was stucked in my one file handling program because I was doing One file mode instead of One directory mode, now it is solved.
I will go home today after work to build a my first project. The code is mostly complete since ive been learning the past 2 weeks how to program simple stuff. If this app works. You have a new follower.
Thank you for this videos!. They really helped me a lot this few weeks, i made some decent projects to my university thanks to your pyqt5 tutorials!. Thank so much :D
Yeeeeey, I'm so happy to help Jysús! Especially with university stuff!!! 😁😁😁 I know it could sometimes be overwhelming and having the right advice at the right moment is absolutely crucial! 😊 Thank you for the incredible feedback!
You're absolutely welcome benet tsif! it was a highly requested video, and judging by all the GUI projects we created on this channel - I should have done it much earlier! 😀
thankfully the package you install does all the heavy lifting which is why it isn't complicated. Kinda how we can say "oh driving isnt as complicated as I thought", but really the engine and how everything works is abstracted away behind a steering wheel and some buttons. But thats the power of python: there probably exists a library for what you want to do. But you can also implement stuff from scratch if that's what you want to do too - I find that it personally helps me get a deeper understanding of concepts
I don’t know English well, and I’m even worse at programming, but your videos are very useful and informative for me, I think it’s worth trying to start learning programming with Python. And thanks a lot for your work!
This isn't really "converting" it's bundling, it's just wrapping the Python + the python runtime and your files into an executable. If you wanted to truly convert Python to native code there is one project called Nukita, that does whole program source file to source file conversation. This however takes a huge amount of time because it has to convert and compile everything including all your library dependencies.
@@AlexJaeger716 native code can be decompiled but often times the symbols will be striped as well as names mangled and that's not including a lot of compiler optimisation, the decompiled output is nothing like the origin source code. Anyway obfuscation isn't the purpose of native compilation, the purpose is speed and not needed runtime dependencies
@@Anhar001 ah I see, so pretty much using something like nukita is enough to protect my code? what about using something like pyinstaller? Would that offer the same level of protection?
I tried py2exe and similar programs at some point be found that even the most simple programs are created including every python module into the executable making even a small scripts hundreds of megabytes large. It seems you have the same problem. I saw quite a few large .dll scrolling over the screen, and even some intel MKL stuff. I would love a py2exe-lke programs that just includes the byte compiled script, the necessary functions and a barebones interpreter, thus generating binaries that a just a few Mb in size. Do you know something this?
OMG you saved my ass i have to deliver my project till Monday. I tried to use pyinstaller before but it doesnt worked now it is working with your Auto-Py-To-Exe. Thanks
@@stepanfedoseev2807 в чем тогда прикол писать транслитом, если переводчик переводит? Так пишуть только потому, что нет на клаве русской раскладки. А так ответ очевиден
i just cant thank you enough. this explanation is real ez. this channel is sooo under-rated. TH-cam must recommend your videos rather than dumb minecraft and attitude statuses.
Broo you help me so much, now I can make Screenshot to text app in desktop :D. BTW I'm using Tesseract-OCR in "additional files" configuration I'm using add folder to add the Tesseract folder. Now my life become easier to copy code from any coding tutorial hahaha :)
Yes Garvit! I've enlarged the scale and layout to 150% so that the video text is much more readable! 😁 I've also selected "Dark" in the colour options and I'm using Windows 10 Pro, 20H2 Version 😉
Hi Ali!😀 "main" is a working environment which I created on my computer. If you'd like to create a similar environment of your computer, please checkout my Anaconda tutorial: th-cam.com/video/MUZtVEDKXsk/w-d-xo.html (which also explains what working environments are and their benefits 😉) Good luck and I hope it helps! 😁
I am almost done creating my program that has been running solely in the IDE. Was getting excited to pack it into a .exe or .app file and show dad. Then I realised I might need to code out a GUI. I guess I have to learn that now. How did you do yours? It looks fresh. I have heard tkinter is the way to go? I basically just have to display a datafram and give them options to change a couple of values before exporting it to a spreadsheet for them to save or print.
Hi thanks for this explanatory video. I have a question, I have several pyscripts and sometimes, clicking a button needs to execute some pyscripts, do I use relative paths or absolute paths to execute those py scripts when you click on a button?
Hi mariya. I made a gyi for one of my projects based on the same templates using your quiz app. It accesses several other python files and also collects data from a csv file and maps it to an excel file. Also it opens another different application on clicking a button in the gyi. I tried creating exe file using autopytoexe. It created a file but it is crashing when clicked. Can you please tell how to debug using autopytoexe advanced options
Onefile doesn't mean you have a single input Python file. Setting Onefile will wrap all output files (Python libraries, the main Python interpreter etc.) to a single executable.
i have python 3.13 installed and i have created a simple game as my first project but i cant convert it into exe file. once i did it and the exe file just blinked and gone. now the command prompt doesn't recongnise my command and says it is not an external or internal command. can we convert simple codes like a small guessing game? don't we have to design any environment for it to run on? please help! thank you
Well, I used to work with pyInstaller but this time I said to myself let's give this a shot. turns out this library is using pyInstaller too! but because it's GUI-based I will use this from now on. thanks for the step-by-step introduction.
I've always felt tempted to use py2exe but the large file sizes of the output let me kind of disappointed. Someone suggested a video on configuring setup.py, but I believe that's just an intro to something bigger that could be covered in a small series of videos, wich is creating, building and publishing python packages. Something I would love to watch on your channel. Keep up the good work!
Just a nooby question. Why would you want py to exe. What would be the benefits. You can just run the py script as is so why would you need to change it to exe? Does it make it so anyone can use it without having Python installed on their computer if you send them the file?
It's definitely not a nooby question - I've seen it a lot in the comments! 😉 You don't really need to have anything installed when running an .exe version of your app - no specific version of Python or any of the dependencies. All you need is to have the exact same OS as the person who converted the .py to .exe - and you can run it with no problem! So if you're using Windows - you can share your app only with Windows users. Same goes for Linux and Mac. The main purpose is to be able to share your application with folks who don't know much about programming or how to run a .py file😁 If you want your application to run on any OS - you'll need an additional step of using "Inno Setup", you can find more info about it here: jrsoftware.org/isinfo.php So .exe is nice, but converting it into a setup file - is much better! Good luck and I hope it helps! 😊
@@PythonSimplified absolutely brilliantly worded reply. That answered everything I need to know. I just wondered as I have quite a few little projects on the go and I want to package them up for other people to use but obviously having all these things run without all of its dependencies is quite frustrating to explain to people. Download this. Install this. Or it won’t work. Whereas this will just have everything run then. That’s great. I’m using a lot of different modules that aren’t too common you see so this really does help. Thank you so much. 😊
Hello., I have done conversion of one simple py calculator file to exe . conversion is successful and the exe file runs fine in the pc where I have converted it ( OS windows10 ) . However I like to know, if i run it another pc where OS is Windows 10 , but python and other python related extension/modules is not installed , the exe file will run in that PC? or even I want to run it in Windows 7 , will the exe file work? your answer will be appreciated.Thanks .
Super tutorial. Thank you very much. There seems to be a problem with the tkinter library, which is used by pyglet. I'm using macOS and the question is whether on such a system, tkinter can cause (causes) problems with interactive windows. Can you advise how to solve this? thanks in advance
How would you handle version control on an exe. I have considered using pyupdater but it is no longer being maintained at the time of this comment. Any suggestions?
Thanks for sharing, so you only need to send the EXE file to another person to start using the code? At work i use python to connect with ODBC to SQL servers where our accounting data is stored and extract data. If i want someone to use this code, will i need to create a ODBC connection on the user's machine?
hi, is it possible to include an icon in the title bar so that when I create an executable .exe it is incorporated in it without having to carry it around every time? for example if I change pc?
@@PythonSimplified I used ChatGPT to write a arduino sketch to read a temp sensor and also helped write a python app to display local temperature from the Arduino then used your terrific video to pkg it into a exe. So now, with almost no programminng or electrical engineering experience at all I have an app that I created. I cant thank you enough! Old Dog learned a new trick ;) Do you have any AI experience? Id love to be able to program without learning all the minutia about each language. ChatGPT seems to make this kinda possible.
A web page is not meant to be compiled into a software with pyinstaller. You'll need to find a hosting platform, similar to the one I demonstrated at the end of my Flask tutorial 😃: th-cam.com/video/6plVs_ytIH8/w-d-xo.html
Did everything right. Why is it not working? :(
'auto-py-to-exe' is not recognized as an internal or external command,
operable program or batch file.
Hi Maksym 😊
Let me know if I got you right - you were able to install 'auto-py-to-exe' and after it showed you it's installed in the terminal you typed 'auto-py-to-exe' and then it presented you with that error?
Troubleshooting suggestions:
- Do you have Python 3.4 or above?
- Did you by any chance install it in one working environment and then tried to access it from another environment? or simply from the root?
- Try uninstalling it and then installing it again
- Try accessing it manually, here's how your path will look like:
C:\Users\Mariya\anaconda3\Scripts\auto-py-to-exe.exe
Where you'll need to replace "Mariya" with your own username 😊
Good luck, and please let me know if one of these suggestions worked! 😀
I had the same exact problem,
I am using python 3.9 so that shouldn't be an issue and I tried to access it manually, but for some reason, I couldn't find the exe file. What worked for me was once I installed it, I noticed that it gave the file directory for all of the files of auto-py-to-exe so I just did a control-f search (in the terminal after installation) for auto-py-to-exe.exe and copied the file directory that it gave and pasted it in file explorer and it worked perfectly. Probably not the way to fix the problem but it helps to get around the problem.
I should also mention that I just graduated High School and have only been programming for a few months as a hobby, and I don't have much experience.
@@notramwanule1069 well, if I can run the executable file, then it clearly installed correctly, probably just in the wrong place
@@PythonSimplified ts not working the appliction main.exe file just blinked in my window screen and gone. i am using kivy resources and used autopytoexe.exe to convert the .py to .exe file. How can we make it standalone.Pls help :(
@@redthunder6183 *Solution* :
Hi there, I got the same problem and i noticed that when i installed auto-py-to-exe it gave me a warning:
WARNING: The scripts auto-py-to-exe.exe and autopytoexe.exe are installed in
'C:\Users\ARHYA\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
So basically you need to add this location in your PATH variable of your system.
To do this:
1. Find this link when u install it or you can get this link alternatively by running these lines in your python IDLE.
'import os' then 'import sys' then 'print(os.path.dirname(sys.executable)+'\\Scripts\\')' then copy the output which is the location that u need to add in the PATH variable.
2. Press windows key n type 'system environment', open the setting named 'Edit the system environment variables'.
3. Press the option labeled 'Environment Variables' .
4. Find 'Path' under system variables and double click on it.
5. Press 'New' and paste the the location which we copied. Make sure to press 'OK' to save the changes.
6. Open a new command prompt and try 'auto-py-to-exe' (Make sure u have it installed before running :) ).
Now everything should work fine :P. (Note this kind of problem arises when u dont check the box which says 'Add python to PATH' when installing python. )
I hope this works for all of you.
Best of luck :)
This is something that should be taught in intro to programming courses because more people would start to make their own tools
I definitely agree! The whole purpose of my channel is to inspire lovely developers to create their own projects! 😊
This is the best way to learn, practice and get better and better and what we do. I am a thousand times more confident in my programming skills since I stated building my own projects, even though I still have so much to learn! 😀
Programming courses are great, but sometimes they limit our imagination and creativity. I prefer the trial and error way 😉
This is definitely not.
python files designed to be executed with an interpreter and exe files are created with compilers.
This is a cool but not an out of the box solution, so teaching this in a programming intro course will only cause confusion to someone who is new to programming.
@@ovs_cosplay If you have written a python project and you want to deploy it for other people to use, what's the best deployment method?
Exe is such a standard, if you want other people to use your code.
Also, if you want to protect and obfuscate your code, so that it cannot be reverse engineered, will it be safe once converted to exe? Is there a way to obfuscate code if you're deploying on pypi for example?
You may also convert the exe to an installer (using 'inno setup')
Better with WinRAR.
I love your content. I'm a CS student who mainly works with Java, but I want to get into machine learning. Your Python vids will help a lot.
I literally only learned python to help with my old job. Lot of data we dealt with, ended up falling in love with programming and now am about to start applying for junior engineer jobs.
ew java
Ew
So roughly a month ago I started tinkering with python and learning the ropes, wondering if this fascinating programming language could only... well, produce things that need to be launched from obscure windows requiring specific programs like VSC. And now I stumble into this *6-minute tutorial* and it's just... wow! This is awesome! It's all coming together.
I had just finished a project this afternoon and it was so cool turning into a proper runnable app. Thank you very much!
The single most important question in my life and yet I never asked the correct question. Until TH-cam recommended the video. Thanks a lot Mariya.
So…. This video just stumbled on my feed and decided to check it out. After so long looking into how to do this (learning Python on my own) this is by far the easiest way I’ve seen to convert to .exe. Thank you so much!
Hi Mariya! Where are you from? I'm an amateur Python programmer and GNU/Linux user from Argentina. I just have suscribed to your channel cause I wanna improve my english language skills, listenning to stuffs I like. I feel you accent and pronunciation very pleasent and easy to understund, besides your explanations are pretty clear , direct to the point and no waste of time.
I wanna do a little correction about --one-file and --one-directorty options. The first one is about generate only one and big excecutable file with all included, and the second one is about generate a little executable file plus a directory with other files like dll shared libraries and other binary objects.
I wish you a good new year and I hope your channel grow up soon.
Thank you Mariya I did this eventually, although you made the hard part look really easy. To get from 0.30 to 0.45 took me several hours. The things you did would not work in command prompt, you have to get anaconda, then anaconda navigator, then from navigator you can run a terminal in main virtual environment where you can install auto-py-to-exe, then with this app you can finally convert .py to .exe
you've succesfully complicated everything
@@ellyothim355 Perhaps your setup is different to mine, just sharing my experience :) thanks for fantastic explainer though it did really help even if I couldn’t do it your way
I was searching for hours and this video worked perfectly!!
Love the way u explain programming with always smiling face ☺️
Thank you Vikash! 😁
I love programming! I've discovered the world wide web when I was 12 years old (when parents finally got me a broadband connection, I would have done it earlier if it was up to me 🤣) and never stopped learning since! Programming opens an incredible world of opportunities to everyone who's curious enough to take a peek - so we should all smile all the time! 😀 we picked the best profession in the world!
Programming is a sad and lonely profession that I love.
@@greatestevar In recent years I've been enrolled in online academies such as Udacity, Udemy, Team Treehouse, now I'm very happy with Coursera 😃
Not entirely sure if it's considered formal education but let's call it "self motivated" instead hahaha, it sound much more accurate 😉
Such academies didn't exist when I was a kid though, I had to look for HTML/CSS information around the web without much English knowledge... I have no idea how I found anything! 🤣 I must have been very determined!
@@watherby29 it doesn't have to be sad and lonely! I know a bunch of couples where they are both programmers! 😃
@@PythonSimplified They can be sad together, that sounds great ;) ahahaha
Its been a year since you made this and i am just starting this python. You probably created your own planet by now! great lesson :)
hahahaha still working on it! for now Earth will do 🤣🤣🤣
Best of luck on your exciting new journey! Python is an extraordinary language, you gonna love it! 😁
She's actually from Pythos! She's a queen there. :)
This is the channel I never knew I needed !!
Becase you didn't :harold:
Thank you, this helped a lot, I was stucked in my one file handling program because I was doing One file mode instead of One directory mode, now it is solved.
i've been looking for something like this for a while. thank you.
You're welcome Engin, glad you found it useful! :)
One of the best videos I have ever seen before about converting py to exe. Thank you so much!!!
Will come super handy for my garage project, thank you for the videos, helping me out a lot recently! :)
Thank you for the lovely feedback Khealim ! I'm always happy to help! 😁😁😁
Tbh, I like more of these type of videos because they're short, concise and they get to the point.
Thank you! Was searching for this so long.
I will go home today after work to build a my first project. The code is mostly complete since ive been learning the past 2 weeks how to program simple stuff. If this app works. You have a new follower.
Wow! This is what I am looking for! Thanks for your video and all the detailed instructions.😃
Very helpful video . Thanks a lot Mariya 👍
Thank you for this videos!. They really helped me a lot this few weeks, i made some decent projects to my university thanks to your pyqt5 tutorials!. Thank so much :D
Yeeeeey, I'm so happy to help Jysús! Especially with university stuff!!! 😁😁😁
I know it could sometimes be overwhelming and having the right advice at the right moment is absolutely crucial! 😊
Thank you for the incredible feedback!
I´ve been trying to create an exe file for two weeks already. Finally reach to this video T.T thank you so much for the tutorial.
AWESOMEEE!! hahaha. Keep making sick videos like this, we appreciate it so much!. Have a wonderful day.
Thank you, thank you, thank you! 😀
What did you think about auto-py-to-exe compared to the pyinstaller way??
@@PythonSimplified It's fancier, I like it!.
@@ZurioSi Fancy is great! hahaha 😁
@@PythonSimplified feels like software designer and got a chance to spread our projects easily
I am seriously addicted to your videos 😵😵😵🙃🤗
it wasn't as complicated as i thought it would be. Thank you for sharing this!!
You're absolutely welcome benet tsif! it was a highly requested video, and judging by all the GUI projects we created on this channel - I should have done it much earlier! 😀
thankfully the package you install does all the heavy lifting which is why it isn't complicated. Kinda how we can say "oh driving isnt as complicated as I thought", but really the engine and how everything works is abstracted away behind a steering wheel and some buttons. But thats the power of python: there probably exists a library for what you want to do. But you can also implement stuff from scratch if that's what you want to do too - I find that it personally helps me get a deeper understanding of concepts
I love you, Lady!
This video is still great!
I was hoping you’d do this one!! You are so awesome. 👏😲
Thank you so much Josh! This tutorial was highly requested so I had no where to run! hahaha 😁
I don’t know English well, and I’m even worse at programming, but your videos are very useful and informative for me, I think it’s worth trying to start learning programming with Python. And thanks a lot for your work!
Thank you.
Que isso kkkk
Bruh, you really helped me out while GPT didn't. Thanks a lot!
This isn't really "converting" it's bundling, it's just wrapping the Python + the python runtime and your files into an executable.
If you wanted to truly convert Python to native code there is one project called Nukita, that does whole program source file to source file conversation. This however takes a huge amount of time because it has to convert and compile everything including all your library dependencies.
Does it turn the source code into bytecode so it’s unreadable?
@@AlexJaeger716 it turns it into machine code same as when you compile a C program into a native executable
@@Anhar001 Thanks for the response! So people can't decompile it?
@@AlexJaeger716 native code can be decompiled but often times the symbols will be striped as well as names mangled and that's not including a lot of compiler optimisation, the decompiled output is nothing like the origin source code.
Anyway obfuscation isn't the purpose of native compilation, the purpose is speed and not needed runtime dependencies
@@Anhar001 ah I see, so pretty much using something like nukita is enough to protect my code? what about using something like pyinstaller? Would that offer the same level of protection?
Learn a lot watching your videos. ❤️ from Srilanka
Thank you for your tutorials! They are awesome. Would you be so kind to show how to compile a SETUP file for the app?
I sure will! 😊 thank you so much for suggesting and for your lovely feedback! 😁
I almost fell in love ^^ I had to watch it 3 times because I got lost in your sweet smile xD keep making videos !❤
it was also very helpful
hahaha you are just adorable
thanks a lot
Blessings
Thank you so much Luis! Blessings back 😇
I tried py2exe and similar programs at some point be found that even the most simple programs are created including every python module into the executable making even a small scripts hundreds of megabytes large. It seems you have the same problem. I saw quite a few large .dll scrolling over the screen, and even some intel MKL stuff. I would love a py2exe-lke programs that just includes the byte compiled script, the necessary functions and a barebones interpreter, thus generating binaries that a just a few Mb in size. Do you know something this?
Спасибо, Машка)
OMG you saved my ass i have to deliver my project till Monday. I tried to use pyinstaller before but it doesnt worked now it is working with your Auto-Py-To-Exe. Thanks
как я успел пропустить эти 8 минут)
a voobshe to 5:55 minut! 😁 hahaha
skoro budut "live lessons" tak 4to budit trudneie propustit 😉
@@PythonSimplified Do you speak Russian? Or translator?
@@stepanfedoseev2807 в чем тогда прикол писать транслитом, если переводчик переводит? Так пишуть только потому, что нет на клаве русской раскладки. А так ответ очевиден
@@Lord__Of__Darkness У нее характерный акцент ...
@@stepanfedoseev2807 стефан цвейг !
This video was so well made that I watched the whole thing and I do t even need to convert my .py files
Thanks a lot Madam, I am 12 years old and I made a Clock App, and this was the perfect tutorial for me, please keep making more !
thanks so much for the tutorial I hope you reach 100k as soon as possible
Thank you so much! You made it very easy for me, i've been searching a lot and finally found this method
Hi, i am from Brazil. I am a computer engenier student and i am watching your videos.
Very very thank you your video was so helpful all the best for the next video 👍
My question may sound stupid....Well, can I use windows machine to convert py file to executable to run on Linux machine?
Thanks in advance.
i just cant thank you enough. this explanation is real ez. this channel is sooo under-rated. TH-cam must recommend your videos rather than dumb minecraft and attitude statuses.
It helped me alot. I was searching youtube for this topic since 19 days but finally I got this video. Thanks
Love from india..❤️❤️
Yey! I'm so I happy I could help! 😁😁
Greetings from Canada! 😊
Broo you help me so much, now I can make Screenshot to text app in desktop :D. BTW I'm using Tesseract-OCR in "additional files" configuration I'm using add folder to add the Tesseract folder. Now my life become easier to copy code from any coding tutorial hahaha :)
I love you for sharing these vidoes!
You're my favorite coding youtuber :)
You kept the video short and it was very good regardless. You are amazing.
Your windows ui in file explorer looks clear and better. Do you use a different font? Or maybe a different setting?
Yes Garvit! I've enlarged the scale and layout to 150% so that the video text is much more readable! 😁
I've also selected "Dark" in the colour options and I'm using Windows 10 Pro, 20H2 Version 😉
SUPER HELPFUL
pyinstaller was getting on my nerves but this is better THANK YOU
Missed the live chat but in this case you've left no questions! As always, fantastic content.
Hey, i have a Problem : in 0:33 i got this : could not find conda environment : main
Hi Ali!😀
"main" is a working environment which I created on my computer. If you'd like to create a similar environment of your computer, please checkout my Anaconda tutorial:
th-cam.com/video/MUZtVEDKXsk/w-d-xo.html
(which also explains what working environments are and their benefits 😉)
Good luck and I hope it helps! 😁
@@PythonSimplified thank you so much 👍
This video made my day! You are a great help! I just finished my 1st project. Thank you! New subscriber here.
I am almost done creating my program that has been running solely in the IDE. Was getting excited to pack it into a .exe or .app file and show dad. Then I realised I might need to code out a GUI. I guess I have to learn that now. How did you do yours? It looks fresh. I have heard tkinter is the way to go? I basically just have to display a datafram and give them options to change a couple of values before exporting it to a spreadsheet for them to save or print.
Hi thanks for this explanatory video. I have a question, I have several pyscripts and sometimes, clicking a button needs to execute some pyscripts, do I use relative paths or absolute paths to execute those py scripts when you click on a button?
Hi mariya. I made a gyi for one of my projects based on the same templates using your quiz app. It accesses several other python files and also collects data from a csv file and maps it to an excel file. Also it opens another different application on clicking a button in the gyi. I tried creating exe file using autopytoexe. It created a file but it is crashing when clicked. Can you please tell how to debug using autopytoexe advanced options
Hi Maria, Would you please give us a run down of your computer (hardware) set up.. I really love that monitor and keyboard.
What to do if i have a mysql database connection in my python project then how should i convert it in exe using this method please help me !
Thank you for your videos, your content is not the same as content from other channels. And it’s amazing!
Awesome, I like the front end for the py to exe, was not aware it existed. Thanks for sharing 👍
Thank you Tobs! I'm a huge fan of interfaces as opposed to consoles so I was a 100% sold on Auto-py-to-exe from the get go! 😃
very helpful videos, thank you!
I'm clicking like before watching the tutorial. Good job Mariya!
Thanks a lot, Mariya! It helped me a lot. Everything resulted as expected. Keep your work up. Greetings from Peru. 🤗
This video is a gem for a beginner. Thank you so much
Very good explained - you are playing in the champions league - Thank you very much👍
You are a great teacher Mariya!
Isn't one file option to generate a single exe and no directory of files in addition to the exe?
Onefile doesn't mean you have a single input Python file. Setting Onefile will wrap all output files (Python libraries, the main Python interpreter etc.) to a single executable.
What is the catch then? Why is there a directory option?
Does the .exe get very big, because it needs to include the whole python interpreter, i assume?
I waste my whole day for searching gui.py to exe convention but your video help me losts soo thank you so much 😊😊
Thanks python simplified I love you, you're maybe 90% programmer, but you're also a 100% amazing
Yooo these tutorials are short and straight to the point. This channel is going places! 💪
Great stuff ! thx ! Just what I needed . Subscribed !
תודה רבה נועם, שמחה לשמוע! 😀
Welcome aboard! 😁
Do you only add source files? If you are reading from text files do you need to add those too?
i have python 3.13 installed and i have created a simple game as my first project but i cant convert it into exe file. once i did it and the exe file just blinked and gone. now the command prompt doesn't recongnise my command and says it is not an external or internal command. can we convert simple codes like a small guessing game? don't we have to design any environment for it to run on? please help! thank you
Well, I used to work with pyInstaller but this time I said to myself let's give this a shot. turns out this library is using pyInstaller too! but because it's GUI-based I will use this from now on. thanks for the step-by-step introduction.
I've always felt tempted to use py2exe but the large file sizes of the output let me kind of disappointed.
Someone suggested a video on configuring setup.py, but I believe that's just an intro to something bigger that could be covered in a small series of videos, wich is creating, building and publishing python packages. Something I would love to watch on your channel.
Keep up the good work!
Mariya! i'Ve barely realized this tut. WOuld You compare this one to pyinstaller?
Stunning as usual.
Thanks for the very helpful vid.
Just a nooby question. Why would you want py to exe. What would be the benefits. You can just run the py script as is so why would you need to change it to exe? Does it make it so anyone can use it without having Python installed on their computer if you send them the file?
It's definitely not a nooby question - I've seen it a lot in the comments! 😉
You don't really need to have anything installed when running an .exe version of your app - no specific version of Python or any of the dependencies. All you need is to have the exact same OS as the person who converted the .py to .exe - and you can run it with no problem! So if you're using Windows - you can share your app only with Windows users. Same goes for Linux and Mac.
The main purpose is to be able to share your application with folks who don't know much about programming or how to run a .py file😁
If you want your application to run on any OS - you'll need an additional step of using "Inno Setup", you can find more info about it here:
jrsoftware.org/isinfo.php
So .exe is nice, but converting it into a setup file - is much better!
Good luck and I hope it helps! 😊
@@PythonSimplified absolutely brilliantly worded reply. That answered everything I need to know. I just wondered as I have quite a few little projects on the go and I want to package them up for other people to use but obviously having all these things run without all of its dependencies is quite frustrating to explain to people. Download this. Install this. Or it won’t work. Whereas this will just have everything run then. That’s great. I’m using a lot of different modules that aren’t too common you see so this really does help. Thank you so much. 😊
can u do the tutorial since the beginning i dont know how to make the virtual environment....
To the point!! Worked well. Thanks.
Hello., I have done conversion of one simple py calculator file to exe . conversion is successful and the exe file runs fine in the pc where I have converted it ( OS windows10 ) . However I like to know, if i run it another pc where OS is Windows 10 , but python and other python related extension/modules is not installed , the exe file will run in that PC? or even I want to run it in Windows 7 , will the exe file work? your answer will be appreciated.Thanks .
Super tutorial. Thank you very much.
There seems to be a problem with the tkinter library, which is used by pyglet. I'm using macOS and the question is whether on such a system, tkinter can cause (causes) problems with interactive windows.
Can you advise how to solve this?
thanks in advance
How would you handle version control on an exe. I have considered using pyupdater but it is no longer being maintained at the time of this comment. Any suggestions?
Thanks for the vid, worked flawlessly!
¡Thanks! Merci beaucoup et bonjour du Mexique 🇲🇽🇲🇽👏❤️🙂☕👍🏻
Thanks for sharing, so you only need to send the EXE file to another person to start using the code?
At work i use python to connect with ODBC to SQL servers where our accounting data is stored and extract data.
If i want someone to use this code, will i need to create a ODBC connection on the user's machine?
Great video...great and lovely explanation..😊😊
Thanks sis... for sharing your valuable knowledge.
It help me in project development.
Thank you, you helped me a lot, but do i need " setup " to give my app to someone else ?
Simple, fluent and nice tutorial, thumbs UP
hi, is it possible to include an icon in the title bar so that when I create an executable .exe it is incorporated in it without having to carry it around every time? for example if I change pc?
Youre an awesome teacher, thank you.
Thank you so much Mitchel! :)
@@PythonSimplified I used ChatGPT to write a arduino sketch to read a temp sensor and also helped write a python app to display local temperature from the Arduino then used your terrific video to pkg it into a exe. So now, with almost no programminng or electrical engineering experience at all I have an app that I created. I cant thank you enough! Old Dog learned a new trick ;)
Do you have any AI experience? Id love to be able to program without learning all the minutia about each language. ChatGPT seems to make this kinda possible.
Is the main file for my webpage the index page or the .py one?
A web page is not meant to be compiled into a software with pyinstaller. You'll need to find a hosting platform, similar to the one I demonstrated at the end of my Flask tutorial 😃:
th-cam.com/video/6plVs_ytIH8/w-d-xo.html