Convert py to exe - from code to software

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ธ.ค. 2024

ความคิดเห็น • 1K

  • @maksymkovalchuk6734
    @maksymkovalchuk6734 3 ปีที่แล้ว +70

    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.

    • @PythonSimplified
      @PythonSimplified  3 ปีที่แล้ว +34

      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! 😀

    • @redthunder6183
      @redthunder6183 3 ปีที่แล้ว +1

      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.

    • @redthunder6183
      @redthunder6183 3 ปีที่แล้ว +2

      @@notramwanule1069 well, if I can run the executable file, then it clearly installed correctly, probably just in the wrong place

    • @avinashvenu7236
      @avinashvenu7236 3 ปีที่แล้ว +1

      @@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 :(

    • @arhya7452
      @arhya7452 3 ปีที่แล้ว +3

      @@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 :)

  • @jcdenton7914
    @jcdenton7914 3 ปีที่แล้ว +87

    This is something that should be taught in intro to programming courses because more people would start to make their own tools

    • @PythonSimplified
      @PythonSimplified  3 ปีที่แล้ว +18

      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 😉

    • @ovs_cosplay
      @ovs_cosplay 2 ปีที่แล้ว +3

      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.

    • @claytonbennett7797
      @claytonbennett7797 ปีที่แล้ว

      @@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?

  • @xpathservice2179
    @xpathservice2179 3 ปีที่แล้ว +55

    You may also convert the exe to an installer (using 'inno setup')

    • @Mirador1
      @Mirador1 2 ปีที่แล้ว +1

      Better with WinRAR.

  • @anikevin
    @anikevin 3 ปีที่แล้ว +25

    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.

    • @luiytheninja3655
      @luiytheninja3655 2 ปีที่แล้ว +4

      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.

    • @eckee
      @eckee ปีที่แล้ว

      ew java

    • @RiftW4lker
      @RiftW4lker ปีที่แล้ว

      Ew

  • @edoardospagnolo6252
    @edoardospagnolo6252 5 หลายเดือนก่อน

    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!

  • @souravdey1227
    @souravdey1227 3 ปีที่แล้ว

    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.

  • @exosoul
    @exosoul 3 ปีที่แล้ว +3

    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!

  • @luisandraschnik3001
    @luisandraschnik3001 3 ปีที่แล้ว +1

    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.

  • @PeetPeeet
    @PeetPeeet 2 ปีที่แล้ว +7

    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
      @ellyothim355 2 ปีที่แล้ว +2

      you've succesfully complicated everything

    • @PeetPeeet
      @PeetPeeet 2 ปีที่แล้ว +4

      @@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

  • @josedavidhernandezguerrero7337
    @josedavidhernandezguerrero7337 ปีที่แล้ว +1

    I was searching for hours and this video worked perfectly!!

  • @vikashupadhyay54
    @vikashupadhyay54 3 ปีที่แล้ว +53

    Love the way u explain programming with always smiling face ☺️

    • @PythonSimplified
      @PythonSimplified  3 ปีที่แล้ว +35

      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!

    • @watherby29
      @watherby29 3 ปีที่แล้ว +7

      Programming is a sad and lonely profession that I love.

    • @PythonSimplified
      @PythonSimplified  3 ปีที่แล้ว +4

      @@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!

    • @PythonSimplified
      @PythonSimplified  3 ปีที่แล้ว +4

      @@watherby29 it doesn't have to be sad and lonely! I know a bunch of couples where they are both programmers! 😃

    • @watherby29
      @watherby29 3 ปีที่แล้ว +5

      @@PythonSimplified They can be sad together, that sounds great ;) ahahaha

  • @jwferrazza4444
    @jwferrazza4444 2 ปีที่แล้ว +1

    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 :)

    • @PythonSimplified
      @PythonSimplified  2 ปีที่แล้ว

      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! 😁

    • @diliupg
      @diliupg 2 ปีที่แล้ว

      She's actually from Pythos! She's a queen there. :)

  • @chandanbanakar333
    @chandanbanakar333 3 ปีที่แล้ว +8

    This is the channel I never knew I needed !!

    • @tooru
      @tooru 3 ปีที่แล้ว

      Becase you didn't :harold:

  • @brijrajkacha9839
    @brijrajkacha9839 ปีที่แล้ว +1

    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.

  • @terlique
    @terlique 3 ปีที่แล้ว +7

    i've been looking for something like this for a while. thank you.

    • @PythonSimplified
      @PythonSimplified  3 ปีที่แล้ว

      You're welcome Engin, glad you found it useful! :)

  • @elsenorgato6856
    @elsenorgato6856 2 ปีที่แล้ว +1

    One of the best videos I have ever seen before about converting py to exe. Thank you so much!!!

  • @Khealim
    @Khealim 3 ปีที่แล้ว +8

    Will come super handy for my garage project, thank you for the videos, helping me out a lot recently! :)

    • @PythonSimplified
      @PythonSimplified  3 ปีที่แล้ว +1

      Thank you for the lovely feedback Khealim ! I'm always happy to help! 😁😁😁

  • @adrianblade5145
    @adrianblade5145 2 ปีที่แล้ว +1

    Tbh, I like more of these type of videos because they're short, concise and they get to the point.

  • @taranggarlapally2693
    @taranggarlapally2693 3 ปีที่แล้ว +6

    Thank you! Was searching for this so long.

  • @JRis44
    @JRis44 2 ปีที่แล้ว

    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.

  • @sb2828sb
    @sb2828sb 3 ปีที่แล้ว +3

    Wow! This is what I am looking for! Thanks for your video and all the detailed instructions.😃

  • @KerimovKerim
    @KerimovKerim 2 ปีที่แล้ว +1

    Very helpful video . Thanks a lot Mariya 👍

  • @sentinel5943
    @sentinel5943 3 ปีที่แล้ว +4

    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

    • @PythonSimplified
      @PythonSimplified  3 ปีที่แล้ว +1

      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!

  • @sky1992ist
    @sky1992ist 2 หลายเดือนก่อน

    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.

  • @ZurioSi
    @ZurioSi 3 ปีที่แล้ว +3

    AWESOMEEE!! hahaha. Keep making sick videos like this, we appreciate it so much!. Have a wonderful day.

    • @PythonSimplified
      @PythonSimplified  3 ปีที่แล้ว +2

      Thank you, thank you, thank you! 😀
      What did you think about auto-py-to-exe compared to the pyinstaller way??

    • @ZurioSi
      @ZurioSi 3 ปีที่แล้ว +1

      ​@@PythonSimplified It's fancier, I like it!.

    • @PythonSimplified
      @PythonSimplified  3 ปีที่แล้ว +1

      ​@@ZurioSi Fancy is great! hahaha 😁

    • @arksindustry2171
      @arksindustry2171 3 ปีที่แล้ว

      @@PythonSimplified feels like software designer and got a chance to spread our projects easily

  • @ru2979
    @ru2979 3 ปีที่แล้ว

    I am seriously addicted to your videos 😵😵😵🙃🤗

  • @benettsif4147
    @benettsif4147 3 ปีที่แล้ว +3

    it wasn't as complicated as i thought it would be. Thank you for sharing this!!

    • @PythonSimplified
      @PythonSimplified  3 ปีที่แล้ว +1

      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! 😀

    • @pvic6959
      @pvic6959 3 ปีที่แล้ว +1

      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

  • @peterradics4354
    @peterradics4354 ปีที่แล้ว +1

    I love you, Lady!
    This video is still great!

  • @user-dy5ho4sj2w
    @user-dy5ho4sj2w 3 ปีที่แล้ว +3

    I was hoping you’d do this one!! You are so awesome. 👏😲

    • @PythonSimplified
      @PythonSimplified  3 ปีที่แล้ว +1

      Thank you so much Josh! This tutorial was highly requested so I had no where to run! hahaha 😁

  • @Igor_Kosoev
    @Igor_Kosoev 2 ปีที่แล้ว +2

    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!

  • @InvadindoaCena
    @InvadindoaCena 3 ปีที่แล้ว +26

    Thank you.

    • @csuzukib
      @csuzukib 3 ปีที่แล้ว

      Que isso kkkk

  • @Bebebaby1988
    @Bebebaby1988 2 หลายเดือนก่อน

    Bruh, you really helped me out while GPT didn't. Thanks a lot!

  • @Anhar001
    @Anhar001 3 ปีที่แล้ว +7

    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
      @AlexJaeger716 3 ปีที่แล้ว

      Does it turn the source code into bytecode so it’s unreadable?

    • @Anhar001
      @Anhar001 3 ปีที่แล้ว

      @@AlexJaeger716 it turns it into machine code same as when you compile a C program into a native executable

    • @AlexJaeger716
      @AlexJaeger716 3 ปีที่แล้ว

      @@Anhar001 Thanks for the response! So people can't decompile it?

    • @Anhar001
      @Anhar001 3 ปีที่แล้ว +1

      @@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

    • @AlexJaeger716
      @AlexJaeger716 3 ปีที่แล้ว

      @@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?

  • @mani-2831
    @mani-2831 3 ปีที่แล้ว

    Learn a lot watching your videos. ❤️ from Srilanka

  • @2BeersInside
    @2BeersInside 3 ปีที่แล้ว +5

    Thank you for your tutorials! They are awesome. Would you be so kind to show how to compile a SETUP file for the app?

    • @PythonSimplified
      @PythonSimplified  3 ปีที่แล้ว +2

      I sure will! 😊 thank you so much for suggesting and for your lovely feedback! 😁

  • @bottyeyes5812
    @bottyeyes5812 2 ปีที่แล้ว

    I almost fell in love ^^ I had to watch it 3 times because I got lost in your sweet smile xD keep making videos !❤

    • @bottyeyes5812
      @bottyeyes5812 2 ปีที่แล้ว

      it was also very helpful

  • @luisfernandocuestasanchez4343
    @luisfernandocuestasanchez4343 3 ปีที่แล้ว +3

    hahaha you are just adorable
    thanks a lot
    Blessings

    • @PythonSimplified
      @PythonSimplified  3 ปีที่แล้ว

      Thank you so much Luis! Blessings back 😇

  • @martijnb5887
    @martijnb5887 2 ปีที่แล้ว +1

    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?

  • @bekat2265
    @bekat2265 3 ปีที่แล้ว +3

    Спасибо, Машка)

  • @bartson4425
    @bartson4425 ปีที่แล้ว

    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

  • @looongjek
    @looongjek 3 ปีที่แล้ว +3

    как я успел пропустить эти 8 минут)

    • @PythonSimplified
      @PythonSimplified  3 ปีที่แล้ว +2

      a voobshe to 5:55 minut! 😁 hahaha
      skoro budut "live lessons" tak 4to budit trudneie propustit 😉

    • @stepanfedoseev2807
      @stepanfedoseev2807 3 ปีที่แล้ว

      ​@@PythonSimplified Do you speak Russian? Or translator?

    • @Lord__Of__Darkness
      @Lord__Of__Darkness 3 ปีที่แล้ว

      ​@@stepanfedoseev2807 в чем тогда прикол писать транслитом, если переводчик переводит? Так пишуть только потому, что нет на клаве русской раскладки. А так ответ очевиден

    • @AntiBandera
      @AntiBandera 3 ปีที่แล้ว

      @@Lord__Of__Darkness У нее характерный акцент ...

    • @AntiBandera
      @AntiBandera 3 ปีที่แล้ว

      @@stepanfedoseev2807 стефан цвейг !

  • @darraghroper1293
    @darraghroper1293 ปีที่แล้ว

    This video was so well made that I watched the whole thing and I do t even need to convert my .py files

  • @sanukathennakoon8133
    @sanukathennakoon8133 3 ปีที่แล้ว

    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 !

  •  3 ปีที่แล้ว +1

    thanks so much for the tutorial I hope you reach 100k as soon as possible

  • @the_coding_machine123
    @the_coding_machine123 3 หลายเดือนก่อน

    Thank you so much! You made it very easy for me, i've been searching a lot and finally found this method

  • @perfil_anonimo_83_br
    @perfil_anonimo_83_br 3 ปีที่แล้ว

    Hi, i am from Brazil. I am a computer engenier student and i am watching your videos.

  • @udbhav3760
    @udbhav3760 3 ปีที่แล้ว +1

    Very very thank you your video was so helpful all the best for the next video 👍

  • @zulhishamtan4308
    @zulhishamtan4308 11 หลายเดือนก่อน +1

    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.

  • @whyunlux
    @whyunlux 3 ปีที่แล้ว

    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.

  • @EVENINGFF
    @EVENINGFF 3 ปีที่แล้ว +1

    It helped me alot. I was searching youtube for this topic since 19 days but finally I got this video. Thanks
    Love from india..❤️❤️

    • @PythonSimplified
      @PythonSimplified  3 ปีที่แล้ว

      Yey! I'm so I happy I could help! 😁😁
      Greetings from Canada! 😊

  • @HummingLaught
    @HummingLaught 2 ปีที่แล้ว

    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 :)

  • @Wujajin
    @Wujajin ปีที่แล้ว +1

    I love you for sharing these vidoes!

  • @jorgeoctaviototenajaramill7658
    @jorgeoctaviototenajaramill7658 ปีที่แล้ว

    You're my favorite coding youtuber :)

  • @cesarl.2954
    @cesarl.2954 ปีที่แล้ว

    You kept the video short and it was very good regardless. You are amazing.

  • @garvitkohli9142
    @garvitkohli9142 3 ปีที่แล้ว +1

    Your windows ui in file explorer looks clear and better. Do you use a different font? Or maybe a different setting?

    • @PythonSimplified
      @PythonSimplified  3 ปีที่แล้ว

      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 😉

  • @leonisadonis
    @leonisadonis 3 ปีที่แล้ว

    SUPER HELPFUL
    pyinstaller was getting on my nerves but this is better THANK YOU

  • @BJCP
    @BJCP 3 ปีที่แล้ว +2

    Missed the live chat but in this case you've left no questions! As always, fantastic content.

  • @alikat5164
    @alikat5164 2 ปีที่แล้ว +1

    Hey, i have a Problem : in 0:33 i got this : could not find conda environment : main

    • @PythonSimplified
      @PythonSimplified  2 ปีที่แล้ว +1

      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! 😁

    • @alikat5164
      @alikat5164 2 ปีที่แล้ว

      @@PythonSimplified thank you so much 👍

  • @justbehappy9617
    @justbehappy9617 2 ปีที่แล้ว

    This video made my day! You are a great help! I just finished my 1st project. Thank you! New subscriber here.

  • @ALessOffensiveName
    @ALessOffensiveName 11 หลายเดือนก่อน

    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.

  • @cmlosaria
    @cmlosaria 8 หลายเดือนก่อน

    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?

  • @vishnusudheer6049
    @vishnusudheer6049 ปีที่แล้ว +1

    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

  • @FilipeFontenele
    @FilipeFontenele 3 ปีที่แล้ว

    Hi Maria, Would you please give us a run down of your computer (hardware) set up.. I really love that monitor and keyboard.

  • @m_abhijit_
    @m_abhijit_ 3 ปีที่แล้ว +1

    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 !

  • @popovdev
    @popovdev ปีที่แล้ว

    Thank you for your videos, your content is not the same as content from other channels. And it’s amazing!

  • @Tobs_
    @Tobs_ 3 ปีที่แล้ว +2

    Awesome, I like the front end for the py to exe, was not aware it existed. Thanks for sharing 👍

    • @PythonSimplified
      @PythonSimplified  3 ปีที่แล้ว +2

      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! 😃

  • @ragheedmaloyan3730
    @ragheedmaloyan3730 3 ปีที่แล้ว

    very helpful videos, thank you!
    I'm clicking like before watching the tutorial. Good job Mariya!

  • @RGeoOfficial
    @RGeoOfficial 2 ปีที่แล้ว

    Thanks a lot, Mariya! It helped me a lot. Everything resulted as expected. Keep your work up. Greetings from Peru. 🤗

  • @adamskali9105
    @adamskali9105 ปีที่แล้ว

    This video is a gem for a beginner. Thank you so much

  • @Musikfueralle
    @Musikfueralle 10 หลายเดือนก่อน

    Very good explained - you are playing in the champions league - Thank you very much👍

  • @DrVulcanXmX
    @DrVulcanXmX 3 ปีที่แล้ว

    You are a great teacher Mariya!

  • @ConsultingjoeOnline
    @ConsultingjoeOnline 2 หลายเดือนก่อน

    Isn't one file option to generate a single exe and no directory of files in addition to the exe?

  • @an1rb
    @an1rb 3 ปีที่แล้ว +2

    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.

    • @rabiafidan9256
      @rabiafidan9256 2 ปีที่แล้ว

      What is the catch then? Why is there a directory option?

  • @thechadeuropeanfederalist893
    @thechadeuropeanfederalist893 2 ปีที่แล้ว

    Does the .exe get very big, because it needs to include the whole python interpreter, i assume?

  • @kurup6144
    @kurup6144 3 ปีที่แล้ว

    I waste my whole day for searching gui.py to exe convention but your video help me losts soo thank you so much 😊😊

  • @yassin_el5856
    @yassin_el5856 2 ปีที่แล้ว

    Thanks python simplified I love you, you're maybe 90% programmer, but you're also a 100% amazing

  • @jivandibiase7886
    @jivandibiase7886 3 ปีที่แล้ว

    Yooo these tutorials are short and straight to the point. This channel is going places! 💪

  • @NoamAsulin
    @NoamAsulin 3 ปีที่แล้ว +1

    Great stuff ! thx ! Just what I needed . Subscribed !

    • @PythonSimplified
      @PythonSimplified  3 ปีที่แล้ว

      תודה רבה נועם, שמחה לשמוע! 😀
      Welcome aboard! 😁

  • @neodaltiair8624
    @neodaltiair8624 ปีที่แล้ว

    Do you only add source files? If you are reading from text files do you need to add those too?

  • @ShahryarShayan
    @ShahryarShayan 2 หลายเดือนก่อน

    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

  • @mohammadfallah.rasoulnejad5379
    @mohammadfallah.rasoulnejad5379 3 ปีที่แล้ว

    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.

  • @jorgegomes83
    @jorgegomes83 3 ปีที่แล้ว +1

    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!

  • @chaghlarblabla5157
    @chaghlarblabla5157 2 ปีที่แล้ว

    Mariya! i'Ve barely realized this tut. WOuld You compare this one to pyinstaller?

  • @magiczico
    @magiczico 3 ปีที่แล้ว +1

    Stunning as usual.
    Thanks for the very helpful vid.

  • @DexNeXuS1
    @DexNeXuS1 2 ปีที่แล้ว +1

    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?

    • @PythonSimplified
      @PythonSimplified  2 ปีที่แล้ว +1

      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! 😊

    • @DexNeXuS1
      @DexNeXuS1 2 ปีที่แล้ว

      @@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. 😊

  • @RonalRomeroVergel
    @RonalRomeroVergel ปีที่แล้ว

    can u do the tutorial since the beginning i dont know how to make the virtual environment....

  • @AkhtarReviews
    @AkhtarReviews ปีที่แล้ว

    To the point!! Worked well. Thanks.

  • @SUBORNOVISION
    @SUBORNOVISION 2 ปีที่แล้ว

    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 .

  • @lau74ra
    @lau74ra ปีที่แล้ว

    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

  • @AlexRodriguez-do9jx
    @AlexRodriguez-do9jx 2 ปีที่แล้ว

    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?

  • @peacecitizen1
    @peacecitizen1 6 หลายเดือนก่อน

    Thanks for the vid, worked flawlessly!

  • @renatorobles7440
    @renatorobles7440 3 ปีที่แล้ว +1

    ¡Thanks! Merci beaucoup et bonjour du Mexique 🇲🇽🇲🇽👏❤️🙂☕👍🏻

  • @Shiffo
    @Shiffo 2 ปีที่แล้ว

    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?

  • @technosolutionspk
    @technosolutionspk 3 หลายเดือนก่อน

    Great video...great and lovely explanation..😊😊

  • @g2uu61
    @g2uu61 3 ปีที่แล้ว

    Thanks sis... for sharing your valuable knowledge.
    It help me in project development.

  • @يزيدالعرفجي
    @يزيدالعرفجي 3 ปีที่แล้ว +1

    Thank you, you helped me a lot, but do i need " setup " to give my app to someone else ?

  • @nobodyeverybody8437
    @nobodyeverybody8437 3 ปีที่แล้ว

    Simple, fluent and nice tutorial, thumbs UP

  • @severinmarco
    @severinmarco ปีที่แล้ว

    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?

  • @mitch_the_-itch
    @mitch_the_-itch ปีที่แล้ว +1

    Youre an awesome teacher, thank you.

    • @PythonSimplified
      @PythonSimplified  ปีที่แล้ว +1

      Thank you so much Mitchel! :)

    • @mitch_the_-itch
      @mitch_the_-itch ปีที่แล้ว

      @@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.

  • @Ceez747
    @Ceez747 ปีที่แล้ว +1

    Is the main file for my webpage the index page or the .py one?

    • @PythonSimplified
      @PythonSimplified  ปีที่แล้ว

      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