How To Save To a Dat File Instead of Databases - Python Tkinter GUI Tutorial #153

preview_player
Показать описание
In this video I'll show you how to save data from your Tkinter app to a Dat File instead of a database!

Databases are complicated! Wouldn't it be easier to just save your basic data to a single file that you can open in your app whenever you want?

The Pickle Module allows us to save to a dat file easily, and then load the data from the dat file just as easily. In this video we'll look at saving and loading data to a dat file from both a Tkinter Text Widget as well as a Tkinter Listbox.
Рекомендации по теме
Комментарии
Автор

▶️ Watch Entire Tkinter Playlist ✅ Subscribe To My YouTube Channel:
▶️ See More At: ✅ Join My Facebook Group:
▶️ Get The Code

Codemycom
Автор

I just can't stop watching your videos.
I'm into your all videos.
Thank you tonnnn times 😍😍😍

JitenderKumar-cxfi
Автор

Your energy level is insane, and your video are knowledgeable and enjoyable. Your videos kills all anxiety while doing programming... Thanks for teaching so well...


Sir, you must create your own app named *Codemy.com* (suggestion from my side..)

codeKeshav
Автор

amazing video John, thank you! I have learned so much from this channel, we do not deserve all this free content!

WvyyFPS
Автор

how does the open function know of the stuff variable that is inside the save function?

alexdefoc
Автор

It's really nice of you to give us these tutorials for free...

shubhamshubham
Автор

Hello John,
It was not so easy !!!
I am using Python under LINUX MINT.
So i had to specify the way to create the new file
such as :
and it’s difficult for me to understand the american.

But your program is running very well.
Thank's and Mary Xmas.
et un petit bonjour de France.

albertdupond
Автор

Love all the videos! Is there a way to do this with multiple Entry boxes?

davidwilliams
Автор

pickle does not work at my computer, it is the only problem. If you type import pickle, the program doesn't work. Do you probably know what the problem could be?

danilakriukov
Автор

Please tell how to use ms access with tkinter

shouryashantanu
Автор

First, love your videos!
Second, this is actually a good way to store settings and custom preferences for a program I think... (I'll try it on my progrsm haha)

bennythetiger
Автор

cool and really easy. In one of the last Videos we made some Lists like small_colors, medium_colors, large_colors. Can i save the Data of all 3 Lists in one file (if - how ?) or do i have to make 3 files ?

-eckes-w.
Автор

Question: does codemy.com have any interactivity? I mean a way to ask questions or get help? I'm not gonna lie, for the price, it's just astounding either way.

dunuth
Автор

Just like Image.resize make a video on Image.crop. Plzz....

shrinivaschaurasia
Автор

Hi John, like your easy introductions. Somewhat off topic, but have you done any vids on ini file handling using configparser? I've been through some of the pages found on the web, but apart from creating the initial file they never seem to work right. Clearly I'm an idiot, but... ;-)

microknigh
Автор

Could you use this to set a profile of your program which will be remembered next time you open? Example dark or light theme, you write the programme to start in light theme, change it to dark, it saves the profile to dat and when you re open, it reads the dat and starts in dark theme?

frazer
visit shbcf.ru