Тёмный

Python SQLite Tutorial: Build a Python project with a SQLite database 

teclado
Подписаться 31 тыс.
Просмотров 56 тыс.
50% 1

Наука

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

 

14 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 104   
@erkayberkant1828
@erkayberkant1828 5 месяцев назад
I watched many tutorials about Sqlite, but the way you teach this, is really the best.
@tecladocode
@tecladocode 5 месяцев назад
Thank you very much! Glad you liked it 😁
@aurontz
@aurontz 4 года назад
I've view many many tutorials on sqlite3 with python. None of them compare to this. Thank you so much. Subbed!
@tecladocode
@tecladocode 4 года назад
Thank you Dane! For both the comment and the sub!
@moeezabdul2000
@moeezabdul2000 3 года назад
Totally Agree! 100%100!
@augurelite
@augurelite 2 года назад
What a fantastic tutorial! Worth every minute. As a mostly self-taught beginner programmer, I feel like I learned some really good coding practices too! Thank you so much
@jawadmansoor6064
@jawadmansoor6064 Год назад
After seeing a tons of videos on SQL I say this is the BEST tutorial of all times about SQL. Subscribed and liked.
@beybey444
@beybey444 Год назад
As a coffee and coding lover, i had the BEST 37 minutes for today
@AlexanderColaneri
@AlexanderColaneri 4 года назад
Very good, thank you for your content! I had to put the video speed to 0.75 while working on my project, to clearly understand everything, and it worked out.
@tecladocode
@tecladocode 4 года назад
That's awesome to hear, Alexander! Glad the video was helpful!
@moeezabdul2000
@moeezabdul2000 3 года назад
Absolutely, a Beauty of a Video Honestly! Really Appreciated Your Knowledge & Support on this! Liked & Subscribed!
@zukofire6424
@zukofire6424 2 года назад
thanks for this Teclado, very helpful in the context of my internship at a start up!
@notsaeed
@notsaeed 3 года назад
Thank you so much. This was the only helpful resource I could find.
@novicetech1
@novicetech1 10 месяцев назад
I'm a latecomer to the party, but this was a very good tutorial. I learned a lot. I will review this code carefully and try to implement this approach any time I need a database. Excellent stuff. Thanks.
@naveenkumarthangavelu4220
@naveenkumarthangavelu4220 3 года назад
Thank you so much for this course. Apart from SQLITE. I also learnt more about how to call the function and arguments. It was so crisp and easy to understand . Thank you much for this video
@harshtomar1475
@harshtomar1475 2 года назад
hello sir, i am an student , i want to ask one question
@enescelebi2411
@enescelebi2411 Год назад
@@harshtomar1475 what's your question?
@sobiralimov7777
@sobiralimov7777 2 года назад
Wooooww. It's amazing course for me. I enjoyed and learned much. Thanks for all!
@2kpresident363
@2kpresident363 3 года назад
Great video! One of the best about python and sqlite!Thank you so much!
@roybarretto9552
@roybarretto9552 2 года назад
This is an awesome video lesson (not coffee bean). Brief and simple but clear and easy to understand. Thanks. Will put this code into GUI as a tkinter project. Gracias.
@cheesefries6616
@cheesefries6616 Год назад
Hi! I'm just a beginner and just asking why you didn't use the commit() and the cursor in this program?
@Motivation_into_coding
@Motivation_into_coding Год назад
Thanks my brother man, I have a task to submit for bookstore which will allow to update delete search an add using sqlite3 with menu to display with the input using function, u help me a lot by following this video
@tecladocode
@tecladocode Год назад
Glad it helped. Thanks for the comment and the kind words!
@leonardofreitas8900
@leonardofreitas8900 2 года назад
This video is excellent! All very well explained. Thanks for sharing!
@normalman7663
@normalman7663 12 дней назад
Bro you are so underrated keep foing great job ❤
@tecladocode
@tecladocode 11 дней назад
I will! Thank you 💪
@meylyssa3666
@meylyssa3666 4 года назад
Thanks for clear and understandable explanations!
@dogarayunanagani6986
@dogarayunanagani6986 2 года назад
wow you are just so amazing! You explain so well and make your code very readable. you do have great coding practices I hope to pick up. Just one question though, I noticed you did not use the "cursor" is that something that is optional? some other tutorials I watched used cursor.connection and at the end cursor.close, connection.close. I would love if you can explain a bit about these use cases.
@suhanoves
@suhanoves 4 года назад
Hey, Jose! It's awesome video, but how about database and OOP classes? Did you think to create new video how to modify your program for getting data from database and recreating class?
@FunDumb
@FunDumb 8 месяцев назад
Very well thought out. 👏
@kinjalvora256
@kinjalvora256 3 года назад
Hi I have a quick question...what about cursor in sql? don't we need it?
@arctitan7076
@arctitan7076 3 года назад
I had the same question and found the answer in the Python sqlite documentation. It is explained in the section Using sqlite3 efficiently
@mrozyyev2853
@mrozyyev2853 Год назад
Great video! Liked & Subbed. But can't find the code/project link.
@stevemorse5052
@stevemorse5052 3 года назад
Thanks for a great tutorial. The only problems I had was the interface device between the chair I was sitting on and the computer keyboard. I do not think the 3 beers and a large vodka tonic had anything to do with it!. I got the whole thing done in less than 2 hours, including my errors. Thanks again.
@foucault9978
@foucault9978 2 года назад
Excellent video. Muchisimas gracias José!
@johannesklug8006
@johannesklug8006 2 года назад
Great tutorial. I got a question on the data model: shouldn't the name of the table (that is of the entity-type) be something like "coffee experiments"? Than the ill-named column "name" would be "bean". After all, we can imagine using "awesome arabica" once with a perlocator und once with the espresso method.
@akhilamadhu7069
@akhilamadhu7069 3 года назад
For me the line while(user_input := input(MENU_PROMPT)) is giving syntax error. Can u tell y
@saeedpourjafar261
@saeedpourjafar261 3 года назад
Walrus operator (:=) is the feature that was added in the Python 3.8 You've raised error because probably your python version is below 3.8. Update your python version will fix it.
@pythonenthusiast9292
@pythonenthusiast9292 4 года назад
Your teaching is awesome by the way, please make a course on complete DSA with python !!
@pythonenthusiast9292
@pythonenthusiast9292 4 года назад
or maybe just make a course on problem solving based on different topics and data structures like array , linkedlist , and greedy maybe. I think people will be interested in watching it . I'll buy for sure
@georgeseese
@georgeseese 2 года назад
Thanks. SQliteStudio also provides access to the database.
@utm13n
@utm13n Год назад
Great video! Is the example code available online?
@Anonymous-my5ud
@Anonymous-my5ud 4 года назад
AttributeError: __enter__ I'm getting this error while running def create_table(connection): with connection: Any Idea?
@herono-4292
@herono-4292 3 года назад
you need to add this at the end connection.execute(CREATE_BEANS_TABLE )
@nachiketasharma5791
@nachiketasharma5791 3 года назад
Perfectly explained!!!
@acbattery
@acbattery 4 года назад
Thx for this great tutorial. At 23:54 "...fetchone()", Would fetchall() instead work as well because the SQL command (LIMIT1) already limited the result to 1? just wondering
@tecladocode
@tecladocode 4 года назад
It would, but you’d get a Cursor of one element instead of just the element directly.
@namwanzaronald9436
@namwanzaronald9436 2 года назад
Great tutorial !!.
@esspi9
@esspi9 3 года назад
This was awesome! Thanks a lot! Subbed!
@aabhaskrjha
@aabhaskrjha 4 года назад
Both on udemy and RU-vid you're a rockstar.
@tecladocode
@tecladocode 4 года назад
You’re the rock star Abhas Jha! 🔥
@reghaabraham
@reghaabraham 4 года назад
He sincerely is. The mode of presentation and above all, he always answers when you call with your challenge.
@WCdesign999
@WCdesign999 4 года назад
hi, "import database" actually doesn't work for me any ideas?
@mini_mouseinthehouse
@mini_mouseinthehouse 3 года назад
I am also having this problem!
@BM-vq5rp
@BM-vq5rp 3 года назад
I wonder if replying 1 year later is late, but... if u are literally typing "import database", its wrong, u r meant to import the name of your database file.
@joshuaarguelles6969
@joshuaarguelles6969 2 года назад
@@BM-vq5rp how??
@NormannCfC
@NormannCfC 9 месяцев назад
That was great! THX
@thegreatgaespi
@thegreatgaespi 3 года назад
Thank you for awesome video clip
@oogiemcguire8578
@oogiemcguire8578 4 года назад
Is the final code any place we can download it and run it?
@stevemorse5052
@stevemorse5052 3 года назад
Hi Oogie I understand that you posted this 9 months ago, but may I suggest that you copy the code from the screen. That is how I do it (see my post above). I am able to remember more of the code that way. Try it, and if that does not work for you, let me know and I will get the code to you somehow. Later mate
@SatishKumar-mn6bi
@SatishKumar-mn6bi 4 года назад
Can we see multi line text (text box widget) in such program with sqlite 3.
@hardstylefreakzz
@hardstylefreakzz 3 года назад
Solid work, thanks!
@aabhaskrjha
@aabhaskrjha 4 года назад
Hey Jose, please do make a video on python flask /django app deployment
@tecladocode
@tecladocode 4 года назад
Hey Abhas, we've got the Microblog video which uses Flask. Check out our channel! We're thinking about Django content, but we don't use it, so it's a bit tricker...
@aabhaskrjha
@aabhaskrjha 4 года назад
@@tecladocode Ah thanks It's fine with flask I work with flask too
@jusdzakybungasmuhammad2951
@jusdzakybungasmuhammad2951 3 года назад
is there a way to update the record using user input??? ive been trying to find the answer for hours but i still havent found the solution anyhelp???
@orlandoortega4504
@orlandoortega4504 2 года назад
got stuck in minute 26 my terminal says File "/Users/orlandoortega/Desktop/datasbases/app.py", line 22, in
@leonardkabasa1902
@leonardkabasa1902 3 года назад
Halo are you available to help someone struggling with tkinter n sqlite
@sirius_school
@sirius_school 2 года назад
I have an error in the (user_input := input(MENU_PROMPT)) 25:40 help me please!
@dianamulaikhanova
@dianamulaikhanova Год назад
OK, how we can run it, how we can see the result, interesting
@irishronan5159
@irishronan5159 4 года назад
Would there be a way to set up a function that edits the method or the rating of a bean? If so what would it look like
@tecladocode
@tecladocode 4 года назад
Sure thing ! You can use the SQL UPDATE statement to do that. For example: UPDATE beans SET method = "Filter" WHERE name = "My Bean"; Just don't forget the WHERE, as if you do you'll change every bean in your table. More info: pysql.tecladocode.com/section04/lectures/06_updating_data/
@MrPennywise1540
@MrPennywise1540 Год назад
You have to divide your class in parts, with it's own introduction. Just to be more organized and understandable. Even thou, good video.
@marisabeltrejo4081
@marisabeltrejo4081 Год назад
I am unable to "import database" Is there a download I am missing?
@pythonenthusiast9292
@pythonenthusiast9292 4 года назад
what if we didnt use sqlite3 module? we can still store the details in lets say dictionary and still access all the queries right? what is advantage of using SQL here ?
@tecladocode
@tecladocode 4 года назад
Using SQLite will let you store the data permanently, whereas leaving it in a dictionary means the data will be lost when the application ends. Also, the SQL language is very powerful and lets you query the data in ways that a normal dictionary doesn't (not as easily, at least).
@pythonenthusiast9292
@pythonenthusiast9292 4 года назад
@@tecladocode thanks!
@prakashkombala
@prakashkombala 3 года назад
very good tutorial I can get PowerPoint presentation file
@SatishKumar-mn6bi
@SatishKumar-mn6bi 4 года назад
Sir your speed is fast again screen is dark so we could not see list of beans, for query 2 and 3 it shows null. I could not hear and video does not show code
@ananicolel.ramilo2472
@ananicolel.ramilo2472 2 года назад
Hi can you please show us how to do the insert query in this data base hope you'll notice me 🙏🥺
@thoughtslibrary
@thoughtslibrary 4 года назад
Bro, i become fan to your videos
@tecladocode
@tecladocode 4 года назад
Thank you so much 😀 Glad you're enjoying the videos!
@bosworthjb
@bosworthjb 3 года назад
Nice!
@jasonmartin3147
@jasonmartin3147 3 года назад
When I run app.py I get an error sating No module named 'database'. Anyone have any ideas?
@jasonmartin3147
@jasonmartin3147 3 года назад
Figured it out
@joshuaarguelles6969
@joshuaarguelles6969 2 года назад
how?
@mayeeshamasud5527
@mayeeshamasud5527 3 года назад
Thank you so much! :)
@dhanushsivajaya1356
@dhanushsivajaya1356 3 года назад
Thankyou sir
@ralucaifrim461
@ralucaifrim461 3 года назад
I am stuck with a coursework question and wasted 4 hours to solve it..if anyone could help me i would be very grateful.. so i got a list with composer names, place of publication, year etc and the question asks to
@dansundell1663
@dansundell1663 Год назад
any chans to get your code?
@sandeepsinghnegi9220
@sandeepsinghnegi9220 4 года назад
Thanks!!!
@tecladocode
@tecladocode 4 года назад
No problem!
@dumpling3309
@dumpling3309 Год назад
I wanted to make a comment section for a ratings website.
@carloseduardogomezlozano491
elif user_input == '5': connection.close() print('Tanks for use this system') break
@SA-oj3bo
@SA-oj3bo 2 года назад
You talk and type very quick, hard to follow you sometimes, and then you even paste a lot of code .. at the end you said not to worry because the code would be available, but where to find the code?
@ogunkayodeoluwaseun9348
@ogunkayodeoluwaseun9348 3 года назад
Tbh he sounds like the male version of sypha from CastleVania
@hellobytes1348
@hellobytes1348 2 года назад
Code?
@riyabhati7416
@riyabhati7416 3 года назад
hi need you urgent help
@riyabhati7416
@riyabhati7416 3 года назад
need internship
@danielsiddiqui5903
@danielsiddiqui5903 6 месяцев назад
Terrible why where you speeing through it like someone put you in fast mode
@ronelframos
@ronelframos 2 года назад
I'm getting a "TypeError: "NoneType" object is not iterable", how can I fix this?
Далее
How to create Databases in Python with SQLite
1:02:49
Просмотров 11 тыс.
Flipping Robot vs Heavier And Heavier Objects
00:34
Просмотров 39 млн
Python RAG Tutorial (with Local LLMs): AI For Your PDFs
21:33
If __name__ == "__main__" for Python Developers
8:47
Просмотров 407 тыс.
Writing My Own Database From Scratch
42:00
Просмотров 241 тыс.
Pydantic Tutorial • Solving Python's Biggest Problem
11:07
SQL Databases with Pandas and Python - A Complete Guide
16:59
Отменённые гаджеты ⛔️
0:41
Просмотров 52 тыс.
САМЫЙ ДЕШЕВЫЙ iPhone
10:08
Просмотров 450 тыс.