Тёмный

Introduction to  

SmartGurucool
Подписаться 3,3 тыс.
Просмотров 28 тыс.
50% 1

Source Code: github.com/kmr...
OS Used: macOS Ventura (M1 Chip) - Version 13.0.1
Learn new skills from: www.smartguruc...
#flet #python #tutorial #pythontutorial #flet #tutorial #beginner #advance #flutter #flutterdeveloper #coding #development #smartgurucool #kmranrg
Follow Us:
Instagram: / smartgurucool
Twitter: / smartgurucool
Facebook: / smartgurucool
LinkedIn: / smartgur. .
Koo: www.kooapp.com....
Kumar Anurag Social Media Handles:
Instagram: / kmranrg
Twitter: / kmranrg
LinkedIn: / kmranrg
Koo: www.kooapp.com...

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

 

17 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 115   
@ms_kakadiya8316
@ms_kakadiya8316 Год назад
I am just getting started with Flet. I really enjoyed your session (will complete the remaining videos in this series). It's really incredible. I am blown away by the way you teach. It is even impossible for some of the professors at IIT to teach this way. You are doing an excellent job. My sincere thanks go out to you for your efforts.
@SmartGurucool
@SmartGurucool Год назад
Hello Kakadiya, Thank you for your kind words! I can just say, I am all because of blessings of you people. Please feel free to post any doubt wherever you need more concept clarity. I will make sure reply back as soon as I can. Thanks, Anurag From SmartGurucool
@palakprasad281
@palakprasad281 Год назад
awesome awesome🤩🤩
@SmartGurucool
@SmartGurucool Год назад
Thank you!
@nadetdevfullstack7041
@nadetdevfullstack7041 2 месяца назад
Excellent
@SmartGurucool
@SmartGurucool 2 месяца назад
Thank you!!
@chrisingram7277
@chrisingram7277 Год назад
I like the way you have done this tutorial, I've just started to learn Flet a few weeks ago. Since you give a whiteboard presentation first, I've been trying to figure the solutions before your demonstration, this is great way to learn and remember. Thanks:)
@SmartGurucool
@SmartGurucool Год назад
I'm glad, you're enjoying it!
@bernabeakinopelex7976
@bernabeakinopelex7976 4 месяца назад
the best tutorial
@SmartGurucool
@SmartGurucool 2 месяца назад
Thank you!!
@ibnfirnaas5963
@ibnfirnaas5963 Год назад
Thanks for this smartguru. Please continue the series until everything is covered.
@SmartGurucool
@SmartGurucool Год назад
Sure!
@SmartGurucool
@SmartGurucool Год назад
Hello Firnass, Keeping your feedback in mind, the new chapter has been released, do check it out. Link: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-aiXJeqN2LkQ.html Keep Learning! Regards, Anurag From SmartGurucool
@SmartGurucool
@SmartGurucool Год назад
Hello Adam, The new chapter which is chapter no 7 - Classes and OOPs concepts, please find the link below. Link: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-a5-2_a7HPEQ.html Regards, Anurag From SmartGurucool
@nurseiitbakkali4984
@nurseiitbakkali4984 2 месяца назад
good tutorial
@SmartGurucool
@SmartGurucool 2 месяца назад
Thank you, means a lot!!
@FaberLSH
@FaberLSH 2 месяца назад
Very good. Thank you so much!!
@SmartGurucool
@SmartGurucool 2 месяца назад
Thank you, means a lot!!
@Theshivanshseth
@Theshivanshseth Год назад
you are best
@SmartGurucool
@SmartGurucool Год назад
Thank you!
@user-yw1ux6zk3z
@user-yw1ux6zk3z 9 месяцев назад
Thanks for the tutorial. Your explanation is so clear and helpful. Thank you!
@SmartGurucool
@SmartGurucool 9 месяцев назад
Thanks a lot!
@DigitalSimba
@DigitalSimba 8 месяцев назад
Thanks for the tutorial.
@SmartGurucool
@SmartGurucool 8 месяцев назад
My pleasure ❤
@sahildhiman2205
@sahildhiman2205 8 месяцев назад
Thanks for this......
@SmartGurucool
@SmartGurucool 8 месяцев назад
My pleasure ❤️
@klassikkustard4828
@klassikkustard4828 Год назад
dude you are great love this gonna watch the entire playlist thank you
@SmartGurucool
@SmartGurucool Год назад
Thanks a lot!
@raJeshraOte14
@raJeshraOte14 Год назад
Thanks for sharing ..learning a lot from your flet tutorials🙏
@SmartGurucool
@SmartGurucool Год назад
Hello Rajesh, Thanks for sharing your feedback! We're planning to bring more tutorials to cover all concepts of Flet framework, stay connected with us. Your feedback really inspire us. Thanks, Anurag SmartGurucool
@raJeshraOte14
@raJeshraOte14 Год назад
@@SmartGurucool since you understand the code wanted to share a flet tutorial reference for you..(ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-DawFwmiH318.html) if you can make similar videos with explanation - people will learn a lot..(his videos lack audio)
@SmartGurucool
@SmartGurucool Год назад
@@raJeshraOte14 Hello Rajesh, I will make many more Flet tutorials from beginner level to advanced level, which can help people learning this new technology. I understand your concern completely, currently there's no proper complete tutorial for this framework as it's very new, so people are looking to learn this. Quick Update: Another chapter (Chapter 02) is going to come very shortly. Once again, thanks for your selfless support. Thanks, Anurag SmartGurucool
@SmartGurucool
@SmartGurucool Год назад
@@raJeshraOte14 Hello Rajesh, Hope you're doing great! On your special demand, we have published our new chapter, please find the link below. Link: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-FKZcuDG5tjA.html Let us know your feedback, your feedback help us in improving our content. Thanks & Regards, Anurag From SmartGurucool
@raJeshraOte14
@raJeshraOte14 Год назад
@@SmartGurucool woww thanks
@saierangangv84
@saierangangv84 Год назад
You're the best
@SmartGurucool
@SmartGurucool Год назад
Thank you!
@ABHISHEKSINGH-jy1cn
@ABHISHEKSINGH-jy1cn 2 месяца назад
I think we need more videos of explaining very function and it's arguments 😅
@SmartGurucool
@SmartGurucool 2 месяца назад
Sure, will plan some more!!
@bhibibicbwkdccbwjr9sn
@bhibibicbwkdccbwjr9sn 8 месяцев назад
Sir your are really but make it short like 20-30 mimute that will be better... Thannks for the amazing course
@SmartGurucool
@SmartGurucool 8 месяцев назад
Sure, will try to minimise the video length. Thanks!
@ProPython
@ProPython 10 месяцев назад
Just a bigg Thank You bro!
@SmartGurucool
@SmartGurucool 10 месяцев назад
❤️
@user-yg2or1qj6d
@user-yg2or1qj6d Год назад
💙
@K_James95
@K_James95 Год назад
Good video, my opinion though is that when recording you should use light mode, for the sake of visibility.
@SmartGurucool
@SmartGurucool Год назад
Sure, noted!
@nazarnazarov9899
@nazarnazarov9899 9 месяцев назад
thanks for the tutorial
@SmartGurucool
@SmartGurucool 9 месяцев назад
I'm glad you're enjoying!
@mjpender9443
@mjpender9443 8 месяцев назад
Hi Kumar, thanks for the videos, really well done. I need a little clarification. Will I be able to load my Flet Python web apps onto my choice of hosting site -- like Hostinger? Thanks, Mary
@SmartGurucool
@SmartGurucool 8 месяцев назад
Hello Mary, Thanks for bringing out this question! This is doubt for many. Let me answer this. Actually there are two ways by which we can host the Flet web apps to our favourite hosting providers: 1) Hostinger’s shared hosting plans: These support Python and common web servers like Apache and Nginx, which are sufficient for running Flet web apps. 2) Deploy as a static website: Build your Flet app as a set of static HTML, CSS and JS files using Flet’s web export functionality. These files can be directly hosted on Hostinger’s shared hosting. Official Flet Article for reference: a) flet.dev/docs/guides/python/deploying-web-app b) flet.dev/docs/guides/python/publishing-static-website Hope it helps! Thanks, Anurag
@mjpender9443
@mjpender9443 8 месяцев назад
thanks@@SmartGurucool
@BRUNOELIAS-ws7ub
@BRUNOELIAS-ws7ub 5 месяцев назад
goated
@SmartGurucool
@SmartGurucool 4 месяца назад
:)
@varadgore7333
@varadgore7333 8 месяцев назад
Instead od page.controls.appends we can use page.add
@SmartGurucool
@SmartGurucool 8 месяцев назад
Yes, we can.
@ceo_google
@ceo_google 8 месяцев назад
Hi I can't directly use flet in terminal, and I believe we can't add it directly to the environment path variable as well. One work around I could think of is creating a virtual environment, I used to do that for uvicorn cli for my fastapi apps. Is there another way as well?
@SmartGurucool
@SmartGurucool 8 месяцев назад
You can use Flet directly in terminal. First, run the below command if flet is accessible via your terminal. Sometimes, VS code terminal and normal terminal acts differently. pip show flet
@regiscostaatm2216
@regiscostaatm2216 Год назад
thanks a lot! Good Job man!
@SmartGurucool
@SmartGurucool Год назад
You're welcome!
@naresh2423
@naresh2423 11 месяцев назад
Hello Anurag, Can you make one video with Appbar as a user control. like this: the below code is not working import flet as ft class MyAppBar(ft.UserControl): def build(self): return ft.AppBar( title="My App", actions=[ft.IconButton(icon="add", on_click=self.on_add_click)], ) def on_add_click(self, e): print("Add button clicked!")
@SmartGurucool
@SmartGurucool 11 месяцев назад
Please try the below code: ------------------------------------------------------------- import flet as ft class Addition(ft.UserControl): def __init__(self, start_value): super().__init__() self.start_value = start_value def on_add_click(self, e): self.start_value += 1 self.output.value = self.start_value self.update() def build(self): self.output = ft.Text(str(self.start_value),style='displayLarge',text_align='center') return ft.Row([ self.output, ft.IconButton(icon=ft.icons.ADD,on_click=self.on_add_click,icon_size=60) ],alignment='center') def main(page:ft.Page): page.appbar = ft.AppBar( bgcolor=ft.colors.PURPLE, leading=ft.Icon(ft.icons.ADD), title=ft.Text("Addition Example"), ) page.add( Addition(20), Addition(10), Addition(-10) ) ft.app(target=main) ------------------------------------------------------------- Note: If you want to understand in more detail, please go through Chapter No. 06. Here's the link: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-a5-2_a7HPEQ.html Thanks, Anurag
@naresh2423
@naresh2423 11 месяцев назад
Hello Anurag, Can you make one video for client storage, because whenever i change use page navigation, the previous storage is gone
@SmartGurucool
@SmartGurucool 11 месяцев назад
Hello Naresh, Yes, client storage plays an important aspect. I will definitely create one chapter for that. For now, please use the below link to understand more. Official Flet Link: flet.dev/docs/guides/python/client-storage Thanks
@HARRY_493
@HARRY_493 Год назад
Did you cover all about flet in this playlist?
@SmartGurucool
@SmartGurucool Год назад
Almost, but it's not the end, I will publish more.
@RunyCalmera
@RunyCalmera Год назад
How would you deploy it as an android or ios app instead of an pwa?? Thanks for this all from the Caribbean!! Following you❤❤❤❤❤
@SmartGurucool
@SmartGurucool Год назад
Hello Runny, Thanks a lot for following us! Currently, the Flet development team is working on Flet Studio, once that's out then we would be able to publish the APKs and iOS bundle releases. For now, if we need to run the UI in android, we should install the PWAs. Thanks, Anurag
@wendelsmorais
@wendelsmorais Год назад
Hello how are you? I'm starting to program to develop apps and I started studying Dart, but I identify with python. Is it a good choice for me to give up Dart and stick with Python for app development?
@SmartGurucool
@SmartGurucool Год назад
Hello Learner, Thanks for reaching out to me! I would say as a beginner, python would be way more easier to learn. Also, python won't only help in Flet but it will help in lot more other fields such as AI, Machine Learning, Automation, etc. So, my suggestion would be to start with Python. Dart is also a very nice programming language. however it is mostly used in Flutter framework. Once you complete your Python learning then go ahead with Dart. In this tutorial series, using Python we will be building Flutter application without using Dart. Feel free to ask if I miss anything to answer. Regards, Anurag
@Aizle30
@Aizle30 11 месяцев назад
Please review on : in my VS code and Pycharm, the module not found error show, even if i already installed flet.
@SmartGurucool
@SmartGurucool 11 месяцев назад
Hello Learner, Please follow the steps mentioned below: 1. Launch VS Code 2. Open VS Code Terminal (not the normal terminal/cmd) 3. Now, install flet, pip install flet (for windows), pip3 install flet (for mac) 4. Finally, for project execution: flet .py Now, it should detect the flet and will start executing your project. Let me know if still any issues. Thanks
@Aizle30
@Aizle30 11 месяцев назад
​@@SmartGurucool Thanks for your Guidance, but the problem was resolved. Next time it show 'Win32 OS Error' then i was run again pip install flet command in CMD as an administator. It was run successfully and my code working well. Thanks for you flet playlist.🙂
@SmartGurucool
@SmartGurucool 11 месяцев назад
@@Aizle30 Glad to know that it's working now!!
@rishiraman998
@rishiraman998 Год назад
Can I refer flutter docs(already see flet docs) for know for others widgets and examples
@SmartGurucool
@SmartGurucool Год назад
Yes, you can! At first, it can be bit intimidating like how the flutter packages are connected with Flet, but you are always welcome to reach on Flet Discord Community, where lot of Flet developers are there who can help you with that. Please find the discord link below. Link: discord.com/invite/dzWXP8SHG8 Thanks, Anurag
@earljoe5422
@earljoe5422 Год назад
Do I need to have flutter installed to run flet
@SmartGurucool
@SmartGurucool Год назад
No, need to install Flutter separately, just install Flet and you're good to go. Flet Installation Command: pip install flet Thanks, Anurag
@RajeshHalyal
@RajeshHalyal 11 месяцев назад
How to do textfield validation and retain the focus if it's not satisfied
@SmartGurucool
@SmartGurucool 10 месяцев назад
Hello Rajesh, Please try the following code, I made for you: import flet as ft def main(page: ft.Page): page.horizontal_alignment = 'center' page.vertical_alignment = 'center' def submit_function(e): if not tf.value: tf.error_text = "this field can't be empty" else: tf.error_text = "" page.update() tf = ft.TextField(width=200,border_radius=20) submit = ft.ElevatedButton("submit",on_click=submit_function) page.add( tf,submit ) ft.app(target=main)
@RajeshHalyal
@RajeshHalyal 10 месяцев назад
@@SmartGurucool but this is invoked when submit is done What about when field data entry is going on
@kmranrg
@kmranrg 10 месяцев назад
May I know the reason you are using Textfield in your application.
@sanusinha5118
@sanusinha5118 Год назад
Bhaiya , kya hm isse Android me install kr skte sbse pahle wo sikhao please,isse hm directly python scripts ko phone me chalaenge
@SmartGurucool
@SmartGurucool Год назад
Hello Sanu, Sure, in the next chapter, I will be explaining this topic how can we run the app in mobile devices (iOS/Android). I will share you the link over here once the chapter is published. Thanks for your feedback, it keeps us motivated! Regards, Anurag From SmartGurucool
@SmartGurucool
@SmartGurucool Год назад
Hello Sanu, As promised, I have covered your answer on how you can execute the code in your phone, please check the new chapter from the link below. Chapter 03: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-aiXJeqN2LkQ.html Keep learning! Regards, Anurag From SmartGurucool
@sanusinha5118
@sanusinha5118 Год назад
@@SmartGurucool ty bro ,, god bless u ,,, 🙏
@sanusinha5118
@sanusinha5118 Год назад
@@SmartGurucool bhaiya,,isse .apk file kaise banae jisse wo phone me run ho jae ,,kya web ko host kr du and then usse , app ke under ftech karu live data feed ki tarah
@SmartGurucool
@SmartGurucool Год назад
@@sanusinha5118 Hello Sanu, The development team of Flet is still working on the Flet Studio. Once Flet Studio gets published then only we would be able to export the .apk's. For now, we can host the app as PWA and install in the mobile devices. Feel free to ask if any more information is required, I would you glad to help you out. Regards, Anurag From SmartGurucool
@danielferrerhernandez8953
@danielferrerhernandez8953 7 месяцев назад
Can i use django for de backend an flet for the frontend?
@SmartGurucool
@SmartGurucool 7 месяцев назад
Yes, you can use Django for writing the backend and Flet for the UI.
@scaj3104
@scaj3104 Год назад
What extensions are used in vscode to get flet's code hints?
@SmartGurucool
@SmartGurucool Год назад
Hello, Please be informed that we have not used/installed any specific extension in the VS code, this current extension comes by default when we install Python3. As Flet is a python module, so it will automatically show you all the hints, code auto-completion, etc. Feel free to ask if more detail is required. Thanks, Anurag From SmartGurucool
@scaj3104
@scaj3104 Год назад
thank you, i mistake page-> Page edit
@SmartGurucool
@SmartGurucool Год назад
Hello Learner, The new Chapter 04 is live now: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-42eYTjM3Rxk.html Regards, Anurag From SmartGurucool
@kermosrujji9475
@kermosrujji9475 Год назад
is it as powerful as flutter?
@SmartGurucool
@SmartGurucool Год назад
Hello Kermos, That's really hard to commit at this stage because Flutter is in the market for quite long. Flet is new to the market but the way it's getting appreciation, that's really something. Fingers crossed, it could be the new game changer. Hope that helps! Thanks, Anurag
@MOSALAH-nh6pl
@MOSALAH-nh6pl 6 месяцев назад
what is the name of vs code theme ?
@SmartGurucool
@SmartGurucool 6 месяцев назад
Currently, I shifted to High Contrast Theme.
@joshrocky9651
@joshrocky9651 4 месяца назад
when running "flet filename.py " it says file not recognised
@SmartGurucool
@SmartGurucool 4 месяца назад
Could you please ping me the output of below command. flet --version
@joshrocky9651
@joshrocky9651 4 месяца назад
@@SmartGurucool Right away sir!
@user-rh1sw6ji6t
@user-rh1sw6ji6t 7 месяцев назад
can flet support mojo language?
@SmartGurucool
@SmartGurucool 7 месяцев назад
If you have the font (TTF or OTF) file for Mojo language, then you can use it for building applications in Mojo language.
@15shaikhshahid92
@15shaikhshahid92 4 месяца назад
Can we run app in android
@SmartGurucool
@SmartGurucool 4 месяца назад
flet.dev/docs/publish/android
@sandangmakmur4475
@sandangmakmur4475 5 месяцев назад
Can you make instagram clone full stack with firebase, supabase or monggodn
@SmartGurucool
@SmartGurucool 4 месяца назад
Sure, will try to cover and let you know. For now, you can start on your own and feel free to ask your doubts.
@EvelynOsokolo
@EvelynOsokolo 4 месяца назад
Teach us how to turn it to apk
@SmartGurucool
@SmartGurucool 4 месяца назад
flet.dev/docs/publish/android/#flet-build-apk
@shashwatsingh943
@shashwatsingh943 4 месяца назад
Mango
@SmartGurucool
@SmartGurucool 4 месяца назад
:)
@BRUNOELIAS-ws7ub
@BRUNOELIAS-ws7ub 5 месяцев назад
😂😂😂😂😂grapes ..
@SmartGurucool
@SmartGurucool 4 месяца назад
:)