Beginner's Guide to cx_Freeze: Creating Standalone Python Applications

Sdílet
Vložit
  • čas přidán 6. 09. 2024

Komentáře • 21

  • @clapbxt
    @clapbxt Před rokem +7

    Best coding video i’ve watched. Not because of quality (which is great), but because you purposefully caused errors to show fixes. 11/10. Keep it up!

  • @Google.clouds
    @Google.clouds Před 6 měsíci

    The actual video I was searching for. You can't imagine how much it helps me
    🤩🤩

  • @ShivKatira
    @ShivKatira Před 11 měsíci +1

    Underrated channel

  • @geraldmorgan1307
    @geraldmorgan1307 Před rokem +1

    Self taught programmer, Having trouble with location to install cx_Freeze. I installed at python script folder. It shows in lib and site packages. He seems to have put in VCS folder. I'm not sure where I should have it. Please help.

  • @ltboliver
    @ltboliver Před 4 měsíci

    Nice tutorial, but you forgot to say that 'include_files': ['directory_name', 'directory_name', etc] must be in build_options too for those who used directories in the programm. Anyway, It's possible just copy the directories for where is the exe file.

  • @shortguy436
    @shortguy436 Před rokem +1

    This is a very good tutorial, however, what I want to know is when would I use this over Pyinstaller? It seems that Pyinstaller is better because it doesn't add all your dependencies.

    • @coderslegacy5661
      @coderslegacy5661  Před rokem

      Pyinstaller actually does add most, if not all of your dependencies. You can verify this by using Pyinstaller in a virtual environment. I actually made a video on that where we observed a 40% improvement in size.
      cx_freeze has one main advantage over pyinstaller, which is load time. Pyinstaller applications load almost 2x slower than cx_freeze. It's a fair trade for a little extra time spent during the compilation process.

    • @coderslegacy5661
      @coderslegacy5661  Před rokem +1

      I also made an article on my website comparing Pyinstaller to cx_freeze and another similar library. You can check it out if you want.
      coderslegacy.com/better-alternatives-to-pyinstaller/

    • @shortguy436
      @shortguy436 Před rokem +1

      @@coderslegacy5661 I see, thanks for the explanation! I'll go read your article about the comparison

    • @clapbxt
      @clapbxt Před rokem +1

      I tryed pyinstaller and it kept coming up with errors on mac, so maybe thats a good reason!

  • @DerickTherving
    @DerickTherving Před rokem

    CXFreeze keeps sending me error: [WinError 5] Access is denied. I'm in admin command prompt and everything. I CANNOT figure out why it's happening. Nothing is open at the same time I run this either.

  • @chriskeo392
    @chriskeo392 Před 11 měsíci

    How about pointing it to a specific config file for different environments?
    Dev
    Qa
    Prod

  • @thienphan2204
    @thienphan2204 Před rokem

    thanks you very much! I'am from VietNam. Video is good🥰🥰

  • @hamzidelta
    @hamzidelta Před 6 měsíci

    can we make a single exe for both 32 bit and 64 bit? any solution

    • @coderslegacy5661
      @coderslegacy5661  Před 6 měsíci

      Doesn't sound possible to me. Most software that you download will present you with either 32 or 64 bit download options. You can always attempt to disguise the fact that you have two separate EXEs though, like using a third setup exe which detects whether the system is 32 or 64 bit, and installs the correct one. You can look up installers like innosetup for this purpose.

  • @Thehouse385
    @Thehouse385 Před 7 měsíci

    why did I get an error right at the cxfreeze-quickstart 😭😭😭😭

    • @coderslegacy5661
      @coderslegacy5661  Před 7 měsíci

      You can just make the cx_freeze setup file directly. No need to use the quickstart command.

  • @artlover441
    @artlover441 Před rokem

    Great tutorial!! Thanks a lot!

  • @LenochJ
    @LenochJ Před rokem

    10/10, thank you

  • @csd4ni3l
    @csd4ni3l Před rokem

    first :)