Только начинаю работать с PyQt. Я просмотрела множество видео о работе с таблицами, но все так нудно рассказывают и растягивают время, я не могла понять принцип использования. Здесь я ни слова не поняла, но наглядная демонстрация настолько хороша, что я научилась работать с таблицами в PyQt. Потрясающе
@lyonlai31326 жыл бұрын
I think this is the most learner-friendly video of PyQt5-connect-database-then-show-in-tableView I have ever watched, thank you.
@mindcreativestudios47094 жыл бұрын
Searched far and wide for a simple tutorial like this... A BIG THANKS!!! for sharing.
@mannycalavera1215 жыл бұрын
Straight to the point, great tutorial
@bedpetikee4 жыл бұрын
Nice of you to not edit out your typing mistakes and your reaction to them. It somehow calmed me :D
@Nuhyamin15 жыл бұрын
Thank you so much bro. This helps tremendously
@merrynet4456 жыл бұрын
gracefull ,well done ,Thank you !
@BurlandooSistema5 жыл бұрын
GREAT tutorial man!
@emrekucuk1723 жыл бұрын
thanks for sharing dude. You're the best ! you helped me very much. Thank you again.
@sinduramkoundinya56157 жыл бұрын
thanks for this.....helped me a lot
@bryantavera63615 жыл бұрын
good stuff, worked for me thanks !
@davidthompson38763 жыл бұрын
Excellent tutorial thank you. Hope you do more.
@endaolaw11827 жыл бұрын
thanks for sharing, it's helping me alot
@aNDy-qh1em6 жыл бұрын
Awesome, just what expected. Thanks! Just what is the best way to display names of the fields (columns) to keep them frozen on the top?
@cindyyeon4893 жыл бұрын
Thank you! Great help for me !!
@abrahamhassan40445 жыл бұрын
This is so helpful!! Ive been looking for this for weeks!
@arvindthakur26684 жыл бұрын
How can a binary image if added in the database be displayed on to QtableWidget. Please let me know will be a great help for me.
@sanjaynt74343 жыл бұрын
Thanks mam for the explanation it helped me a lot
@PrasadNadiger4564 жыл бұрын
A helpful tutorial!!
@nataliejanepacificar70683 жыл бұрын
Thanks for this!
@excellencemichel48756 жыл бұрын
Hello ! Thank you very much for this great tutorial. Is it possible to remove the numbers that are on the list on the left by default because that has the fact that there are duplicate numbers with the identifiers.
@arenmkhoyan6 жыл бұрын
Thank you my bro
@zyrosigs43935 жыл бұрын
HI thanks for the video, is it possible for the user to enter/edit values in the tablewidget which then update the database?
@sameerk129826 жыл бұрын
Thank you very much for this informative tutorial....you can also set header for table cells using method.... header = ["column_Name1","column_Name2"] self.tableWidget.setHorizontalHeaderLabels(header)
@yourmommy68495 жыл бұрын
yes, you can use...header= ['Id', 'name', 'Lname','phone','address'] after pass to self.tableWidget.setHorizontalHeaderLabels(header)
@arpitagec93 жыл бұрын
How can we add the column names (I dont want the nos. to appear as heading)? Also, if we want to load all the records (without restricting to a few records)?
@webapplicationguide37986 жыл бұрын
Thank You !!
@rwasta70075 жыл бұрын
i will share the db with u on the description. lol
@apoyenarevici5 жыл бұрын
Very good explanation! With this example I have written a window showing Sqlite data. Now, I need to show some info in another widget after each itemSelectedChange. I have assigned a variable to choose each row in this table. The first time works fine. But after changing the content of the table the error " has not attibutte "text" " appear because this variable is none. Do you know how to fix this? Thank you.
@meesteryellow6 жыл бұрын
Thank you. How would I refresh the table when data changed? For example, I have 2 QComboboxes that sets the arguments of my SQL query, and a button that executes it and adds the data to the table but it doesn't 'refresh' the table.
@sahiljain78716 жыл бұрын
setRowCount(0) and then back to required row count
@miguelreyesgarcia99754 жыл бұрын
Thanks! for this Video!
@amolmore30936 жыл бұрын
Please share the Database link you said you will add in the description????
@OlaideDspirit7 жыл бұрын
Thanks for this video have learning Python PyQt from your tutorials and it really make sense please can you do a tutorial on how to store image and retrieve image with pyqt and sqlite3 please
@OlaideDspirit7 жыл бұрын
I need to save the picture into sqlite 3 Database and fetch it on a Qlabel i dont understand you
@OlaideDspirit7 жыл бұрын
OKAY THANK YOU VERY MUCH I REALLY APPRECIATE IT
@avinashsingh-zw4qn5 жыл бұрын
great help thanks
@hamzazahid15225 жыл бұрын
Hey with pyqt5 its giving me error of: tableWidget object has no attribute 'setRowCount'. Any Idea how to resolve this?
@GregorioHonorato6 жыл бұрын
Hi, your videos are helping me a lot. Thank you very much. I have a question about your video. How do I make the table row get the id of the table. I need this because at the time I click it it opens a blank record. Thank you very much for your attention and I can not find this solution on the net.
@Heron31415 Жыл бұрын
Thank you for your lesson! Can I make dynamic Tableview using as source pivot table aggregated by pandas?
@MVCoolMaestro4 жыл бұрын
Thanks ya so much!!!
@Thoreller Жыл бұрын
Well Done!!!
@jdally98725 жыл бұрын
What's the difference between the Table View and Table Widget?
@jaimsedanos.34425 жыл бұрын
how to import data.txt to pyqt5 table widget, it's similar or diffrent. Perhaps, Can you help me with that, please?
@onlyawareness46085 жыл бұрын
Pretty good, but how to change the column headings ?
@outdoorista91895 жыл бұрын
Is this applicable in pymysql db? because it is giving me an error. How can i Fix this? I would really appreciate it
@omarelfarsaoui54986 жыл бұрын
merci mon frère :)
@manupaimanohara6 жыл бұрын
please hare the database...u have not in Description
@technologs88494 жыл бұрын
can we view dynamic number list using this
@rkane97175 жыл бұрын
if I wanted to extend this app to swap rows around how could this be done in qt? Including multi-line selection too?
@snowframe29954 жыл бұрын
1 year ago, but still no reply 🙁
@martinaguila63666 жыл бұрын
how about when im using mongodb instead?
@gustavo6ml4 жыл бұрын
Obrigado. Thank you.
@mfatihin84085 жыл бұрын
How to create database before load in mainwindow?
@15837pawimomo6 жыл бұрын
thank you
@maximilian46184 жыл бұрын
That moment when you forget to insert 'd' Jokes aside, thank you very much for sharing this little bit of information, it is very helpful!
@siraatsoft12415 жыл бұрын
Where is db_conn file. very knowledgeable video. Thanks
@PitazaBar4 жыл бұрын
where can I find the code? I see no description for this video
@drakZes6 жыл бұрын
You did not share it in the description.
@SoumilShah5 жыл бұрын
what if data in database is more than 5 will it expand dynamically ? what i am saying is you entered the row as 5 if if there are 10 values ?
@ajaysatbhadre90905 жыл бұрын
G
@ajaysatbhadre90905 жыл бұрын
Yes, It is dynamic as many as rows you have in table
@leeleelee2294 жыл бұрын
Thank you for the good video. I don't know if you can read this comment since it was a long time ago, but I have a question. I followed your video and there was an error such as sqlite3.operationalerror: year "-": syntax error. Do you know the solution? I'm in a hurry. Thank you so much.
@lavizlay3 жыл бұрын
A problem I generally have; My 'connect' queries are not working. Neither 'sqlite connect' nor 'clicked connect'. Can you help me?
@fatihislgan74373 жыл бұрын
thanks bro
@marcdalmaso85405 жыл бұрын
The video shows editing of the file created by Qt Designer: It says in Red at the beginning of the file that it should NOT be edited, and indeed it shouldn't! Instead you must create a main.py file and import it.
@juleswinnfield14375 жыл бұрын
For anyone reading this. You CAN edit this file, it's just good practice to import it externally as it will overwrite your logic when updating the UI.
@alexgutz54502 жыл бұрын
I cannot try the program since the database file is SETUP.EXE and the antivirus is saying there is a trojan horse. I have you can just attach the database file.
@mohamedriedwaanbegg60094 жыл бұрын
import sys ............. the import sys goes dimmed also TypeError: connect() got an unexpected keyword argument 'host' mydb = mysql.connector.connect(host='localhost', user='riedwaan', passwd='password') (host='localhost', user='riedwaan', passwd='password' becomes highlighted please help. Im stuck
@heenachakradhar79726 жыл бұрын
whats there in my db file
@nataliejanepacificar70684 жыл бұрын
Can you do a video with CSV files?
@robinrai3416 жыл бұрын
i have following error Error 2] The system cannot find the file specified so how to solve?
@fuadroshan27044 жыл бұрын
create a db file first
@pragatigupta98285 жыл бұрын
i got error "Python has stopped"
@Gogeeish6 жыл бұрын
Hi!Can can you show how to save data into sqlite table? And how to delete rows?
@sahiljain78716 жыл бұрын
connect to sql - kzbin.info/www/bejne/aqbUm42uja6AeMk delete table rows - Qtablewidget.setRowCount(0)
@catsandmusic46355 жыл бұрын
where's the db file?
@AbhishekSharma-uy1zv3 жыл бұрын
I am confused in the above error what to do with that plzz help plzz
@selinavc-9 ай бұрын
CAN WE TAKE THE DATA FROM POSTGRESQL WİTH THİS WAY
@ACHALAMI6 жыл бұрын
TypeError: selectedItems(self): too many arguments
@rupampriya28516 жыл бұрын
can i have the code for showing the table from database into tkinter window
@rupampriya28516 жыл бұрын
plzzz help me out from this
@tomaszdziurman22744 жыл бұрын
Hello, how this it looks when i use MySQL?
@ajaysatbhadre90904 жыл бұрын
Sure, soon I will publish new video about that!
@OlaideDspirit7 жыл бұрын
This is the error i receive when trying to implement this tutorial import QtWidget ImportError: No module named QtWidget
@ahmedemad94646 жыл бұрын
you should have PyQt5 to import QWidgets
@suganthiganesh61014 жыл бұрын
Hi, Thank you. Great . Can you make a GUI for matrix multiplication for user input?
@ajaysatbhadre90904 жыл бұрын
Yes I can!
@suganthiganesh61014 жыл бұрын
@@ajaysatbhadre9090 Hi, Please Explain how to create it.
@ajaysatbhadre90904 жыл бұрын
You can achieve this by QTableWidget, you can edit values in table or it can be use as a input fields for matrix multiplication. When user change value in cell you will get trigger ( change event ) then you can identify which cell is change and it's new value and perform operation on matrix.
@suganthiganesh61014 жыл бұрын
@@ajaysatbhadre9090 I have some doubts. can I get your email id?
@m.furkanyolal69524 жыл бұрын
Hi Ssj6; I have 2 columns and so many rows (nearly 10.000) in my database. My program is to slow to load this data. How can i load faster?
@ajaysatbhadre90904 жыл бұрын
You should use pagination. Load records page by page. Instead of fetching all 10000 records at once fetch them 100 on first page and next 100 on second page so on..
@m.furkanyolal69524 жыл бұрын
@@ajaysatbhadre9090 Thank you, i will try it.
@m.furkanyolal69524 жыл бұрын
@@ajaysatbhadre9090 Hello again, I can't find any good source for pagination. Can you send me a example or source?
@juleswinnfield14375 жыл бұрын
Christ. I wish the code would be put in the description -_-
@balajikshirsagar9214 жыл бұрын
database is not getting downloaded i tried too much
Traceback (most recent call last): File "criminal_list.py", line 21, in loadData for row_number, row_data in enumerate(result): TypeError: 'int' object is not iterable Please help
@asimrehman44753 жыл бұрын
@ Vince Novem how you can solve this problem coz I also stuck in this problem... Traceback (most recent call last): File "main.py", line 33, in load_data for row_number, row_data in enumerate(data): TypeError: 'int' object is not iterable
@ajaysatbhadre90903 жыл бұрын
It seems data variable is not iterable, the problem is data variable here. Please check it's value.
@outdoorista91893 жыл бұрын
Thanks for your help guys, thou I already graduated a year ago. Can't remember this problem now.
@catsandmusic46355 жыл бұрын
i want to kiss ur head thank u
@neo92vip3 жыл бұрын
Warning: All changes made in this file will be lost.... Never edit that file. You need to create separate class and promote the object to that class... You are giving bad design practises.
@drakZes6 жыл бұрын
Doesn't work and he doesn't explain anything so I can't learn anything from this.