Beginner's Guide to cx_Freeze: Creating Standalone Python Applications

Поделиться
HTML-код
  • Опубликовано: 4 сен 2024

Комментарии • 21

  • @clapbxt
    @clapbxt Год назад +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 6 месяцев назад

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

  • @ShivKatira
    @ShivKatira 11 месяцев назад +1

    Underrated channel

  • @thienphan2204
    @thienphan2204 Год назад

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

  • @artlover441
    @artlover441 Год назад

    Great tutorial!! Thanks a lot!

  • @geraldmorgan1307
    @geraldmorgan1307 Год назад +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 4 месяца назад

    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 Год назад +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  Год назад

      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  Год назад +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 Год назад +1

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

    • @clapbxt
      @clapbxt Год назад +1

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

  • @LenochJ
    @LenochJ Год назад

    10/10, thank you

  • @chriskeo392
    @chriskeo392 11 месяцев назад

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

  • @DerickTherving
    @DerickTherving Год назад

    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.

  • @hamzidelta
    @hamzidelta 6 месяцев назад

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

    • @coderslegacy5661
      @coderslegacy5661  6 месяцев назад

      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.

  • @csd4ni3l
    @csd4ni3l Год назад

    first :)

  • @Thehouse385
    @Thehouse385 7 месяцев назад

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

    • @coderslegacy5661
      @coderslegacy5661  7 месяцев назад

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