Пікірлер
@smileyabel
@smileyabel 12 сағат бұрын
idk, you could have explained more how the numbers that appear in the hash array and how they negate. I understand what you are doing but to the early programmer it might be better to explain hash. downvote.
@martinhoneves
@martinhoneves 27 күн бұрын
I do not understand how the comparison between pyinstaller and Inno Setup. They do fundamentally different things. Inno does not make python script faster, it makes a installer file to allow users to install the compiled version of the program.
@fatimahabdulmohsin3777
@fatimahabdulmohsin3777 2 ай бұрын
Finally 🎉 best solution 100%
@Vmos710
@Vmos710 3 ай бұрын
kindly show for multiple python files
@mobolaji.hackerx
@mobolaji.hackerx 5 ай бұрын
can we use iexpress
@kirthika9228
@kirthika9228 5 ай бұрын
then what about the constrains no of elements should be less than 100
@maryamraza8850
@maryamraza8850 5 ай бұрын
😭😭why am I getting the error
@riteshkarmakar3597
@riteshkarmakar3597 10 ай бұрын
Thank you very much!
@MohamedSaeed-sl6ew
@MohamedSaeed-sl6ew Жыл бұрын
great
@khalilebdelli6199
@khalilebdelli6199 Жыл бұрын
thank you for the great video, when i tried this method with a bigger project with linked files and subfolders, i get an error when running for example i have some widgets to load from a widgets directory , and for some reason the program doesn't recognize it ERROR : FileNotFoundError: [Errno 2] No such file or directory: 'widgets\\main_widget.ui' i have tried replacing the main.exe file to the root of the project folder, it works when i run it using the exe from pyinstaller , but opon running after installation using your method , i get that error message
@vedantkadam4015
@vedantkadam4015 Жыл бұрын
can you explain it ?
@dork1161
@dork1161 Жыл бұрын
Python Ttkinter project not working when converted to .exe software opening properly but problem is before converting script in to exe buttons are properly working but when i converted it in to exe the gui is not responding means software is opening but kind of dummy software you'll feel like. also not showing any error help dont know how to solve also gui is made with tkinter
@novianindy887
@novianindy887 Жыл бұрын
Hi, is it compiled to C ? or it's just a regular pyInstaller with python interpreter installed?
@MohamedSoliman-t5f
@MohamedSoliman-t5f Жыл бұрын
Thx bro
@PujaaSarangi
@PujaaSarangi Жыл бұрын
Thanks a lot bro !
@bibinkunjumon
@bibinkunjumon Жыл бұрын
can u try streamlit similar way
@bunnytheweebster
@bunnytheweebster Жыл бұрын
thanks it helped me
@Sui_7K
@Sui_7K Жыл бұрын
bro why we import collection and import counter
@catglue3310
@catglue3310 Жыл бұрын
Counter from the collections module enables us to count the no. of objects
@rajsinghchauhan6525
@rajsinghchauhan6525 Жыл бұрын
Man seriously, just how much simple and to the point instructions were, I am really in awe and thanks for making this video your earned a sub
@catglue3310
@catglue3310 Жыл бұрын
Glad you liked it!
@ayushthombare9235
@ayushthombare9235 Жыл бұрын
recommended..... 🤞
@jaeshikyoon6874
@jaeshikyoon6874 Жыл бұрын
Nice!! Thank you for the video!!
@absolutelyfilthybastards
@absolutelyfilthybastards 2 жыл бұрын
Great tutorial... Worked well.. However when i Installed the exe we just made, cmd still launched behind it... Did i do something wrong?
@catglue3310
@catglue3310 Жыл бұрын
I guess there is a flag to mention that your app has a gui. If you enable that, cmd would not launch
@MKSundaram
@MKSundaram 2 жыл бұрын
Sir, my program has flask, mysql. How would I convert this python program to desktop app? Thanks
@catglue3310
@catglue3310 Жыл бұрын
Flask cannot be converted to desktop app. You can deploy it as a web application
@videosyarego
@videosyarego 2 жыл бұрын
if I use this metod the antivirus defender wont detect it like a virus?
@catglue3310
@catglue3310 Жыл бұрын
Yes that is possible, you need to sign the executable to avoid such issues.
@VisualsofAyan
@VisualsofAyan 2 жыл бұрын
No words to describe how much helpful this video was!!! Thanks a million 🙏
@catglue3310
@catglue3310 Жыл бұрын
Glad you liked it!
@frontogaming3338
@frontogaming3338 2 жыл бұрын
I faced error "pyinstaller is not recognised as internal or external command pls help"
@catglue3310
@catglue3310 Жыл бұрын
install pyinstaller using the command 'pip install pyinstaller'
@kingsnow6718
@kingsnow6718 2 жыл бұрын
I do not like this...Plz tell me how can we fast startup exe with only pyinstaller onefile.... making setup file is not a good idea in my case
@catglue3310
@catglue3310 2 жыл бұрын
With pyinstaller, you cannot get fast startup with a single file
@kingsnow6718
@kingsnow6718 2 жыл бұрын
@@catglue3310 plz let me knw any other way ..i have tried auto py also...but i dont want to make setup file..or multiple file
@alphaterra59
@alphaterra59 2 жыл бұрын
Thanks
@richerite
@richerite 2 жыл бұрын
What’s the actual difference in this approach? In the pyinstaller extracted method also there are multiple files, same as inno setup
@catglue3310
@catglue3310 2 жыл бұрын
Well, with pyinstaller you have no way of really installing your program as an application in windows. It would just be like a file that would be executed when you click on it. With this method, we install the program as an application in the system, give it desktop shortcuts and so on.
@smartswaggy6114
@smartswaggy6114 2 жыл бұрын
what if n=4 and n=5. can u plz explain those cases.
@catglue3310
@catglue3310 2 жыл бұрын
If n==4, fast would have gone one step after the last node. the while loop wouldn't have executed. We would have then marked the 1st node's next node as the third node, skipping 2. If n==5 we would have have returned the 2nd node within the for loop when i=5
@legendrags
@legendrags 2 жыл бұрын
absolutely loved it, got a sub
@LeQuietKid
@LeQuietKid 2 жыл бұрын
Bro if I knew I could've just accessed CMD by doing that, I wouldn't have spent like 20 hours searching for a damn video.
@catglue3310
@catglue3310 2 жыл бұрын
xD
@vectar
@vectar 2 жыл бұрын
So what's in the folder where it's installed to? Same files as if you just use pyinstaller without the onefile flag?
@catglue3310
@catglue3310 2 жыл бұрын
Yes! but they aren't packed into a single big file that causes the slowdown. That's the difference
@random-user-s
@random-user-s 2 жыл бұрын
Title: "Faster than pyinstaller" Him: using pyinstaller....
@catglue3310
@catglue3310 2 жыл бұрын
still faster than pyinstaller :P
@portilloalmendrasantos1440
@portilloalmendrasantos1440 2 жыл бұрын
THANKS
@catglue3310
@catglue3310 2 жыл бұрын
Welcome
@manuelorellana8863
@manuelorellana8863 2 жыл бұрын
Hi, awesome tutorial, what if you need to do an update? how do you install the update? would it require an uninstall current version --> install new version sequence? what about check for updates online? can this be setup?? Thanks!
@catglue3310
@catglue3310 2 жыл бұрын
I made a script that checks a specific url for any updates. Once there is an update it will download it. But I couldnt find a way to install the same, the user had to do it manually
@rlamarch
@rlamarch 2 жыл бұрын
Thanks for the video, it was excellent. Just what I needed.
@catglue3310
@catglue3310 2 жыл бұрын
Great to hear!
@vinaysagar3684
@vinaysagar3684 2 жыл бұрын
hi bro it was best video that i came through seeing all the videos about this topic but only problem is i just needed a setup file so i can run my gui application in another pc but after the installer in c drive program file it is having the .py file which are editable so i need to hide those so that the user cannot able to see the programs that i have done.
@catglue3310
@catglue3310 2 жыл бұрын
Those python files that come with the installer must be library files. They don't probably contain your code
@Aaron-dn4hn
@Aaron-dn4hn 2 жыл бұрын
what if I modify the code in my program. how do I make sure my executable is going to be updated?
@catglue3310
@catglue3310 2 жыл бұрын
You would need to compile every time you change your code
@akankshamaurya9219
@akankshamaurya9219 2 жыл бұрын
Sir, my python file is login.py and my icon name is face_attendance.ico and I convert my python file to exe file exactly like you ,but when I am am going to open the exe file, it is showing that failed to execute script 'login' due to unhandled exception: bitmap "face_attendance.ico" not defined.
@akankshamaurya9219
@akankshamaurya9219 2 жыл бұрын
please help sir
@catglue3310
@catglue3310 2 жыл бұрын
Hmm, I'm not really sure. You could try searching online. Sorry I couldn't help :/
@engineeringtutorial859
@engineeringtutorial859 2 жыл бұрын
very esily explain thanks
@catglue3310
@catglue3310 2 жыл бұрын
You are most welcome
@sucukluomlet4665
@sucukluomlet4665 2 жыл бұрын
Hello, uhmm i know a year passed but can you help me for something if you see this message?When I use pyinstaller module I get this error "pyinstaller' is not recognized as an internal or external command, operable program or batch file." Do you know how can i fix it?
@catglue3310
@catglue3310 2 жыл бұрын
You probably don't have pyinstaller installed. Install it using 'pip install pyinstaller' or some similar command. A quick online search for installing pyinstaller would do the job
@_AultraGreen_
@_AultraGreen_ 2 жыл бұрын
thank you indian man, way better than the americans
@guaupuau3852
@guaupuau3852 2 жыл бұрын
Thank you bro you’re very intelligent
@hasithaeranga5589
@hasithaeranga5589 2 жыл бұрын
very usefull 💯👍
@catglue3310
@catglue3310 2 жыл бұрын
Glad you think so!
@kombo0261
@kombo0261 2 жыл бұрын
Thank you for this great tutorial. I only have one question: Can you delet the exe programm which installed the ,,app'' or not?
@catglue3310
@catglue3310 2 жыл бұрын
Yes, on Windows you can delete it from the control panel. Similar to how you would uninstall windows applications
@imibuks-replit
@imibuks-replit 2 жыл бұрын
Great video! I used that pyinstaller method and its pretty bad, this has been real usefull, thanks alot!
@catglue3310
@catglue3310 2 жыл бұрын
Glad it helped!
@amarnathreddysurapureddy9111
@amarnathreddysurapureddy9111 2 жыл бұрын
Hi bro i have one miracle question ? I am using 2 files one is one.py another is two.py In two.py i am imported one.py in this case how we will run pyinstaller ? Is pyinstaller taking any care?
@catglue3310
@catglue3310 2 жыл бұрын
As far as I know, pyinstaller should take care of imports. Probably a stackoverflow search would give you the solution :)
@amarnathreddysurapureddy9111
@amarnathreddysurapureddy9111 2 жыл бұрын
pyinstaller -F -w --onefile run_gui_server.py Yes this is the command I used and I created multiple .py files to single exe
@sulekhabaranwal178
@sulekhabaranwal178 2 жыл бұрын
thanks a man alot exactly i was looking for this for 4 months finally found it
@catglue3310
@catglue3310 2 жыл бұрын
Glad you liked it!
@sulekhabaranwal178
@sulekhabaranwal178 2 жыл бұрын
But how to get a code signing certificate
@retro.1766
@retro.1766 2 жыл бұрын
it never lets me use the command pyisntaller , why is that?
@catglue3310
@catglue3310 2 жыл бұрын
You probably need to install pyinstaller using the pip install command