▶️ Watch Entire Tkinter Playlist ✅ Subscribe To My KZbin Channel: bit.ly/2UFLKgj bit.ly/2IGzvOR ▶️ See More At: ✅ Join My Facebook Group: Codemy.com bit.ly/2GFmOBz ▶️ Learn to Code at Codemy.com ✅ Buy a Codemy T-Shirt! Take $30 off with coupon code: youtube1 bit.ly/2VC9WUN
@meaningfullife70754 жыл бұрын
12:40 That for loop is not necessary, you are editing just one record so you had to make it loop inside one record and without mentioning all the feilds of the one record :)
@Lennardish Жыл бұрын
He;llo John, with all the help of your explanations, I succeeded in having the update entry boxes in the root window. My root.geometry("750x600") is wide enough to have two sets of entry boxes next to each other. It took quite some thinking but finally it succeeded. Well, it is in fact just followint the instructions of the leader :) Thanks again.
@Codemycom Жыл бұрын
Glad to hear it!
@exxzam4 жыл бұрын
hey thanks for the video. i have a problem that when i turn the project i made by tkinter and sqllite to an exe file it doesn't open and say can execute script file. can you help me with that? is because i'm using sqllite with it?
@noonegaming215 жыл бұрын
For updation when i use as you said entry object.insert it showing this error... entry_name.insert(0, record[0]) AttributeError: 'NoneType' object has no attribute 'insert'
@SwatcomComputers Жыл бұрын
Sir I have a question... mydb.execute ("select *from purchasetable where purhdate=?",[ mydate1.entry.get ()]) This query returns accurate data from my date picker widgets or database... But i have 2 dates choosers..the 2nd one is mydate2..now what should i do chanhes to this query to get records between these 2 date pickers...these date pickers are ttkbootstrap's offsprings...thank you
@Lennardish Жыл бұрын
Hello John, very clear your explanaion of queries. Maybe I missed something, but suppose there is a database, fir insyance of a VERY LARGE Family, with their birthdays. How can I select just ONE name from the database, and see on screen the information I need, just to be not rude to have forgotten their birthday^^?
@elmo52692 жыл бұрын
cursor.execute("SELECT FROM address WHERE oid ="+record_id ) sqlite3.operationalError: incomplete input can someone help me
@mrrobot37712 жыл бұрын
same problem :/
@vidhiney7 ай бұрын
for the people of the future, its probably because your id number entry column is empty
@gayatrinadar51923 жыл бұрын
This helped a lot.. Thanks :)
@Codemycom3 жыл бұрын
Very welcome
@firezerwudneh854 жыл бұрын
Great tutorials !! Wanted to ask ...does opening a new window with the Toplevel commnad differ from using the tk??
@Codemycom4 жыл бұрын
Yes, it can differ in small ways.
@vamprock024 жыл бұрын
cursor.execute("SELECT * FROM address WHERE oid ="+ _oid_) sqlite3.OperationalError: incomplete input I am getting this error can you pls help
@piwassana4 жыл бұрын
cursor.execute("SELECT * FROM address WHERE oid ="+( _oid_))
@prajwalghatage79684 жыл бұрын
For def edit execution (c.execute) it is giving incomplete input error
@Codemycom4 жыл бұрын
check your code
@fvefa5 жыл бұрын
Thanks very wel explained
@Codemycom5 жыл бұрын
Thanks for watching!
@matejkrenek59334 жыл бұрын
Hello, I have such a problem with update a record. When I click on the 'save record' button in second window (window where you can edit a record) it writes to me: c.execute("""UPDATE addresses SET sqlite3.OperationalError: no such column: zipcode" I even tried to copy your code from github. Do you know how to fix it?
@Codemycom4 жыл бұрын
Sorry, there's a problem with your code, or you haven't created a zipcode column in your database...either way I don't know how to fix it
@Raxer_th4 жыл бұрын
In this video you create a new window with the "normal root" way. Hope you understand that) But in a previous you told us to use the Toplevel way. What are the differences?
@sailendrachettri85213 жыл бұрын
If you create with using Toplevel, then whenever you close the main window the other window will also close automatically. but if you create using TK() then it not affected. Hope that make sense :)
@dizzydizzy47044 жыл бұрын
In my database, not all the fields consist of text. Some of them are sliders from 1 to 5, and checkboxes Ho do I 'insert' the info from sliders and checkboxes into the edit function since neither sliders nor checkboxes have the 'insert' attribute? Thank you for your videos!
@GS2YoutubeChannel4 жыл бұрын
Don't understand why you wouldn't use a Toplevel() window for this new window. In a previous video, you said to use Toplevels - surely you shouldn't deviate from this methodolgy?
@Codemycom4 жыл бұрын
You can do either. It depends on how you're going to use the window
@aribiali35744 жыл бұрын
amazing !!! U SHOULD KNOW THAT I LOVE YOU XD
@Codemycom4 жыл бұрын
Thanks!
@fredsmean4 жыл бұрын
Should I close the database connection at the end of the function? "Editor" or i called mine "update" function. To clarify. If so where do I place the connection closing statements.
@Xboerefijn13 жыл бұрын
Would it be possible to have the the gui autoupdate when something in the database changes, or after a specific time like every second to keep up to date with the database?
@Codemycom3 жыл бұрын
Sure, I have videos on timers on the playlist
@novaploca20803 жыл бұрын
Hi Ryan have you managed to do that, I am having trouble. Either every second program opens another instance of window or rows get inserted after last insert.
@Xboerefijn13 жыл бұрын
@@novaploca2080 Yes. Though I have only my main window: I went for an infinite while loop. Inside I first deleted the contents of the cell and than insert new contents. I set a sleep time of 10ms to not make it to heavy on my computer while keeping the contents of the cell always up to date and uneditable.
@novaploca20803 жыл бұрын
@@Xboerefijn1 tnx man
@dianabor188 Жыл бұрын
i am currently enrolled in your codemy course and need the source code for this please?
@Codemycom Жыл бұрын
All the code for this playlist is at: github.com/flatplanet/Intro-To-TKinter-KZbin-Course
@morrow.himself2 жыл бұрын
How can I add the last name instead of adding the ID. I've been working on it for a long time, but I can't do it
@bakiyakannan37464 жыл бұрын
Thank you for the video.While I am trying to execute this code I had an error like "name editor is not defined" on jupyter notebook.pls help me in this regard...
@Codemycom4 жыл бұрын
Don't use juypter notebooks for tkinter
@Lennardish Жыл бұрын
Hello John, love your video's. I have tried to change the addresses database program. What I wanted was that I could find just one very specific record by asking : "What name are you looking for?" For instance like this: person = input("What name are you looking for? : ") The result should be that the program produces that one record with the data of that person. I was not successful. Can you please give some nformation about how to have that desired result? Thanks , Paul . Netherlands
@Codemycom Жыл бұрын
I have videos on the playlist that show you how to do that
@zachfenton6082 жыл бұрын
Great video, i have a problem with record_id = delete_box.get(). It's saying its not finding get().
@Codemycom2 жыл бұрын
What did you do different from the video?
@parsabahrambeik43814 жыл бұрын
Hi, thank you very much for your video.
@Codemycom4 жыл бұрын
Thank you too
@Music-bo8ig2 жыл бұрын
Can you explain how to save image to sqlit3 database, and how to read it using tkinter please
@Codemycom2 жыл бұрын
save/read it as a blob type, in the same way you save anything
@Music-bo8ig2 жыл бұрын
@@Codemycom but only displaying bainery code😥😥😥
@Codemycom2 жыл бұрын
@@Music-bo8ig then you did it wrong
@Music-bo8ig2 жыл бұрын
@@Codemycom so what is the correct method can you tell us pleas
@Codemycom2 жыл бұрын
@@Music-bo8ig I don't have any videos on that because these days you don't hold images in databases, you upload them to a cdn and save the url of the image to the database as text.
@martygeorgiev60864 жыл бұрын
I have all my 'items' 'strings' listed into a TreeView and I'm trying to make the same 'update record' from the SQLite DB. Could someone give me a hand, please?
@Codemycom4 жыл бұрын
I'll likely do videos on treeview soon
@mee89633 жыл бұрын
Sir why can't u use toplevel for opening a new window
@Codemycom3 жыл бұрын
You can
@daneshpatel56383 жыл бұрын
How we can save the Data created in excel
@Codemycom3 жыл бұрын
I have a course on python and excel with openpyxl
@Cric_shorts40913 жыл бұрын
Error is showing that- list index out of range
@Codemycom3 жыл бұрын
What did you do differently from the video?
@Cric_shorts40913 жыл бұрын
Sorry ! I got my mistake 😅
@Codemycom3 жыл бұрын
@@Cric_shorts4091 glad you got it sorted out
@generalpinochet98214 жыл бұрын
vid idea: make a code editor in tkinter
@Codemycom4 жыл бұрын
Yeah I might do that in the future
@allifmaalengineeringlimite98533 жыл бұрын
The update functions updates everything...
@mistermayhem9884 жыл бұрын
incomplete input error?
@Codemycom4 жыл бұрын
I need more info than that. What's the entire error.