Hih, this is a tad too advanced info for me but oh my gosh how much I CANNOT WAIT to use this tutorial in real life!!! 😍 Thank you, Mariya! 😍 I'm only half way through but I'll finish watching the tutorial now just to see how much I understand already. Comparing oneself to the past versions of oneself is the best way too see the progress! Keep it up everyone!! 😁😁👍 And Mariya, please keep up the amazing work! Our support for you is an infinite loop after clicking 'run'! 👾🎵🥳
Thank you so much for the 🤩 INCREDIBLE 🤩 comment and for letting me know it's a bit advanced!!! I definitely agree it's not as beginner friendly as the rest of my videos - but I'll make sure that by the time you come back to watch the rest of this tutorial, you will have all the background to understand what we're doing! I have 2 solutions, and one of them is super quick! 😉 I think the biggest learning curve here is creating the GUI app itself (and maybe installing Python libraries from a requirements file... It's the first time we do it on this channel, and now when I think of it - I could have simplified it further 🙃). ⏰⏰⏰ QUICK SOLUTION ⏰⏰⏰ ------------------------------------------------------------ 1️⃣ step 1: Start with a very simple GUI app that doesn't involve a database at all! This is the first app I've ever made (I had no idea what a GUI was before... it's something that was requested on the channel and I went down the rabbit hole as a result 😀): ⭐ Create a simple GUI app with Tkinter: th-cam.com/video/itRLRfuL_PQ/w-d-xo.html ❗You may need to adjust "filetype" tp "filetypes" in line 24: file = askopenfile(parent=root, mode='rb', title="Choose a file", filetypes=[("Pdf file", "*.pdf")]) An alternative simple GUI app tutorial (with a much bigger font hahaha) that you may like even more is my Trivia Game (it's using nicer GUI library named PyQT5 😉): ⭐ Create a simple GUI app with PyQt5: th-cam.com/video/9iZLDnW_vwU/w-d-xo.html And instead of creating a special database, we fetch data directly from the internet using a beginner-friendly site named Open TriviaDB: ⭐ PART 2 - Get Trivia Questions for GUI app with PyQt5: th-cam.com/video/r2ZN0mTDnPc/w-d-xo.html BTW - that's the same app we have converted in the auto-py-to-exe tutorial I mentioned at 03:46 😊 2️⃣ step 2: follow the instructions of the current tutorial with the notes: - at 15:30 click "add files" instead of "add directories" to include logos. - at 20:00 no need to add special subfolders because in both cases the logos are in the exact same folder as the app itself. ⏰⏰⏰ LONG SOLUTION ⏰⏰⏰ ------------------------------------------------------------ 1️⃣ step 1: learn about SQLite, which has a very nice beginner-friendly database engine: ⭐ SQLite Basics: th-cam.com/video/Ohj-CqALrwk/w-d-xo.html ❗you'll need to add connection.commit() after each data insertion command, I've accidentally skipped it in the tutorial above 😅 2️⃣ optional step 2: practice your SQLite skills and learn how you can generate databases by automatically copying them from the web (what we call Web Scraping): ⭐ Web Scrape Databases with SQLite and Mechanical Soup: th-cam.com/video/MkGQmZoMuRM/w-d-xo.html This once includes the connection.commit() command I've mentioned above 😉 3️⃣ step 3: follow my Random Recipe Picker tutorial: ⭐ Create GUI App with SQLite and Tkinter (Random Recipe Picker): th-cam.com/video/5qOnzF7RsNA/w-d-xo.html 4️⃣ step 4: follow the instructions of the current tutorial as now you have all the tools required to understand it 🥳🥳🥳 ------------------------------------------------------------ In terms of the rest of your comment (sorry, I had to start with the instructions because I'm assuming other folks will struggle with the unusually advanced level 😅) We have incredibly similar life views! I couldn't agree more with comparing to the past versions of ourselves! I think that's the reason why it took me so long to finish this tutorial hahahaha, I wanted it to be better than anything I've ever done before 😅😅😅 We don't necessarily need to be the best, somebody will always be better, smarter or faster (well... unless we're Elon Musk or Michael Jordan or something hahaha) - but there must always be progress! our biggest competition should always be our past self, otherwise, life will be very stressful 😊 And sorry about the super long comment hahaha... I multiply your infinite loop times millions! I wouldn't have the motivation and drive to keep doing this without the incredible support of the viewers' community! And actually - I wouldn't know so much about programming if experienced developers weren't kind enough to share their expertise with me in the comments. I may be the presenter behind this channel, but I can only take a fraction of the credit. I've learned more from viewer comments than from University and hopefully, this comment will help lots of talented aspiring developers such as yourself on their exciting journey! 🙂🙂🙂 OK, I think I accidentally wrote a book instead of a comment hahahaha... I'll go rest now XDDDDDDDDDD Thank you so much once again!!
I can't thank you enough for this video. Like lots of python developers I've been tearing my hair out trying to find a simple way to deploy python scripts in a way that my non pythonic coworkers can utilize them. This works so well, and it's a very familiar workflow for them to just install it like any other program. Also thank god you mentioned MEIPASS2 or I might have given up before finding the answer to that error.
Hi Marija, I just recently discovered your channel. I often have problems evaluating and understanding documentations and plain text for myself, so I love that you visualize a lot in your videos! The simplicity of the examples is incredibly important to understand the principle of things. With this knowledge, it is then easier to understand complex explanations afterwards. You have a gift for teaching and illustrating! Besides that, it makes me very happy to see other women succeed in the IT world. - A fellow Maria :)
Yeeeyyy!!! Welcome aboard!!! I'm so happy you enjoy my tutorials and thank you so much for the amazing comment, Mary!!! 😀😀😀 In what seems to be a previous life, I was a graphic designer, and I found that icons or symbols are much more effective than words! My boss, who trained me, used to say "Mariya, it's just a sign, nobody reads it!" and even though it was a joke - it very accurately describes reality! Our mind tends to remember things that stand out and seeing someone talk is not very memorable (unless they talk about something extraordinary!... but I don't think GUI apps fit that category hahahaha 😅) If find that adding some visual illustrations provides an extra layer of explanation, better captures our attention and as a result - helps us remember 🙂 I really appreciate your feedback and I'm super glad you find my examples simplistic!!! 😊 Maria's of the world unite!!! 💪💪💪
@@PythonSimplified yes! i 100% agree. Especially for things you can't see, which we have a lot in the IT world, like processes that happen 'behind the scenes'. It's essential for someone like me to see visuals. Keep up the amazing videos and know all your work is so appreciated!
@@PythonSimplified Hi Maria, I wonder if you could build a gui program that locks an exe app with given password by user and when user wants to enter that exe app, a form should asks for user a password to enter that exe app?
Today I found your channel, watched the video and I liked you - I subbed, and commented (which I do rarely). I am a beginner Python learner but you make a complicated task look simple to understand and very enjoyable. Indeed! Python Simplified. Thanks, Maria for your efforts and that is much appreciated.
Aunty I love the way you are curious like me self, that's the question I asked me self always, but today I got the solution from you. God bless you so much
Okay , thank you for this turotial. Yout really did a wonderfull job, and the part where you fix one-by-one the problems is actually the best so that new guys (like me) learn to follow a process of fixing!!!!
I have never seen a tutorial that is so detailed and even inclusive of so many different scenarios that makes me save hours worth of time researching to debug on my own. tysm!!!
This is perfect! I have some python programs I've been wanting to distribute and now I have the way to do it. Thank you for your excellent tutorials, you are such an awesome teacher. :)
This year it was my 1st year in Computer science and we did Python these feedback you give is amazing thank you in advance I learn new things everyday now on holidays.
Awesome video. Like code you are so concise. No distractions and you cover a lot of ground. Having watched hundreds of programming videos I must say this was the best I’ve seen. Please keep making projects!
After Struggling to understand how to package my application this tutorial really helped me. Some of my steps were a bit different as I didn't need to set up my assets folder but.. the step of ensuring you add the folder to this step DestDir: "{app}/ was crucial. Thank you!
Hey, awesome video!! This is the first explanation and way that worked for my self-made program. A few things I needed to adapt was the requirements.txt file, which can be done when you are in the converter environment inside your folder where your .py program is and then you have to type in "pip freeze > requirements.txt". This creates the requirements.txt file needed for your own program. Additionally, if you want so save things into your program files without the user to search for a folder itself for example if you use "plt.savefig("figurename.png")" then you also have to use the resource_path() function such that you use "plt.savefig(resource_path("figurename.png"))". Hope this hepls for other that also struggled.
It's hard to get this sort of content, great job, please keep making more on this, there are a lot of people who are very interested in distributing their own Python applications!
Hello, I 'm from Brazil, and loved yours tutorial in python. I'm developer that keep a ruby on rails to python and loved this language. Thank you so much for help us
Thank you so much for the lovely comment Marvio!! 😃 I'm super happy you enjoy my tutorials and most of all - the best programming language in the world!! 😁😁😁
Thank you so much for this video. I've used pyinstaller for quite some time, but now I know how to make a setup file, which is quite a bit more professional! Now the only thing I need to figure out is how to add a digital signature to the program :) At 16:25 -- what you're being asked is if you want to associate file extensions with your program. For example, you might have `.txt` files "associated" with the program _Sublime Text_ so that Sublime Text is used to open files with that extension by default (or is available in the "open with" context menu when right-clicking text files) So, maybe users of your program want to save recipes to a file. Maybe your program can save them to files with a custom extension like `.recipe` -- then when users click on their `.recipe` files, your application will be launched with the file path provided as an argument.
Thank you so much for such a clear ,step-by-step and descriptive video, not only you gave steps to follow but also gave us an approach to handle different errors...very grateful for such a wonderful explanation
Your teaching is brilliant. Thanks for this. Would love to see this for Mac too. Also how to create signups and payments for a desktop app and how to handle updates.
Thank you for creating such an informative and helpful video on converting GUI app to a real program using Python to exe to setup wizard. Your explanation was clear and concise, and the step-by-step demonstration made it easy to follow along. I was able to successfully convert my own GUI app using the PyInstaller and Inno Setup tools, and I couldn't have done it without your guidance. Your video has been a valuable resource for me and I appreciate the time and effort you put into creating it. Once again, thank you for sharing your knowledge and expertise with us. Looking forward to more informative videos from you in the future.
It is too good to be true to see a person on youtube making things simple for people. I was stuck on creating a setup wizard until i found your video and the way you explained really touched my heart! Thanks BTW Can i send you my setup wizard so you can play my game! Please let me know if i can!
Thanks for the turtorial!! ☺️ I tried doing it by myself a few years ago - I failed miserably. Haha. So, I got an idea about the hard-work you would have to put in to make this all work. My God!
really great tutorial! you explained it so well, and i like the extra tips in planning ahead for file organization! i wanna go try this myself! thank you!
Thanks , i made a weather app using tkinter and i have created a setup file for it using this video. Thanks for this wonderful video . All the best for the future. ❤❤❤❤
Perfect timing, eh?? 😉 Super happy you found it useful! I was actually supposed to release it a day before but decided to refilm the intro in the last moment 😅😅😅
@@PythonSimplified Same Here! Thanks a thousand times! Would you recommend the same process for a React-Django app? (made front end with react and back end with Django...so wondering what is best for the next step to convert it to a PWA or exe file..wonder what would be the best method)
Hi Mariya. Thanks so much for this video. I just installed and run my app in my second pc and everything went perfectly. I was so happy to see it running. Thanks again
Thanks for the video. The a.datas is used to import files to the temp path that pyinstaller uses, as you put your files in the same folder as exe file, it will be fine in not importing the resources in spec, but if you import, then the files will be in the temp folder and your program will look for them there
what an awesome tutorial i have seen alot of tutorials on this but i have to say this is by far the most in depth concise tutorial that i know of to date i salute you
Hi Maria) Thanks for the useful video. I haven't programmed for 7 years and the last time I did it was in Pascal... And now I had to go back to this unpredictable track of programming errors, including errors when packing python code into an .exe executable. By the time I watched your video I had already remembered how to communicate with a respected personal computer, python is very simple, so with mastering the language had no particular problem, although I forget it as quickly. Already wrote the first version of the program, it's a program to summarize the graphs given by the points x and y on the Cartesian coordinate plane, it turns out that Microsoft Excel has no such action. So what I wanted to write about, when packing the .py file into an .exe I also had a problem! I solved it myself, but who knows, maybe I will step on the same rake as you, when updating the program, which came in your way. You did a great job and gave more information so that people like me really have less headaches. Thank you again! P.S.: English is not my native language, I apologize if I wrote somewhere not quite clear:)
Nice job , you explain it very well , i'm french and it's not easy for me to understand the english tutorials but not with you , continue to speak like that it's wonderfull .
This helped me so so much! For some reason, the MEIPASS was not working. In the end, I used this approach: script_directory = os.path.dirname(sys.argv[0]) logo_icon_path = os.path.join(script_directory, 'logo.ico')
@@legendaryboots I can try to help you. That code I posted, works when the logo.ico is on the same folder than the script. That code gives me the full path to logo.ico. Try to put the resource you are loading on the same directory as your script. OR you may need to add .replace('\\', '\\\\') os.path.join(script_directory, 'logo.ico').replace('\\', '\\\\')
Hello Mariya, I just discovered your channel today and I love how descriptive you are with every necessary task! I've been developing fun software projects over the years as more of a hobby but mainly in Visual Basic 6.0. I figured it was time to start learning Python since it appears to be the most popular and I've found that in theory it is much easier than VB6.0 the way it is structured, but it's still going to be a learning curve for sure! I believe your content will help me learn Python quickly and I would just like to say thank you very much, and keep up the great work! I Liked and Subscribed! :)
Fun stuff! this is exactly what I needed for a project I am working on. Coming from the Linux ecosystem, there we package apps a little different and as such, this would not have been easy to figure out on my own. many thanks champion!
hi,mariya sha! your tutorials are very very important for me,i'm just under devolping whatsapp user bot scripts but i'm just kid at 17age love you from sri lanka! 😙
Thanks for this extremely useful upload. You have a very positive outlook, a trait that's always nice to see and clearly helps with viewer engagement. Well done.
One little bit, the app is installed in Program Files x86, which indicates it's a 32bit app. If it is, that might limit you if you use more than 4GB or RAM (AI/ML type of apps). If it is in fact 64bit, you might fetch a 64 bit version of installer, or fiddle with the config to make sure it installs in the right Program files directory. Hope it helps.
If Kivy vids is what you seek - you're in the right place!!! 😉 I've already filmed a bunch, for Android as well! and BTW - the brilliant developer behind KivyMD is a viewer of this channel and he joins us very often in the live chats 😃 ⭐ Simple Python App with Kivy: th-cam.com/video/YDp73WjNISc/w-d-xo.html ⭐ In addition, I've adjusted the app above to a fun Halloween version on Github: github.com/MariyaSha/HalloweenGreetingApp ⭐ Mobile App with KivyMD - Decimal to Binary (PART1): th-cam.com/video/ah3JeHAfM0M/w-d-xo.html ⭐ Expand Mobile App with KivyMD - Decimal to Binary (PART2) th-cam.com/video/2aRBkAA1_9o/w-d-xo.html ⭐ Convert KivyMD Python App to Mobile App - .py to .apk: th-cam.com/video/VsTaM057rdc/w-d-xo.html (I've copied the links from Mecra's comment so I don't have to type everything again hahaha 😅)
Thanks a lot. This knowledge was just not enough for me to write my applications. It remains to deal with license agreements, but I think I can handle this personally.
This is a very lovely video 👌👍i was wondering if u could also do another video on how to implement software updates notifying end users about a new version of software and link to install the new version online
Thank you so much Victor!!! What an awesome idea!! 🤩🤩🤩 Inno Setup definitely provides the means of doing so: jrsoftware.org/isfaq.php#updateinstall If there's anything that bugs me about the current Random Recipe Picker is the washed-out colours I've used for styling! This will give me a great opportunity to revise them to something a bit brighter and more lively! 😉 Thank you so much for your suggestion! Will definitely look into it! (not sure when though... 😅 I have a few upcoming tutorials I'd like to tackle first :))
@@PythonSimplified Yes pls, I think we'd love for you to make a tutotial for releasing updates whenever u have a chance. Thank you so much and once again great video!
Great tutorial! I did get a bit of a jumpscare at 0:17 which was probably editing, but the mouse moving in the background had me think you might be haunted. o_o
Darn, that Windows Defender sounds like a real party-pooper!!! I'm gonna get to the bottom of this!! Do you think it's triggered by specific libraries?
@@PythonSimplified The pyinstaller bootloader is sus. All programs made with pyinstaller share it, so if someone made maleware in the past using it - antivirus software may see it as a virus. It also acts strange, making a hidden/temp folder and dumping it's payload there - that's something a virus would do! The good news is that it happens only sometimes and only on some computers, the bad news is that it happens sometimes on some computers. I've been told the only sure way around it is to sign the files, but you need to pay for a certificate to do it.
You're right!!! I haven't even thought of that! was too busy with figuring out how to find this temp folder rather than asking - WHY ON EARTH DOES PYINSTALLER NEEDS THIS TEMP FOLDER TO BEGIN WITH??? 😡😡😡 @iiann richard banks mentioned in one of the other comments that signtool.exe may be a good solution. I haven't had a chance to explore it yet, but check it out: learn.microsoft.com/en-us/dotnet/framework/tools/signtool-exe I think this might solve this ridiculous Pyinstaller vs Windows Defender issue... there must be some way which doesn't require payment.
You need to be a verified developer with an active distribution signature in order for defender to not scream at you instantly. Anti-malware programs technically do stuff that malware will do but they don't get picked up because they are verified companies developing them
Beautifuly done, Mariya, you only have to apend those files in spec if you want to single file exe with no folders aside, then instalation is not needed, but downside is that for larger projects you have very large exe files which took long time to open, I guess this is better aproach
Aha!!! I had no idea it's even an option!! 😱😱😱 I've assumed logos/data and such cannot be bundled into the executable! I've checked Adobe, Ubisoft and Steam inside the program files - and they all had subfolders with all kinds of assets. I've just assumed it's the only way! 🙃 Thank you so much for letting me know, Sinisa!! I guess in that case, a setup file is not even necessary because the executable can be distributed on its own! 😃 (well... if it's not too big of course) It must be how "portable" software operate! I've seen a pirated version Photoshop that consisted of a single file, you could even run it from a USB... I've always wondered how it was possible! Thanks for sharing 😁
Wowww! Mariya this looks super easy. Well, its rather *you have made it* so easy for me to understand. Can't wait to use it for my streamlit apps. Absolutely amazing stuff 😍😍
I have a suggestion, could u make a video about the new openai module "whisper" and how it works for example bypassing audio captcha using it and keep up ur hard work!!
Hih, this is a tad too advanced info for me but oh my gosh how much I CANNOT WAIT to use this tutorial in real life!!! 😍 Thank you, Mariya! 😍 I'm only half way through but I'll finish watching the tutorial now just to see how much I understand already. Comparing oneself to the past versions of oneself is the best way too see the progress! Keep it up everyone!! 😁😁👍
And Mariya, please keep up the amazing work! Our support for you is an infinite loop after clicking 'run'! 👾🎵🥳
Thank you so much for the 🤩 INCREDIBLE 🤩 comment and for letting me know it's a bit advanced!!! I definitely agree it's not as beginner friendly as the rest of my videos - but I'll make sure that by the time you come back to watch the rest of this tutorial, you will have all the background to understand what we're doing! I have 2 solutions, and one of them is super quick! 😉
I think the biggest learning curve here is creating the GUI app itself (and maybe installing Python libraries from a requirements file... It's the first time we do it on this channel, and now when I think of it - I could have simplified it further 🙃).
⏰⏰⏰ QUICK SOLUTION ⏰⏰⏰
------------------------------------------------------------
1️⃣ step 1: Start with a very simple GUI app that doesn't involve a database at all! This is the first app I've ever made (I had no idea what a GUI was before... it's something that was requested on the channel and I went down the rabbit hole as a result 😀):
⭐ Create a simple GUI app with Tkinter:
th-cam.com/video/itRLRfuL_PQ/w-d-xo.html
❗You may need to adjust "filetype" tp "filetypes" in line 24:
file = askopenfile(parent=root, mode='rb', title="Choose a file", filetypes=[("Pdf file", "*.pdf")])
An alternative simple GUI app tutorial (with a much bigger font hahaha) that you may like even more is my Trivia Game (it's using nicer GUI library named PyQT5 😉):
⭐ Create a simple GUI app with PyQt5:
th-cam.com/video/9iZLDnW_vwU/w-d-xo.html
And instead of creating a special database, we fetch data directly from the internet using a beginner-friendly site named Open TriviaDB:
⭐ PART 2 - Get Trivia Questions for GUI app with PyQt5:
th-cam.com/video/r2ZN0mTDnPc/w-d-xo.html
BTW - that's the same app we have converted in the auto-py-to-exe tutorial I mentioned at 03:46 😊
2️⃣ step 2: follow the instructions of the current tutorial with the notes:
- at 15:30 click "add files" instead of "add directories" to include logos.
- at 20:00 no need to add special subfolders because in both cases the logos are in the exact same folder as the app itself.
⏰⏰⏰ LONG SOLUTION ⏰⏰⏰
------------------------------------------------------------
1️⃣ step 1: learn about SQLite, which has a very nice beginner-friendly database engine:
⭐ SQLite Basics:
th-cam.com/video/Ohj-CqALrwk/w-d-xo.html
❗you'll need to add connection.commit() after each data insertion command, I've accidentally skipped it in the tutorial above 😅
2️⃣ optional step 2: practice your SQLite skills and learn how you can generate databases by automatically copying them from the web (what we call Web Scraping):
⭐ Web Scrape Databases with SQLite and Mechanical Soup:
th-cam.com/video/MkGQmZoMuRM/w-d-xo.html
This once includes the connection.commit() command I've mentioned above 😉
3️⃣ step 3: follow my Random Recipe Picker tutorial:
⭐ Create GUI App with SQLite and Tkinter (Random Recipe Picker):
th-cam.com/video/5qOnzF7RsNA/w-d-xo.html
4️⃣ step 4: follow the instructions of the current tutorial as now you have all the tools required to understand it 🥳🥳🥳
------------------------------------------------------------
In terms of the rest of your comment (sorry, I had to start with the instructions because I'm assuming other folks will struggle with the unusually advanced level 😅)
We have incredibly similar life views! I couldn't agree more with comparing to the past versions of ourselves! I think that's the reason why it took me so long to finish this tutorial hahahaha, I wanted it to be better than anything I've ever done before 😅😅😅 We don't necessarily need to be the best, somebody will always be better, smarter or faster (well... unless we're Elon Musk or Michael Jordan or something hahaha) - but there must always be progress! our biggest competition should always be our past self, otherwise, life will be very stressful 😊
And sorry about the super long comment hahaha... I multiply your infinite loop times millions! I wouldn't have the motivation and drive to keep doing this without the incredible support of the viewers' community! And actually - I wouldn't know so much about programming if experienced developers weren't kind enough to share their expertise with me in the comments. I may be the presenter behind this channel, but I can only take a fraction of the credit. I've learned more from viewer comments than from University and hopefully, this comment will help lots of talented aspiring developers such as yourself on their exciting journey! 🙂🙂🙂
OK, I think I accidentally wrote a book instead of a comment hahahaha... I'll go rest now XDDDDDDDDDD
Thank you so much once again!!
Could you maybe make a oop video where you incloud sql, some graphs and gui. I find that very usefull 😊😊
I rarely comment on youtube videos, but I gotta mention just how much time I saved from the MEIPASS fix from your video. Absolute lifesaver.
Yeeyyy!!! I knew folks will find it handy!! I also got stuck on it for a while until I finally figured it out 😉
This was the most complete video on this topic I have found. Appreciate the great structure and clear instruction!
I can't thank you enough for this video. Like lots of python developers I've been tearing my hair out trying to find a simple way to deploy python scripts in a way that my non pythonic coworkers can utilize them. This works so well, and it's a very familiar workflow for them to just install it like any other program. Also thank god you mentioned MEIPASS2 or I might have given up before finding the answer to that error.
Hi Marija, I just recently discovered your channel.
I often have problems evaluating and understanding documentations and plain text for myself, so I love that you visualize a lot in your videos!
The simplicity of the examples is incredibly important to understand the principle of things.
With this knowledge, it is then easier to understand complex explanations afterwards.
You have a gift for teaching and illustrating!
Besides that, it makes me very happy to see other women succeed in the IT world.
- A fellow Maria :)
Yeeeyyy!!! Welcome aboard!!! I'm so happy you enjoy my tutorials and thank you so much for the amazing comment, Mary!!! 😀😀😀
In what seems to be a previous life, I was a graphic designer, and I found that icons or symbols are much more effective than words! My boss, who trained me, used to say "Mariya, it's just a sign, nobody reads it!" and even though it was a joke - it very accurately describes reality!
Our mind tends to remember things that stand out and seeing someone talk is not very memorable (unless they talk about something extraordinary!... but I don't think GUI apps fit that category hahahaha 😅)
If find that adding some visual illustrations provides an extra layer of explanation, better captures our attention and as a result - helps us remember 🙂
I really appreciate your feedback and I'm super glad you find my examples simplistic!!! 😊
Maria's of the world unite!!! 💪💪💪
@@PythonSimplified yes! i 100% agree. Especially for things you can't see, which we have a lot in the IT world, like processes that happen 'behind the scenes'. It's essential for someone like me to see visuals. Keep up the amazing videos and know all your work is so appreciated!
@@PythonSimplified Hi Maria, I wonder if you could build a gui program that locks an exe app with given password by user and when user wants to enter that exe app, a form should asks for user a password to enter that exe app?
Today I found your channel, watched the video and I liked you - I subbed, and commented (which I do rarely). I am a beginner Python learner but you make a complicated task look simple to understand and very enjoyable. Indeed! Python Simplified. Thanks, Maria for your efforts and that is much appreciated.
Thank you for the incredible comment, and welcome aboard!! 😃😃😃
Best of luck on your Python journey! 💪
Aunty I love the way you are curious like me self, that's the question I asked me self always, but today I got the solution from you. God bless you so much
Thank you so much, I am developing a warehouse app and didn't find a tutorial for people like me. Thank you!
Milady ill slay the entire planet for you. bowing down to your extreme knowledge and experience
Okay , thank you for this turotial. Yout really did a wonderfull job, and the part where you fix one-by-one the problems is actually the best so that new guys (like me) learn to follow a process of fixing!!!!
I have never seen a tutorial that is so detailed and even inclusive of so many different scenarios that makes me save hours worth of time researching to debug on my own. tysm!!!
This is perfect! I have some python programs I've been wanting to distribute and now I have the way to do it. Thank you for your excellent tutorials, you are such an awesome teacher. :)
Yeeey! I thought you might find it useful! 😉
Thank you so much for the awesome comment and let me know how everything turned out! 😊
This year it was my 1st year in Computer science and we did Python these feedback you give is amazing thank you in advance I learn new things everyday now on holidays.
Awesome video. Like code you are so concise. No distractions and you cover a lot of ground. Having watched hundreds of programming videos I must say this was the best I’ve seen. Please keep making projects!
Thank you so much for the incredible feedback!! Super happy you like my work! 😀😀😀
I have been following your tutorials for a very long time. All are very helpful and really python simplified. Thank you and good luck.
Thank you so much, Alp!!! Glad you enjoy my videos!! 😃😃😃
After Struggling to understand how to package my application this tutorial really helped me. Some of my steps were a bit different as I didn't need to set up my assets folder but.. the step of ensuring you add the folder to this step DestDir: "{app}/ was crucial. Thank you!
Hey, awesome video!! This is the first explanation and way that worked for my self-made program.
A few things I needed to adapt was the requirements.txt file, which can be done when you are in the converter environment inside your folder where your .py program is and then you have to type in "pip freeze > requirements.txt". This creates the requirements.txt file needed for your own program.
Additionally, if you want so save things into your program files without the user to search for a folder itself for example if you use "plt.savefig("figurename.png")" then you also have to use the resource_path() function such that you use "plt.savefig(resource_path("figurename.png"))". Hope this hepls for other that also struggled.
Thanks. Also in my case it was necessary to change single '=' to '=='
It's hard to get this sort of content, great job, please keep making more on this, there are a lot of people who are very interested in distributing their own Python applications!
15:44 you can drag and drop folders, instead of use "Add folder" button.
Thanks for the tutorial 😍
Hello, I 'm from Brazil, and loved yours tutorial in python. I'm developer that keep a ruby on rails to python and loved this language. Thank you so much for help us
Thank you so much for the lovely comment Marvio!! 😃 I'm super happy you enjoy my tutorials and most of all - the best programming language in the world!! 😁😁😁
Thank you so much for this video. I've used pyinstaller for quite some time, but now I know how to make a setup file, which is quite a bit more professional! Now the only thing I need to figure out is how to add a digital signature to the program :)
At 16:25 -- what you're being asked is if you want to associate file extensions with your program. For example, you might have `.txt` files "associated" with the program _Sublime Text_ so that Sublime Text is used to open files with that extension by default (or is available in the "open with" context menu when right-clicking text files)
So, maybe users of your program want to save recipes to a file. Maybe your program can save them to files with a custom extension like `.recipe` -- then when users click on their `.recipe` files, your application will be launched with the file path provided as an argument.
Found a great channel where the presenter shows each step in details. Subbed, liked and commented.
IT was RESOURCE PATH !!! i was missing that, finally my ui files are been loaded!
thanks alot!
Thank you so much for such a clear ,step-by-step and descriptive video, not only you gave steps to follow but also gave us an approach to handle different errors...very grateful for such a wonderful explanation
You have a talent to present the information very clearly and easy to understand. I wish you had an expertise beyond Python.
I am speechless. What an amazing and big job done for this tutorial!
This is the most helpful video I have ever watched since I started programming.
Like your spirit, been watching you off and on for a year. Good stuff 👍
Thank you so much Jim! :)
Holy cow this was super helpful and well explained. Thank you so much!
Great video as everyone Maria does. Great teacher. Thanks. By the way, her talking is very well understood by non spoken english people.
Your teaching is brilliant. Thanks for this. Would love to see this for Mac too. Also how to create signups and payments for a desktop app and how to handle updates.
Absolutely fantastic! Thank you so much for slowly going step by step and alerting us to potential errors!
Thank you for creating such an informative and helpful video on converting GUI app to a real program using Python to exe to setup wizard. Your explanation was clear and concise, and the step-by-step demonstration made it easy to follow along.
I was able to successfully convert my own GUI app using the PyInstaller and Inno Setup tools, and I couldn't have done it without your guidance. Your video has been a valuable resource for me and I appreciate the time and effort you put into creating it.
Once again, thank you for sharing your knowledge and expertise with us. Looking forward to more informative videos from you in the future.
It is too good to be true to see a person on youtube making things simple for people. I was stuck on creating a setup wizard until i found your video and the way you explained really touched my heart! Thanks BTW Can i send you my setup wizard so you can play my game! Please let me know if i can!
Thanks for the turtorial!! ☺️
I tried doing it by myself a few years ago - I failed miserably. Haha. So, I got an idea about the hard-work you would have to put in to make this all work. My God!
really great tutorial! you explained it so well, and i like the extra tips in planning ahead for file organization! i wanna go try this myself! thank you!
Thanks , i made a weather app using tkinter and i have created a setup file for it using this video.
Thanks for this wonderful video .
All the best for the future. ❤❤❤❤
So funny I was just thinking about setting up one of my scripts to be a .exe and the next day boom this video pops up on youtube. Thanks!
Perfect timing, eh?? 😉
Super happy you found it useful! I was actually supposed to release it a day before but decided to refilm the intro in the last moment 😅😅😅
@@PythonSimplified Same Here! Thanks a thousand times! Would you recommend the same process for a React-Django app? (made front end with react and back end with Django...so wondering what is best for the next step to convert it to a PWA or exe file..wonder what would be the best method)
Every time I watch one of your videos, I learn something new. Thank you very much for all your efforts and for sharing your knowledge! 🌹
Hi Mariya. Thanks so much for this video. I just installed and run my app in my second pc and everything went perfectly. I was so happy to see it running. Thanks again
Thank you very much. Been searching everywhere for a proper way to package to exe file with installer. Found your useful video.
Thanks for the video. The a.datas is used to import files to the temp path that pyinstaller uses, as you put your files in the same folder as exe file, it will be fine in not importing the resources in spec, but if you import, then the files will be in the temp folder and your program will look for them there
This is gold, Mariya! I haven’t tried it yet, but I e seen plenty of people frustrated with building up the app. I’ll definitely give it a try!
Amazing thanks so much. Been using this approach successfully a lot!
Very nice, a real gem to add to the toolchest of Programming the Computer for Fun and Profit.
what an awesome tutorial i have seen alot of tutorials on this but i have to say this is by far the most in depth concise tutorial that i know of to date i salute you
Hi Maria) Thanks for the useful video. I haven't programmed for 7 years and the last time I did it was in Pascal... And now I had to go back to this unpredictable track of programming errors, including errors when packing python code into an .exe executable. By the time I watched your video I had already remembered how to communicate with a respected personal computer, python is very simple, so with mastering the language had no particular problem, although I forget it as quickly. Already wrote the first version of the program, it's a program to summarize the graphs given by the points x and y on the Cartesian coordinate plane, it turns out that Microsoft Excel has no such action.
So what I wanted to write about, when packing the .py file into an .exe I also had a problem! I solved it myself, but who knows, maybe I will step on the same rake as you, when updating the program, which came in your way. You did a great job and gave more information so that people like me really have less headaches. Thank you again!
P.S.: English is not my native language, I apologize if I wrote somewhere not quite clear:)
Only recently discovered your channel, thank you so much for the tutorials, you are my favourite Python channel from now on !!👍
Yeeeyy!!! Super happy to hear, Paul!! Thank you so much and welcome aboard! 😃😃😃
Nice job , you explain it very well , i'm french and it's not easy for me to understand the english tutorials but not with you , continue to speak like that it's wonderfull .
Thank you for your lovely and very competent content(s) Mariya
Congratulations Mariya, your explanation is very clear.
I wish I could learn Python and go as deep as you go.
I cannot wait to get to this point. Working on my project.. fun times.
Parabéns Mariya, seu vídeo explicou de forma simples e objetiva! Continue assim🎉👏
This helped me so so much! For some reason, the MEIPASS was not working. In the end, I used this approach:
script_directory = os.path.dirname(sys.argv[0])
logo_icon_path = os.path.join(script_directory, 'logo.ico')
hi can you help, resourcepath not working for me
@@legendaryboots I can try to help you. That code I posted, works when the logo.ico is on the same folder than the script. That code gives me the full path to logo.ico.
Try to put the resource you are loading on the same directory as your script.
OR you may need to add .replace('\\', '\\\\')
os.path.join(script_directory, 'logo.ico').replace('\\', '\\\\')
Mariya, You always have the best videos/tutorials. Thank you.
thanks a lot for the tutorial!!! It help me a lot. I finally know how to convert my python project into an .exe file without getting data error!
Thank you Mariya.
I'm a big fan, I love the way you deliver your tutorials.
@Marija, thanks so much, this is a video that cannot be lost. Your channel is amazing.
Hello Mariya, I just discovered your channel today and I love how descriptive you are with every necessary task! I've been developing fun software projects over the years as more of a hobby but mainly in Visual Basic 6.0. I figured it was time to start learning Python since it appears to be the most popular and I've found that in theory it is much easier than VB6.0 the way it is structured, but it's still going to be a learning curve for sure! I believe your content will help me learn Python quickly and I would just like to say thank you very much, and keep up the great work! I Liked and Subscribed! :)
I'm Also
the best tutorial! Congratulations!!! I`m André, from Brazil.
Fun stuff! this is exactly what I needed for a project I am working on. Coming from the Linux ecosystem, there we package apps a little different and as such, this would not have been easy to figure out on my own. many thanks champion!
Great video Mariya!
Thank you so much! I've been struggling with this for days and then I follow your video set by step and it works perfectly!
Very good! You are very talented teacher. Great presentation, great pace, clear English a rare combination.
hi,mariya sha! your tutorials are very very important for me,i'm just under devolping whatsapp user bot scripts but i'm just kid at 17age love you from sri lanka! 😙
It's complex, but you explain it so well that it seems very simple. I love your videos!
That was a wonderfull turorial for beginners in python GUI's . Good job!!
Meipass2, what a golden tip. Changes the whole game.
Very helpful...for a long time I was looking to build an app like this. Thank you.
Thanks for the guide, I didn't know inno setup, thanks to you now I do😄
Thank U. Very detailed. I am using this procedure to distribute a new educational game for young children.
You are a gem, this was fun to watch!
Video cut at 0:17 seconds 😂nice that mouse in the back ground moved lol 😂
Hahahaha I recently found a video transition named "morph cut" that reminds me of The Matrix 😁😁😁 I use it all the time now :)
@@PythonSimplified i want you be my girlfriend
Thanks for this extremely useful upload. You have a very positive outlook, a trait that's always nice to see and clearly helps with viewer engagement. Well done.
Really got my python skills to another level 😀 THANK YOU!
One little bit, the app is installed in Program Files x86, which indicates it's a 32bit app. If it is, that might limit you if you use more than 4GB or RAM (AI/ML type of apps). If it is in fact 64bit, you might fetch a 64 bit version of installer, or fiddle with the config to make sure it installs in the right Program files directory. Hope it helps.
Good stuff.
Agree with Mecra's post below - Kivy vids would be cool.
If Kivy vids is what you seek - you're in the right place!!! 😉
I've already filmed a bunch, for Android as well! and BTW - the brilliant developer behind KivyMD is a viewer of this channel and he joins us very often in the live chats 😃
⭐ Simple Python App with Kivy:
th-cam.com/video/YDp73WjNISc/w-d-xo.html
⭐ In addition, I've adjusted the app above to a fun Halloween version on Github:
github.com/MariyaSha/HalloweenGreetingApp
⭐ Mobile App with KivyMD - Decimal to Binary (PART1):
th-cam.com/video/ah3JeHAfM0M/w-d-xo.html
⭐ Expand Mobile App with KivyMD - Decimal to Binary (PART2)
th-cam.com/video/2aRBkAA1_9o/w-d-xo.html
⭐ Convert KivyMD Python App to Mobile App - .py to .apk:
th-cam.com/video/VsTaM057rdc/w-d-xo.html
(I've copied the links from Mecra's comment so I don't have to type everything again hahaha 😅)
Thank you so much for all the information, I had spent a lot of time working on this, but you make it look so easy, thanks!
to correct the path you can use r string format eg - r"a/vg" will automatically convert to -> "a\\vg"
Super tutorial . Great job. 👋
I'm gonna actually do this now with some stuff I have. Never really thought of distribution within an EXE/Setup for the non technical to use my stuff.
Thanks a lot. This knowledge was just not enough for me to write my applications. It remains to deal with license agreements, but I think I can handle this personally.
Now my favourite words are "ooh, sorry", "boom, done" 9:58 😍
This is a very lovely video 👌👍i was wondering if u could also do another video on how to implement software updates notifying end users about a new version of software and link to install the new version online
Thank you so much Victor!!! What an awesome idea!! 🤩🤩🤩
Inno Setup definitely provides the means of doing so:
jrsoftware.org/isfaq.php#updateinstall
If there's anything that bugs me about the current Random Recipe Picker is the washed-out colours I've used for styling!
This will give me a great opportunity to revise them to something a bit brighter and more lively! 😉
Thank you so much for your suggestion! Will definitely look into it! (not sure when though... 😅 I have a few upcoming tutorials I'd like to tackle first :))
@@PythonSimplified Yes pls, I think we'd love for you to make a tutotial for releasing updates whenever u have a chance. Thank you so much and once again great video!
Genius. Wish there was a similarly good video for mac users
Amazing. Thank you! (did you notice the ico file got left behind?) lol great video!
i love the way you explain python,actually i really love you too
Thank you so much E-Tech!! 😃😃😃
Great tutorial! I did get a bit of a jumpscare at 0:17 which was probably editing, but the mouse moving in the background had me think you might be haunted. o_o
I'm passionate about everything you offer...
If only windows defender would stop marking my .exe as a virus half of the time. That would be great.
Darn, that Windows Defender sounds like a real party-pooper!!! I'm gonna get to the bottom of this!! Do you think it's triggered by specific libraries?
@@PythonSimplified The pyinstaller bootloader is sus. All programs made with pyinstaller share it, so if someone made maleware in the past using it - antivirus software may see it as a virus. It also acts strange, making a hidden/temp folder and dumping it's payload there - that's something a virus would do!
The good news is that it happens only sometimes and only on some computers, the bad news is that it happens sometimes on some computers.
I've been told the only sure way around it is to sign the files, but you need to pay for a certificate to do it.
You're right!!! I haven't even thought of that! was too busy with figuring out how to find this temp folder rather than asking - WHY ON EARTH DOES PYINSTALLER NEEDS THIS TEMP FOLDER TO BEGIN WITH??? 😡😡😡
@iiann richard banks mentioned in one of the other comments that signtool.exe may be a good solution. I haven't had a chance to explore it yet, but check it out:
learn.microsoft.com/en-us/dotnet/framework/tools/signtool-exe
I think this might solve this ridiculous Pyinstaller vs Windows Defender issue... there must be some way which doesn't require payment.
@@sharkinahat Signing an executable for it to be malware would be an absolute blast.
You need to be a verified developer with an active distribution signature in order for defender to not scream at you instantly. Anti-malware programs technically do stuff that malware will do but they don't get picked up because they are verified companies developing them
your videos are just wonderful. Your channel is my go to for all things python
This is hype! Was looking forward to this one!
You just combine beauty and intelligence 😅, i just subscribed
Exactly the content I was looking for. Thank you
Beautifuly done, Mariya, you only have to apend those files in spec if you want to single file exe with no folders aside, then instalation is not needed, but downside is that for larger projects you have very large exe files which took long time to open, I guess this is better aproach
Aha!!! I had no idea it's even an option!! 😱😱😱
I've assumed logos/data and such cannot be bundled into the executable! I've checked Adobe, Ubisoft and Steam inside the program files - and they all had subfolders with all kinds of assets. I've just assumed it's the only way! 🙃
Thank you so much for letting me know, Sinisa!! I guess in that case, a setup file is not even necessary because the executable can be distributed on its own! 😃 (well... if it's not too big of course)
It must be how "portable" software operate! I've seen a pirated version Photoshop that consisted of a single file, you could even run it from a USB... I've always wondered how it was possible! Thanks for sharing 😁
Can you say this for me? "Moose and Squirrel!" It will make me laugh. Your accent is awesome.
ahhh! if only it was a proper Canadian accent rather than a mix of Slavic and Mediterranean 🤪hahahaha
The real test is "About" and "Buddy" 🤣🤣🤣
Wowww! Mariya this looks super easy. Well, its rather *you have made it* so easy for me to understand.
Can't wait to use it for my streamlit apps.
Absolutely amazing stuff 😍😍
Bro this is for Kivy, KivyMD, Tkinter type of librabries who create GUI's, not for something like streamlit which gives you a website
@@animemespirit1871 ohhh!!!
Thanks for letting mW know that 😔
this is very humble as well interesting to watch even though I dont want to use it :)
I have a suggestion, could u make a video about the new openai module "whisper" and how it works
for example bypassing audio captcha using it and keep up ur hard work!!
woow hace rato que no veia este canal, gran contenido como siempre, saludos desde colombia