Тёмный

Make a GUI with just ONE LINE of code using Python 

Coding Is Fun
Подписаться 100 тыс.
Просмотров 13 тыс.
50% 1

Опубликовано:

 

29 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 77   
@CodingIsFun
@CodingIsFun 2 года назад
*I will be here in the comments section. If you have any questions, please let me know.*
@halkkoi1538
@halkkoi1538 2 года назад
Still waiting impatiently for the pyecharts different charts and analysis 😁😁😁
@CodingIsFun
@CodingIsFun 2 года назад
@@halkkoi1538 Haha, it is on my list! Stay tuned! ✌
@timoheiskanen8197
@timoheiskanen8197 2 года назад
How to add traffic lights in streamlit / plotly?
@thebusinesscentre
@thebusinesscentre Год назад
How do we contact you?
@CodingIsFun
@CodingIsFun Год назад
@@thebusinesscentre Https://pythonandvba.com/contact
@florianroeseler2404
@florianroeseler2404 2 года назад
Never would have thought it would be so easy - Thank you!!
@CodingIsFun
@CodingIsFun 2 года назад
Happy to hear that it was helpful!
@joshuabnguyen87
@joshuabnguyen87 2 года назад
this channel is severely underrated.... thanks sven for all that you do!
@CodingIsFun
@CodingIsFun 2 года назад
Thanks for the kind words! 👍
@dennisthemenace567
@dennisthemenace567 2 года назад
@@CodingIsFun thank you for your great videos
@dmcf1975
@dmcf1975 2 года назад
This is such a helpful tutorial - thank you.
@CodingIsFun
@CodingIsFun 2 года назад
Glad it was helpful. Thanks for watching! :)
@robertdr2010
@robertdr2010 2 года назад
Thank you for all! Two questions: 1. Can you have a menu bar? 2. Let's say you have a script with multiple steps/sections: load data (2 files), compare them, etc) Is it posible to have a window with vertical scroll bar where you can automatically have the status of each step of your Python script ("Done", "Failed")?
@CodingIsFun
@CodingIsFun 2 года назад
Thanks for watching & your questions: 1. Yes, it is possible (but it requires more lines of code). Have a look at the following example: github.com/PySimpleGUI/PySimpleGUI/blob/master/DemoPrograms/Demo_Menus.py 2. Yes, that is also possible. You could use a multiline text field. After each step, you could 'update' the text in the multiline text field. Have a look at the following example: pysimplegui.readthedocs.io/en/latest/#persistent-window-example-running-timer-that-updates I hope it helps! Happy Coding! 👍
@mojang4739
@mojang4739 2 года назад
Thank you
@robertdr2010
@robertdr2010 2 года назад
Tank you very much.I will check the links you mentioned.
@VishantR22
@VishantR22 Год назад
Great! Just a problem. Getting error pathlib is obsolete and incompatible with pyinstaller?
@CodingIsFun
@CodingIsFun Год назад
Thanks for watching. Unfortunately, with that bit of information, I cannot help you. You might want to take some time to write down the exact error message. It would also be great to let me know if you have made any modifications to the initial code I have shared on GitHub. Thanks!
@VishantR22
@VishantR22 Год назад
@@CodingIsFun sorry! The error: the 'pathlib' package is an obsolete backport of a standard library package and is incompatible with pyinstaller.
@CodingIsFun
@CodingIsFun Год назад
@@VishantR22 Try to downgrade pyinstaller: stackoverflow.com/a/75687401
@VishantR22
@VishantR22 Год назад
@@CodingIsFun this part actually got it running! but still couldn't complete successfully :( will send you the details if you can assist!
@KhalilYasser
@KhalilYasser 2 года назад
Amazing and awesome. Is there a way to unpack the python exe file to the source code again? I mean to convert the exe python file to regular python file (.py)
@CodingIsFun
@CodingIsFun 2 года назад
Interesting question. I have not tried it out, but perhaps the following solution might do the trick: stackoverflow.com/a/64046240
@pieterjdw
@pieterjdw 2 года назад
Thanks for sharing this; very useful! Is there a way to enlarge the calendar and by pressing enter to select 'ok'. also wonder if it is possible to get the date in iso yyyy, mm, dd
@CodingIsFun
@CodingIsFun 2 года назад
Thanks for watching. In the documentation you can find all available parameters: www.screencast.com/t/ewGf6rbV20 www.pysimplegui.org/en/latest/call%20reference/#popups-pep8-versions I hope it helps! Happy Coding!
@amrselim2167
@amrselim2167 2 года назад
hello, kinldy note i'm using jupyter lab to run your codes, non of them is running without error, please advise ?!
@CodingIsFun
@CodingIsFun 2 года назад
Hello. I am not the maintainer of the PySimpleGUI library. Please raise a respective GitHub issue. Thanks!
@pinkunicorn865
@pinkunicorn865 2 года назад
Any idea and/or tips how to make a Python GUI to open a CVS file and make a matploblit or Seaborn graph from it?
@CodingIsFun
@CodingIsFun 2 года назад
Here is an example which should get you started: pysimplegui.trinket.io/demo-programs#/matplotlib/matplotlib-single-plot Hope it helps! Happy Coding! :)
@hbarudi
@hbarudi 2 года назад
Nice but does not have the "under the hood" benefits from using something more advanced such as kivy.
@CodingIsFun
@CodingIsFun 2 года назад
Thanks for watching and your comment! :)
@genius9712
@genius9712 2 года назад
a nice guy!
@CodingIsFun
@CodingIsFun 2 года назад
Thank you!
@eduedu726
@eduedu726 2 года назад
congratulations ! very powerful and demonstrated cleverly ! thanks for all your fantastic videos !
@CodingIsFun
@CodingIsFun 2 года назад
Many thanks for watching the video & the generous feedback!
@remmidy2603
@remmidy2603 2 года назад
I installed pysimplegui but it says there's no module there Edit: nevermind figured it out, it was using the old version of python, had to install it with python3
@CodingIsFun
@CodingIsFun 2 года назад
Happy to hear that you figured it out. Thanks for watching the video!
@remmidy2603
@remmidy2603 2 года назад
@@CodingIsFun Also a question if you don't mind, can i make a stock system out of PySimpleGUI to read crypto/company stocks, im no advanced programmer but can i make a simple one
@aipy5147
@aipy5147 2 года назад
Simply outstanding! Thank you for sharing!
@CodingIsFun
@CodingIsFun 2 года назад
Thanks for watching! :)
@pinkunicorn865
@pinkunicorn865 2 года назад
Wherever the case, great channel!!
@CodingIsFun
@CodingIsFun 2 года назад
Happy to hear that! Thanks for watching and taking the time to leave a comment
@sitinuraisyahishak1686
@sitinuraisyahishak1686 2 года назад
Hi can u help me, if i want the suitable popup for voice base codes.
@CodingIsFun
@CodingIsFun 2 года назад
What exactly is your question?
@sitinuraisyahishak1686
@sitinuraisyahishak1686 2 года назад
@@CodingIsFun gui for Ai voice base using python
@sitinuraisyahishak1686
@sitinuraisyahishak1686 2 года назад
I have the coding for voice based, but i dont have the gui for it. Can you help?
@bc4198
@bc4198 2 года назад
Bonus Question! Do little EXEs need to be formally installed to use on other machines, or can it for example, just sit on a thumb drive or SharePoint?
@CodingIsFun
@CodingIsFun 2 года назад
Bonus Answer: The executables do not require an installation.
@thebusinesscentre
@thebusinesscentre Год назад
Coding is fun.. 😅
@CodingIsFun
@CodingIsFun Год назад
Yes, it is 😅
@yellowsun7241
@yellowsun7241 2 года назад
Can I do that on a Mac?
@CodingIsFun
@CodingIsFun 2 года назад
Yes, it should also work on macOS.
@rajesh9sn
@rajesh9sn 2 года назад
The information shared here is unqiue. Short and extremely informative. Thank you very much. ❤
@CodingIsFun
@CodingIsFun 2 года назад
Happy to hear that. Thank you for this comment! :) ❤️
@Leao_da_Montanha
@Leao_da_Montanha 2 года назад
👏
@CodingIsFun
@CodingIsFun 2 года назад
Thanks for watching! :)
@AhmedRabeh18
@AhmedRabeh18 2 года назад
Thank you
@CodingIsFun
@CodingIsFun 2 года назад
You are welcome! Thanks for watching! :)
@bc4198
@bc4198 2 года назад
Thanks, Sven! Do you know if this is available on Colab?
@CodingIsFun
@CodingIsFun 2 года назад
Probably it will not work on Google Colab. When using Colab, you can use the following to browse for files: from google.colab import files uploaded = files.upload()
@driouichelmahdi
@driouichelmahdi 2 года назад
That's very important for our project, thanks so much
@CodingIsFun
@CodingIsFun 2 года назад
Glad you liked it. Thanks for watching!
@zibivaxmeterinstall5850
@zibivaxmeterinstall5850 2 года назад
thank you so much I really appreciate the content you make this channel is a gold mine
@CodingIsFun
@CodingIsFun 2 года назад
I am very happy to hear that! :)
@angelpepo
@angelpepo 2 года назад
on linux how i can do a binary?
@CodingIsFun
@CodingIsFun 2 года назад
Thanks for watching the video. Can you perhaps elaborate on what it is you're trying to achieve? Please provide some additional info. Thanks!
@angelpepo
@angelpepo 2 года назад
@@CodingIsFun How can I get a binary from a .py file
@CodingIsFun
@CodingIsFun 2 года назад
@@angelpepo with open(fileName, mode='rb') as file: fileContent = file.read()
@ricardo.alves.campos
@ricardo.alves.campos 2 года назад
As always awesome video, and the bonus is excellent !
@CodingIsFun
@CodingIsFun 2 года назад
Happy to hear that you liked this one too!
@Perspicacious_pi
@Perspicacious_pi 2 года назад
Another great content, Thanks Sven!
@CodingIsFun
@CodingIsFun 2 года назад
Thank you!
@alaverdyan
@alaverdyan 2 года назад
The bonus tip was a gem on its own!
@CodingIsFun
@CodingIsFun 2 года назад
Thanks for sticking around until the end :)
Далее
ТАРАКАН
00:38
Просмотров 753 тыс.
Modern Graphical User Interfaces in Python
11:12
Просмотров 1,5 млн
This Is Why Python Data Classes Are Awesome
22:19
Просмотров 807 тыс.
My 10 “Clean” Code Principles (Start These Now)
15:12
Nobody Cares About Your Coding Projects
11:02
Просмотров 109 тыс.
Why Are Open Source Alternatives So Bad?
13:06
Просмотров 643 тыс.
I made a TERMINAL website, with HIDDEN Easter eggs
11:23