Add Functionality To Treeview CRM App - Python Tkinter GUI Tutorial

  Рет қаралды 24,458

Codemy.com

Codemy.com

Күн бұрын

Пікірлер: 72
@Codemycom
@Codemycom 3 жыл бұрын
▶️ 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 ▶️ Get The Code bit.ly/3sI9qlj
@Alok_Mandal
@Alok_Mandal 3 жыл бұрын
One suggestion john, since the list is long, give a search button to search entries and to edit. waiting for the next one, import external database and add record. You are doing really great work, God bless You.
@Alok_Mandal
@Alok_Mandal 3 жыл бұрын
I write the code for add and search. Now working on to import external data , modify it and then export or save as. Oh yes, i did it by watching your video. 😀👍
@karthikrajamony6044
@karthikrajamony6044 3 жыл бұрын
Was waiting for this video John, Thanks
@Codemycom
@Codemycom 3 жыл бұрын
Hope you enjoyed it!
@jash2851
@jash2851 2 жыл бұрын
You are just great ! Love your teaching passion and the method
@Codemycom
@Codemycom 2 жыл бұрын
Thanks!
@AK-sr8eg
@AK-sr8eg 3 жыл бұрын
i've waited so long for this video , great work jhon keep going
@Codemycom
@Codemycom 3 жыл бұрын
Will do!
@tonybowers7151
@tonybowers7151 2 жыл бұрын
You are the man. Love your videos.
@myhoa3215
@myhoa3215 2 жыл бұрын
I'm a new bie and really love the way you teach
@Codemycom
@Codemycom 2 жыл бұрын
Happy to hear it!
@yahyaa4499
@yahyaa4499 3 жыл бұрын
Nice one...Keep up with the amazing work you are doing...
@Codemycom
@Codemycom 3 жыл бұрын
Thank you, I will
@johngiangrande2996
@johngiangrande2996 3 жыл бұрын
HI John, I'm getting a weird exception. @15:25 in this vid, you suggest holding down the CTRL button and selecting several records. When I do, I get: File "C:\tkinter\treebase.py", line 213, in select_record fn_entry.insert(0, values[0]) IndexError: string index out of range If I select records without holding down the CTRL button, the exception doesn't occur. --- fig'd it out: ---- Turns out, this is the offensive line: selected = my_tree.focus() When you hold down CTRL, selected becomes an empty string. In turn, selected is passed to this line: values = my_tree.item(selected, 'values') The result is values is an empty string as well, leading to the IndexError exception.
@aradabasi6308
@aradabasi6308 3 жыл бұрын
very nice my friend
@Codemycom
@Codemycom 3 жыл бұрын
thanks
@karthikrajamony6044
@karthikrajamony6044 3 жыл бұрын
Please add a video illustrating change event which is available in Excel VBA for textboxes.Also a video for all events in widgets.
@Codemycom
@Codemycom 3 жыл бұрын
Sorry I don't know VBA.
@ramirovaldes4889
@ramirovaldes4889 3 жыл бұрын
Thank you!!!!!
@Codemycom
@Codemycom 3 жыл бұрын
Welcome!
@Xboerefijn1
@Xboerefijn1 3 жыл бұрын
I trying to build an application that takes the contents from a data base created by an external project just to see what's in there. Can I also use the "def selected_entry" with a button(later it will be automatically updating every second, but that will be when the rest is working as intended) to just grab the contents or does it need to select the entry specifically?
@Codemycom
@Codemycom 3 жыл бұрын
Anytime you work with a database, the code has to be specific to that database
@maroctechno1234
@maroctechno1234 3 жыл бұрын
HHH GREAT JOB SUR THANK YOU
@Codemycom
@Codemycom 3 жыл бұрын
Thanks!
@Indices9289
@Indices9289 3 жыл бұрын
I know you finished the tkinter course and if you covered this pls tell me but I have been trying for nearly months now to make 2 shapes inside of a canvas(I can do this part) then I need to be able to move them(I know how to do that too) but the part I need help with is when I need to show the distance between them(the distance needs to change whenever the 2 shapes move) please help me I tried everything
@Codemycom
@Codemycom 3 жыл бұрын
Why would you think I finished tkinter? I do tkinter videos every Tuesday.
@Indices9289
@Indices9289 3 жыл бұрын
@@Codemycom sorry I wasn’t sure but could you please cover this topic?
@viktor187
@viktor187 3 жыл бұрын
Does anyone have a quick tip for this issue? Ive made my treeview alongside the videos with exactly the same expressions and so on. When I enter data in the fields, it sorts under the correct columns but when I try to grab info from the list, every entry box shows all the information for a customer. The First name box shows first name, last name, address, city etc. and so does the other boxes. Where should I look for the issue?
@Codemycom
@Codemycom 3 жыл бұрын
I mean, look in the function that grabs info from the list
@joeyblaq9952
@joeyblaq9952 3 жыл бұрын
@Codemycom
@Codemycom 3 жыл бұрын
:-)
@askpatti
@askpatti 2 жыл бұрын
When we created the "Remove all" button, we removed all the records. But then we created the "Update record" and all the records were back. Why is that? Is there a "pack" command or something to remove the records marked for deletion?
@Codemycom
@Codemycom 2 жыл бұрын
Sorry, don't know what you're talking about. The records were back because I manually put them back after explaining the remove all function.
@jorgemarquez1628
@jorgemarquez1628 2 жыл бұрын
Is there any way to pass the selected information from a treeview to a text method? I have 2 treeview in a window and I want to pass that selected information to another window in another text method, is there any way to do that?
@Codemycom
@Codemycom 2 жыл бұрын
Of course. Don't you see how to do it by watching this video? Doesn't it show how to grab records out of a treeview? Once you have them, you can do anything you want with them...add them to your text thing or whatever you want.
@jorgemarquez1628
@jorgemarquez1628 2 жыл бұрын
@@Codemycom but it's strange; either I know I'm doing something wrong or I'm missing something... because either it returns the iid or it returns the complete dictionary of {img, text, values, ..... } it doesn't give me the values
@Codemycom
@Codemycom 2 жыл бұрын
@@jorgemarquez1628 Probably both lol put it away for a couple days...come back, rewatch all the videos and your error will probably jump right out at you.
@rocketleagueshorts1961
@rocketleagueshorts1961 3 жыл бұрын
plz make a video on using "page builder for tkinter" vs "coding with tkinter"
@Codemycom
@Codemycom 3 жыл бұрын
I don't use page builder
@hansfugers1519
@hansfugers1519 2 жыл бұрын
I tried to use this example as template but button-actions refuse to delete Entry-data! Message: AttributeError: 'NoneType' object has no attribute 'delete' Is this problem with python 3.10??? I see everybody else more or less do the same in other examples
@hansfugers1519
@hansfugers1519 2 жыл бұрын
found that the .grid-expression must be on a separate line ( not combined) ... Sorry
@Codemycom
@Codemycom 2 жыл бұрын
@@hansfugers1519 yeah, never grid or pack on the same line you define the widget.
@rahmatilloismoilov3323
@rahmatilloismoilov3323 3 жыл бұрын
what do you think of your level in the programming world?
@Codemycom
@Codemycom 3 жыл бұрын
I don't think anything about it.
@codeKeshav
@codeKeshav 3 жыл бұрын
@@Codemycom That's a *Bull's Eye* reply
@Codemycom
@Codemycom 3 жыл бұрын
@@codeKeshav ha
@-eckes-w.3574
@-eckes-w.3574 3 жыл бұрын
Hi John, if nothing is selected in the tree and i klick "remove one", i get an error: x = my_tree.selection()[0] IndexError: tuple index out of range. How can i fix this ?
@Codemycom
@Codemycom 3 жыл бұрын
maybe run an if statement for None
@-eckes-w.3574
@-eckes-w.3574 3 жыл бұрын
@@Codemycom this works: def remove_one(): try: x = my_tree.selection()[0] my_tree.delete(x) except: pass
@source_thought
@source_thought 2 жыл бұрын
you forgot to write a add_record function to add_record button which doesnt do anything at all at the moment : )
@crlsbarr
@crlsbarr 3 жыл бұрын
Hi John! can i add a filter to a treeview?
@Codemycom
@Codemycom 3 жыл бұрын
Sure, but there’s no built in function to do it.
@rahmatilloismoilov3323
@rahmatilloismoilov3323 3 жыл бұрын
John brother! What can you do in python?
@Codemycom
@Codemycom 3 жыл бұрын
With Python you can do whatever you want
@codeKeshav
@codeKeshav 3 жыл бұрын
@@Codemycom Yes sir you are correct
@codeKeshav
@codeKeshav 3 жыл бұрын
Sir, can you tell why MP3 Player using *pygame* don't work when converted to .EXE file ???????
@Codemycom
@Codemycom 3 жыл бұрын
it does work
@codeKeshav
@codeKeshav 3 жыл бұрын
@@Codemycom Yes. It works. I was converting using pyinstaller 3.6, then I updated it to pyinstaller latest version and it worked
@codeKeshav
@codeKeshav 3 жыл бұрын
Had u ever been to India
@Codemycom
@Codemycom 3 жыл бұрын
No
@hosseinroosta5154
@hosseinroosta5154 3 жыл бұрын
I coud not finde the source code of this crm app. Could u help me please?! Thanks
@Codemycom
@Codemycom 3 жыл бұрын
Code is linked in the pinned comment
@Rana_Ans
@Rana_Ans 3 жыл бұрын
just wanted to say hi Johny
@Codemycom
@Codemycom 3 жыл бұрын
Thanks Muhammady
@palo8818
@palo8818 Жыл бұрын
Hello Johnny😂😂😂
@Kamila-vw7xb
@Kamila-vw7xb 2 жыл бұрын
5:24
@rahmatilloismoilov3323
@rahmatilloismoilov3323 3 жыл бұрын
Who are you? Are you Web developer or Software Developer?
@Codemycom
@Codemycom 3 жыл бұрын
Huh?
@bhartitahiliani3407
@bhartitahiliani3407 3 жыл бұрын
jhony
Connect Treeview To Database - Python Tkinter GUI Tutorial #174
17:36
When mom gets home, but you're in rollerblades.
00:40
Daniel LaBelle
Рет қаралды 127 МЛН
ROSÉ & Bruno Mars - APT. (Official Music Video)
02:54
ROSÉ
Рет қаралды 256 МЛН
HELP!!!
00:46
Natan por Aí
Рет қаралды 37 МЛН
龟兔赛跑:好可爱的小乌龟#short #angel #clown
01:00
Super Beauty team
Рет қаралды 117 МЛН
Modern Graphical User Interfaces in Python
11:12
NeuralNine
Рет қаралды 1,6 МЛН
Checkboxes in Treeview Table Tkinter - Python [Best Video]
25:56
Simple Python App with Kivy - Step by Step GUI Tutorial
13:11
Python Simplified
Рет қаралды 402 М.
Open Excel Spreadsheets In Treeview - Tkinter Projects 3
17:21
Tkinter․com
Рет қаралды 22 М.
Adding a Full Screen ScrollBar - Python Tkinter GUI Tutorial #96
15:08
Pydantic Tutorial • Solving Python's Biggest Problem
11:07
pixegami
Рет қаралды 283 М.
When mom gets home, but you're in rollerblades.
00:40
Daniel LaBelle
Рет қаралды 127 МЛН