@@PythonSimplified In 8:58 you said that when using tk.Label the first parameter is always root, but minutes before you used tk.Label for logo image WITHOUT it. Explain.
@@PythonSimplified Seriously! So many others simply use code and don't explain why. It makes it sooooooo much easier to follow along when things are "clicking" as you go along. Everything was wonderfully explained. Thank you, thank you, thank you.
@@PythonSimplified yes nicely done. I’m currently learning between C++ and Python and Python seems a lot easier especially as you explained. Not many do this, unless I’m not aware. How do I make my own malware and virus scanner and along with protective firewall against hackers?
not really: 7:34 "and even though it looks like we're just paraphrasing the code from above, you cannot skip this line of code, it is absolutely necessary", the mistery
That was EXCELLENT. I actually just recently created a PDF text extractor, but it is just a terminal window that extracts the text and saves it to a text file, and I've been wanting to learn how to create a GUI for it, so your teachings here will help me make it even better. Thank you so much, and keep up the amazing work!
FYI - CD means "change directory" ... "Current directory" sounds similar and also fits with the letters, but is not the origin of the name of this command.
I had some issues with PfPDF2 being deprectiated, so I made the following changes: from PyPDF2 import PdfReader def open_file(): browse_text.set("loading...") file = askopenfile(parent=root, mode='rb', title="Choose a file", filetype=[("Pdf file", "*.pdf")]) if file: read_pdf = PdfReader(file) page = read_pdf.pages[0] page_content = page.extract_text() print(page_content) New to python, lucky to find your channel!
This is something I’ve been looking for a long time. Simple project wise tutorials. You are fantastic and thank you soo much for the video series. 💪🏽💪🏽💪🏽❤️❤️❤️
Wow, thank you so much Dreamers United! 😁😁 I'm really glad you like my projects! The next one in line is a GUI application again, built with PyQt5 and Pytorch (yup, we'll integrate an actual Neural Network inside our app 😉) So stay tuned!
Appreciate the tutorial! Working through this right now; if any mac users have trouble getting the background color of their button to change, you can use highlightbackground= instead of bg=.
@@PythonSimplified It's true. Most youtubers dont explain, they just type and type and type and type. You explain while you type, and you explain very well. Keep it up! I'll be coming to you in the future if I need/want to learn something :-)
For real, this is game changing for me! I’m such a python and programming noob. I did a full walkthru with this video in vscode on my laptop step by step, and it works like a charm! Thank you so much! You are helping me learn!
It is good to see that Tkinter is still generating some interest :) I just built a Tkinter GUI to accompany what would otherwise be a python API for pdf editing with for a web application.
Thank you!, very straightforward. Exactly what I needed actually. I plan on using this ui implementation to manage massively moving or renaming files. Works like a charm!
Explaining what each line of code does, is what makes you different from others. I just got my hands on python and want to build projects, this video really helps ❤️, thanks..
Thank you for making an informative video about Python and Tkinter. I am taking a Python class for the first time and HATE ugly output! I always try and generate attractive output in all my programming projects because the appearance is just as important as the output.
That's right Alex!! nobody's gonna pay for an ugly software!! 🤣🤣🤣 Actually, maybe check out the PyQt5 library if you'd like to have more control over the design of your GUI, it allows you to use CSS to style your widgets so you can even account for :hover events and animations very easily 🤓
I am really speechless . You have a special gift related to making people understand. I am from Middle East but I don’t kill people haha. Thank you so much.
Thank you so much Ib, I'm really glad you like my tutorials! 😃 I grew up in the Middle East so I know that the reality is very different from how the mainstream news outlets present it 😉 And I also don't kill people hahaha 🤣
Wow, you are an awesome lecturer. You gave me, as an newbee, an excellent insight how different things work together and what basic principles are in the backgroud. *well done*
This was an amazing lesson, thank you so much. I learned a lot, and about halfway through I started getting a bunch of errors and it took me a while to fix the code but I did, and I think I learned from that too. Looking forward to the second part of this series. You're a great teacher by the way. I'm enrolled in a class that costs thousands and I've learned more from this one video than I have from that entire course so far! This was really fun too!
Yeeeyy, I'm so happy to hear that Yoni!! Thank you so much for the incredible comment!! 😃😃😃 I had a bit of an oopsie with: askopenfile(filetypes=[("Pdf file", "*.pdf")]) For some reason, "filetype" worked perfectly on my end - but for many people it had to be replaced with "filetypes" 🙃 You can find the second part of this project here: ⭐️ Advanced GUI App with Tkinter: ruclips.net/video/y8PR4lTAh5E/видео.html And I highly reccomend to checkout a much more recent Tkinter tutorial of mine that also combines an SQLite database: ⭐️ Simple GUI App with Tkinter and SQLite: ruclips.net/video/5qOnzF7RsNA/видео.html (My database structure there can definitley be improved... gently speaking hahaha 😅 but it's an extra fun Random Recipe Picker app which you might enjoy better than part 2 😉) בכל אופן, שמחה שבסוף הכל הסתדר עם האפליקציה! שיהיה לך המון הצלחה בקורס, ד"ש מוונקובר! 😃
Great tutorial - even a novice like me managed to get most of it to work. Couldn't get the font to change or text to appear in the final window but will re-check my code to see if I've missed anything. Well done Mariya, well done, give yourself a pat on the shoulder. Going to give the beautiful and mechanical soup tutorials a go next
Yeeyyy!! Thank you so much Paul, I'm glad you liked it! 😃😃😃 I am also super happy to see my "simplified" concept works! You're feedback is exactly what I was hoping to hear when filming these tutorials, so thank you so much for that! Let me know if you resolved the issues in your code, if not I might be able to help! Anyways, Merry Christmas and have fun with the web scraping stuff, it's a really handy technique to learn! 😉
hahahahaha I think I know which tutorial you're talking about! 🤣🤣🤣 Every time I see a tutorial that's over an hour - I know it's too much information! 7 hours requires so much patience, I probably can memorize the entire documentation of Tkinter faster than that! hahahahaha 😂 Anyways, I'm super happy you stumbled upon my video and you were able to build your own app as a result! 😊 I covered plenty of other GUI libraries like Kivy and PyQt5 if you're interested, you might like them more than Tkinter: Kivy tutorial: ruclips.net/video/YDp73WjNISc/видео.html PyQt5 trivia app tutorial: ruclips.net/video/9iZLDnW_vwU/видео.html Best of luck with your project! and thank you for the lovely comment! 😁
Nice vid Maria! Well communicated and entertaining. Also appreciate the great use of timestamps! Would be great if along side the starter files there was a final project file for people that can learn code at a faster pace.
Thank you so much! I actually did include a finishedProject folder on Github :D: github.com/MariyaSha/PDFextract_text/tree/main/finishedProject Sorry, I just didn't specify the link in the description to avoid spoilers XD If you navigate one folder out of the starterFiles, you will see both of these folders alongside each other :) Thanks again!
Thank you so much! 😃 I have dozens of newer tutorials on the channel featuring even cooler GUI libraries than Tkinter!! (and all of them feature much larger fonts of course! hahahaha) If you like this one - I recommend to have a peek 😉
Finally I find a person who give me only python egg 🥚 😌 Thank you.. I'm sure I will watch your videos and one day I will finish your channels all videos.
Thank you for the amazing video!! As I'm developing tools for automation and data analysis with Python, it would be great if you could do a tutorial on how to convert these apps to an executable file so anyone can launch it without actually having Python. Keep it up you're awesome!
You are welcome Salar! 😄 While you wait for the tutorial, if you are interested in image extraction - there's a really nice thread on Stack Overflow that helped me build that extension. I highly recommend checking out Sylvains' comment (it looks a bit intimidating 😵, but it was the best solution for me) : stackoverflow.com/questions/2693820/extract-images-from-pdf-without-resampling-in-python
incredibly helpful. made my first GUI... finally! Here are some of the problems I encountered and the solutions spelling and capitalization errors "filetype" needed to be "filetypes" text didn't show up at first because of row arrangement, fix: add "rowspan" into canvas size rowspan=3 means there are three rows numbered 0, 1 and 2 note: I didn't add canvas size at the bottom, but had a buffer row. when the text box wasn't present, it automatically arranged proportionally. I appreciate this being taught without a more complex editor like PyCharm or Jupyter. This helps understand what is really happening, not to mention package installation is a whole secondary problem when working in PyCharm and some other IDEs.
а кто еще заходит на видео Марии ради милой улыбки, а потом уже ради полезной информации?) Кстати отдельное спасибо за произношение - слова прекрасно можно разобрать и понять о чем идет речь)))
hahaha Spasibo Murrengan, vse budit horosho! ja naaborot v vostorge ot kali4estvo views - u menja prosto ne kogda stolko mnogo nebilo za 7 4esov! hahahahaha XDDDD
@Python Simplified - I have to say, you're very good at explaining things. That's especially helpful for a subject like coding which can easily get confusing. Thank you!
I'm just beginning in Python, Django, and Tkinter, etc. I liked this video a lot but had one problem with the code. I finally copied your code from GitHub to check my typing and had the same error. After some research I found that in line 24 of your code when defining the "file =' variable I needed to change 'filetype' to 'filetypes', not sure if anyone else had this problem. Thanks for the hard work to make this video. Hope to see more.
Thank you so much for your feedback Joe!! I really appreciate you've tackled this error and shared your solution with everybody!!! 😃 This could help lots of other nice people, who are facing the exact same error! Thank you once again! 😁😁😁 May I quickly ask what version of Python are you using?
My god.. I've been doing a mistake recently and now this beautiful miss just showed me how to fix my code with the simplest way , just lovely ! so Thanks lot .
Only 7??? 😭😭😭 hahaha thank you though! My apologies on the crying emojis - all my grades are above 90 since the day I was born so 70 is never enough on my end 😅 Did you see part 2 of this project? I sure hope it gets a higher score from you! 😉 ruclips.net/video/y8PR4lTAh5E/видео.html
@Pat C "Fantastic video - taught me a whole bunch about Tkinter in a very short time!" - Oh, did it now(?) OK, so why do you need both these lines of code then: logo_label = tk.Label(image=logo) logo_label.image = logo ?
at around 8:26 is where I decided that I am going to subscribe to you Maria and paused the video to do so right away! 😂 I need your energy in my life.. //pats self on the shoulder celebrate the small wins in coding!!
Thank you Hiram, I'm glad you liked it! 😀 Have you seen the second part of this Tkinter project? we extend the app to extract images as well as text: 😊 ruclips.net/video/y8PR4lTAh5E/видео.html
@@PythonSimplified thank you so much, this is so helpful! Usually I just right scripts because GUI’s were so confusing to make but your tutorials are really helping me to finally understand them
@@hiram2238 no worries! I'm here to help and motivate lovely developers such as yourself to come up with their own projects and bring them to life! It's the best way to practice your skills and if you end up creating nice GUIs for your scripts - please share it with me by tagging me on a Linkedin post, or opening an issue on Github! I would love to see what you came up with! 😀
Great tutorial - even a novice can manage to get most of it to work. Well done Mariya, well done, give yourself a party. You are simply doing wonderful.
Thank you so much for the amazing feedback! 😀😀😀 Part 2 of this tutorial will be slightly more challenging as it involves a lot of callbacks and grid manipulation, working on it as we speak and trying to keep it as simple as possible 😉
For anyone playing along on a Mac (I have recently moved, and am always finding there is an extra thing to workaround just for Mac), you may need tkmacosx (pip install tkmacosx) then for button formatting to work right, you need all buttons to use this module. import tkmacosx from tkmacosx import Button as tkm My_btn= tkm.Button(root, textvariable=My_txt, font='helvetica', bg='#00A1AB', height=30, width=150) Hope that helps, it took me a while to find this out. :-)
I don't speak english, but I can understand when you explain, that's nice for me, because my english level is low and I appreciate your work explaining this topic's. Is really hard to learn when the materials which I need are on english. Thanks!!
totally awesome, I'm subscribing, a little clarification though, I think "cd" is actually "change directory" and not "current directory", but still an awesome vid, I like how you get straight to the point, no pointless talk
hi from France, i love your content, i never thought i could understand Python and here i am, feeling capable of it thanks to your very clear and useful content. have a great day and yessssssssssss we want more !
This is best advise i got when started to code:) use print() funtion to find out code works like you think it must work. Nice show how work done step by step. beatiful simple and it WORKS! i start to love humans after this type video
Hi, first of all great video. So, I know that it is an prejudice, that girls don't know anything about computers... but well in my class the girls not even know how restart a pc. So I think that it is great that there are more female programmers out there ! Great Job :)
Thank you! ❤ There are many female programmers out there but for some reason, we are considered to be a rare sight (like a majestic unicorn) 🤣 Not many are teaching on RUclips though, but I assure you, our numbers are growing by the day ;) Maybe give the girls in your class some time, they'll realize how good of a proffession it is eventually
You are absolutely correct Frédéric! 😀 "filetypes" instead of "filetype" is the way to go! I've a updated it in the Github repository a while back, "filetype" was failing across different OS 😉
NEW Subscriber! Most perfect technical tutorial video and explanation I've ever seen, really. And, you even did all the time stamps for the video, are you kidding me - Stellar!
Best GUI tutorial for me so far. I watched a lot but they lost me in seconds when they started to use the "hello world"... This was practical, and it is so much easier to learn something when the examples are closer to my project. I think your teaching style is matching with me :D Subscribed. One thing I did miss, that you wrote a lot of parameter but never explained it what they do. (for eg: text_box.tag_add("center", 1.0, "end"))
Finally, got the best video of yours. Nicely explained each statement. Now, i feel that i can be a Pythonista. Hope, you make more new videos of python from beginner level to advanced level .
Wow I really like your course! I'm from Italy and I recently started programming with Python, your lessons are very helpful and clear! Congratulations, keep up the excellent work! 😄😘👏
Actually you could simply from Tkinter import * or from Tkinter import (any object like Tk, Canvas, Label, ttk) so, your code from root = tk.Tk()< will be > root = Tk() you do not have to make a canvas to resize your tkinter window, you simply just root.geometry('height*width')
Hi Gavriel! Thank you for your feedback! 😃 The * tip is amazing!! I've used it in the following Dear PyGui video, and I should have definitely used it here too (I guess too late now 😅 but, yes, I absolutely agree with you there!) Are you sure that the root.geometry() tip can be combined with .grid() though? did you try it inside your code? Please let me know! I'll try it on my end once I'm done with replying on comments, but I vaguely remember there were some issues with it... :)
@@PythonSimplified yup, you can combine it with grid() of course, but in some cases, the tkinter window would shrink it's size depend on the element (if you just put 1 button, it will shrink into that button size), so you have to use from Tkinter import Tk root = Tk() root.propagate(False) ---> prevent the window shrink or, if you use pack, grid, place root = Tk() root.pack_propagate(False) root = Tk() root.grid_propagate(False) root = Tk() root.place_propagate(False) i think it would do better, so you do not have to type "tk." for every single time just to create an object in python, especially if you work with multiple window that requires many object. You could use any of it, it's the same, but i usually use the first example rather the second example P.s: Steins Gate is good, you should watch it ;)
That's awesome! thank you so much@@gavrielsembiring6048😁 I've tried root.geometry() with grid() and it worked like a charm! I can't get rid of the canvases though, because I want to split the program into partitions with different background colours... I just find it convenient. I will include your recommendations in the follow up Tkinter video (and I've already adjusted the code on my end so no more tk. instances 😉) and Steins Gate you say? I'll check it out when I have a chance! 😃 Happy New Year!
I have been looking for a way to extract Text from a PDF for a long time.. THANK YOU! so lucky I stumbled onto your video (I found PyPDF4 works better then PyPDF2)
That's awesome! I didn't even know that PyPDF4 exists... 😅 I'll check it out when I have a chance, thank you for the tip and for the wonderful feedback! 😁
Hey you're back...it's me your favourite subscriber Rishabh kumar bringing you the Halloween wishes. Love this video...you should also make a video on kiwi framework.
Thank you Rishabh! :D I wish you a very happy and spooky Halloween with lots of tasty treats!! I will definitely look into Kivy, I've heard a lot of good things about it! it's time to give it a try especially now when you're recommending ;)
Finally someone who actually explains what the commands are doing as they write the code. Thanks.
Thank you 58 slewins, I had a feeling people will find it handy! 😃
@@PythonSimplified In 8:58 you said that when using tk.Label the first parameter is always root, but minutes before you used tk.Label for logo image WITHOUT it. Explain.
@@PythonSimplified Seriously! So many others simply use code and don't explain why. It makes it sooooooo much easier to follow along when things are "clicking" as you go along. Everything was wonderfully explained. Thank you, thank you, thank you.
@@PythonSimplified yes nicely done. I’m currently learning between C++ and Python and Python seems a lot easier especially as you explained. Not many do this, unless I’m not aware. How do I make my own malware and virus scanner and along with protective firewall against hackers?
not really: 7:34 "and even though it looks like we're just paraphrasing the code from above, you cannot skip this line of code, it is absolutely necessary", the mistery
You've got a knack for this. You bring enough personality to learning to keep it interesting, without distracting from the learning. Good job.
her cuteness helps a lot
@@albertodiaz3852 simp :)
*obese bearded heavy breathing commences*
@@albertodiaz3852 A year in - you certainly weren't wrong. Triple-threat programming instructor. :)
Stop it. You’re only saying that because she’s pretty.
By searching "Desktop GUI App with python" , I found your tutorial. Nice work. Carry on with python stuff..
Thank you so much Abdul, I'm glad you liked it! 😊
That was EXCELLENT.
I actually just recently created a PDF text extractor, but it is just a terminal window that extracts the text and saves it to a text file, and I've been wanting to learn how to create a GUI for it, so your teachings here will help me make it even better. Thank you so much, and keep up the amazing work!
Ma’am that’s exactly what i’ve been looking for
By accident i saw u on Facebook
I’m lucky ❤️
Awesome, thank you! 😀
I'm glad you found it helpful!
True words. . .
**tips fedora**
I've never watch a coding vedio so relaxed like this before. thanks!
FYI - CD means "change directory" ... "Current directory" sounds similar and also fits with the letters, but is not the origin of the name of this command.
pwd stands for print working directory, and cd stands for change directory, as defined by unix 50+ years ago
I had some issues with PfPDF2 being deprectiated, so I made the following changes:
from PyPDF2 import PdfReader
def open_file():
browse_text.set("loading...")
file = askopenfile(parent=root, mode='rb', title="Choose a file", filetype=[("Pdf file", "*.pdf")])
if file:
read_pdf = PdfReader(file)
page = read_pdf.pages[0]
page_content = page.extract_text()
print(page_content)
New to python, lucky to find your channel!
One of the highest quality tutorial I've ever seen. Amazing!
Thank you so much Hugo, glad you liked it! 😁
This is something I’ve been looking for a long time. Simple project wise tutorials. You are fantastic and thank you soo much for the video series. 💪🏽💪🏽💪🏽❤️❤️❤️
Wow, thank you so much Dreamers United! 😁😁
I'm really glad you like my projects! The next one in line is a GUI application again, built with PyQt5 and Pytorch (yup, we'll integrate an actual Neural Network inside our app 😉)
So stay tuned!
Appreciate the tutorial! Working through this right now; if any mac users have trouble getting the background color of their button to change, you can use highlightbackground= instead of bg=.
Great.
Nobody can explain it better than Mariya does. Thank you.
You were born to teach, thank you very much for the tutorial!
Thank you so much for the lovely feedback Frederico! 😀
@@PythonSimplified It's true. Most youtubers dont explain, they just type and type and type and type. You explain while you type, and you explain very well. Keep it up! I'll be coming to you in the future if I need/want to learn something :-)
For real, this is game changing for me! I’m such a python and programming noob. I did a full walkthru with this video in vscode on my laptop step by step, and it works like a charm! Thank you so much! You are helping me learn!
Excellent video, clear and simple. That’s all I was looking for, thank you !
Thank you so much Anthony, I'm glad you liked it! 😃
It is good to see that Tkinter is still generating some interest :) I just built a Tkinter GUI to accompany what would otherwise be a python API for pdf editing with for a web application.
Thank you!, very straightforward. Exactly what I needed actually. I plan on using this ui implementation to manage massively moving or renaming files. Works like a charm!
That's awesome!! Glad I could help! 😃
Explaining what each line of code does, is what makes you different from others. I just got my hands on python and want to build projects, this video really helps ❤️, thanks..
This is good timing! I've just started learning python because I've gotten a little bored with Java, c#, c++ etc.
You are truly the best teacher for this out there. Thank you.
I'm a no coder, but I find your tutorial soothing lol
@@robbyz512 well, Im gay so... its ok
Thank you for making an informative video about Python and Tkinter. I am taking a Python class for the first time and HATE ugly output! I always try and generate attractive output in all my programming projects because the appearance is just as important as the output.
That's right Alex!! nobody's gonna pay for an ugly software!! 🤣🤣🤣
Actually, maybe check out the PyQt5 library if you'd like to have more control over the design of your GUI, it allows you to use CSS to style your widgets so you can even account for :hover events and animations very easily 🤓
I am really speechless . You have a special gift related to making people understand. I am from Middle East but I don’t kill people haha. Thank you so much.
Thank you so much Ib, I'm really glad you like my tutorials! 😃
I grew up in the Middle East so I know that the reality is very different from how the mainstream news outlets present it 😉
And I also don't kill people hahaha 🤣
Learning python and english at the same time. Your voice is Incredibly easy to understand. Thank you!
Wow, you are an awesome lecturer. You gave me, as an newbee, an excellent insight how different things work together and what basic principles are in the backgroud. *well done*
The best GUI tutorial I ever seen on youtube.
Really thank you 👍👍👍👍👍👍👍
You’re simply great the way to teach is really awesome ❣️
WOW! Qué manera tan perfecta de explicar además el acento lo hace aún más entretenido. Muchas gracias María!!
For future reference, CD stands for Change Directory, not Current Directory. Other than that, I love your videos.
simp
This was an amazing lesson, thank you so much. I learned a lot, and about halfway through I started getting a bunch of errors and it took me a while to fix the code but I did, and I think I learned from that too. Looking forward to the second part of this series. You're a great teacher by the way. I'm enrolled in a class that costs thousands and I've learned more from this one video than I have from that entire course so far! This was really fun too!
Yeeeyy, I'm so happy to hear that Yoni!! Thank you so much for the incredible comment!! 😃😃😃
I had a bit of an oopsie with:
askopenfile(filetypes=[("Pdf file", "*.pdf")])
For some reason, "filetype" worked perfectly on my end - but for many people it had to be replaced with "filetypes" 🙃
You can find the second part of this project here:
⭐️ Advanced GUI App with Tkinter:
ruclips.net/video/y8PR4lTAh5E/видео.html
And I highly reccomend to checkout a much more recent Tkinter tutorial of mine that also combines an SQLite database:
⭐️ Simple GUI App with Tkinter and SQLite:
ruclips.net/video/5qOnzF7RsNA/видео.html
(My database structure there can definitley be improved... gently speaking hahaha 😅 but it's an extra fun Random Recipe Picker app which you might enjoy better than part 2 😉)
בכל אופן, שמחה שבסוף הכל הסתדר עם האפליקציה! שיהיה לך המון הצלחה בקורס, ד"ש מוונקובר! 😃
@@PythonSimplified עולם קטן 😅 Thank you so much for the links!!!!! המון תודה לך!:))
Great tutorial - even a novice like me managed to get most of it to work. Couldn't get the font to change or text to appear in the final window but will re-check my code to see if I've missed anything. Well done Mariya, well done, give yourself a pat on the shoulder. Going to give the beautiful and mechanical soup tutorials a go next
Yeeyyy!! Thank you so much Paul, I'm glad you liked it! 😃😃😃
I am also super happy to see my "simplified" concept works! You're feedback is exactly what I was hoping to hear when filming these tutorials, so thank you so much for that!
Let me know if you resolved the issues in your code, if not I might be able to help!
Anyways, Merry Christmas and have fun with the web scraping stuff, it's a really handy technique to learn! 😉
Thank you so much i spend 7 hours watching bold man trying to explain how to create a button i spend 15min here Already Building an app so thanks
hahahahaha I think I know which tutorial you're talking about! 🤣🤣🤣
Every time I see a tutorial that's over an hour - I know it's too much information! 7 hours requires so much patience, I probably can memorize the entire documentation of Tkinter faster than that! hahahahaha 😂
Anyways, I'm super happy you stumbled upon my video and you were able to build your own app as a result! 😊
I covered plenty of other GUI libraries like Kivy and PyQt5 if you're interested, you might like them more than Tkinter:
Kivy tutorial: ruclips.net/video/YDp73WjNISc/видео.html
PyQt5 trivia app tutorial: ruclips.net/video/9iZLDnW_vwU/видео.html
Best of luck with your project! and thank you for the lovely comment! 😁
Nice vid Maria! Well communicated and entertaining. Also appreciate the great use of timestamps! Would be great if along side the starter files there was a final project file for people that can learn code at a faster pace.
Thank you so much! I actually did include a finishedProject folder on Github :D:
github.com/MariyaSha/PDFextract_text/tree/main/finishedProject
Sorry, I just didn't specify the link in the description to avoid spoilers XD
If you navigate one folder out of the starterFiles, you will see both of these folders alongside each other :)
Thanks again!
@@PythonSimplified great, I'll definitely check that out this weekend. I've been meaning to learn basic gui skills
I can't believe you have an exact video of something I'm trying to do. This is amazing. Thank you
Yey!! Super happy to help! 😃😃😃
Your tutorial is excellent but the script code looks blurry, can you increase font size in your future tutorials? Thanks 🤓
Thank you so much! 😃 I have dozens of newer tutorials on the channel featuring even cooler GUI libraries than Tkinter!! (and all of them feature much larger fonts of course! hahahaha)
If you like this one - I recommend to have a peek 😉
Finally I find a person who give me only python egg 🥚 😌 Thank you.. I'm sure I will watch your videos and one day I will finish your channels all videos.
Thank you for the amazing video!! As I'm developing tools for automation and data analysis with Python, it would be great if you could do a tutorial on how to convert these apps to an executable file so anyone can launch it without actually having Python.
Keep it up you're awesome!
Thank you Carlos! 😀
Sounds good! I'll film a quick executable conversion video soon, thank you for suggesting! 😁
This was my first GUI application ever. It was easy to follow. thank you for sharing this knowledge.
Thanks for a wonderful tuts - BTW dear, cd is Change Directory :)
That was a great first look at Tk with Python, thank you for that!
Amazing content. I loved it. Thank you so much!!!!
Thank you Raphael, I'm glad you liked it! :D
i'm a FPGA-VHDL developper and i write sometimes python script for HW-test. I find your Tuto BEST. I subscribe now.
Thanks for this valuable tutorial. Also Waiting for the image editor as well! Awesome!
You are welcome Salar! 😄
While you wait for the tutorial, if you are interested in image extraction - there's a really nice thread on Stack Overflow that helped me build that extension. I highly recommend checking out Sylvains' comment (it looks a bit intimidating 😵, but it was the best solution for me) :
stackoverflow.com/questions/2693820/extract-images-from-pdf-without-resampling-in-python
incredibly helpful. made my first GUI... finally! Here are some of the problems I encountered and the solutions
spelling and capitalization errors
"filetype" needed to be "filetypes"
text didn't show up at first because of row arrangement, fix: add "rowspan" into canvas size
rowspan=3 means there are three rows numbered 0, 1 and 2
note: I didn't add canvas size at the bottom, but had a buffer row. when the text box wasn't present, it automatically arranged proportionally.
I appreciate this being taught without a more complex editor like PyCharm or Jupyter. This helps understand what is really happening, not to mention package installation is a whole secondary problem when working in PyCharm and some other IDEs.
Nice video :D But ins't "cd" short for "change directory"? xD
"pwd" lists the "current directory"
You’re right
cd = change directory
pwd = print working (current) directory
understood clearly, you are a very good instructor i have ever seen. Love from INDIA 🇮🇳❣❣
Thank you so much for this great piece of knowledge!!
Thank you so much for your amazing feedback Basel! :D
а кто еще заходит на видео Марии ради милой улыбки, а потом уже ради полезной информации?) Кстати отдельное спасибо за произношение - слова прекрасно можно разобрать и понять о чем идет речь)))
What could be better than learning Python by such a beautiful mentor.
Thanks for the video.
Adoro sua forma de apresentar, parabéns.
I love the way you explain me things like I'm a moron... You just earned a follower 😘
So much work and so low views. i also have programming channel and i understand you're pain. Да пребудет с тобой сила
hahaha Spasibo Murrengan, vse budit horosho! ja naaborot v vostorge ot kali4estvo views - u menja prosto ne kogda stolko mnogo nebilo za 7 4esov! hahahahaha XDDDD
@@PythonSimplified 😂
@Python Simplified - I have to say, you're very good at explaining things. That's especially helpful for a subject like coding which can easily get confusing. Thank you!
I'm just beginning in Python, Django, and Tkinter, etc. I liked this video a lot but had one problem with the code. I finally copied your code from GitHub to check my typing and had the same error.
After some research I found that in line 24 of your code when defining the "file =' variable I needed to change 'filetype' to 'filetypes', not sure if anyone else had this problem. Thanks for the hard work to make this video. Hope to see more.
Thank you so much for your feedback Joe!! I really appreciate you've tackled this error and shared your solution with everybody!!! 😃
This could help lots of other nice people, who are facing the exact same error! Thank you once again! 😁😁😁
May I quickly ask what version of Python are you using?
@@PythonSimplified Python 3.8.5 with PyCharm
My god.. I've been doing a mistake recently and now this beautiful miss just showed me how to fix my code with the simplest way , just lovely ! so Thanks lot .
you are a SAVIOUR! just earned a new subscriber!!
Beautiful Teachers like you..... damnnnn. I was just sitting looking right at you, and everything was so easy.
Thax the energy and time you putting in to lecture us.
I appreciate
Very quick and straight to the point. 7/10
Only 7??? 😭😭😭 hahaha thank you though!
My apologies on the crying emojis - all my grades are above 90 since the day I was born so 70 is never enough on my end 😅
Did you see part 2 of this project?
I sure hope it gets a higher score from you! 😉
ruclips.net/video/y8PR4lTAh5E/видео.html
Fantastic video - taught me a whole bunch about Tkinter in a very short time!
@Pat C "Fantastic video - taught me a whole bunch about Tkinter in a very short time!" - Oh, did it now(?) OK, so why do you need both these lines of code then:
logo_label = tk.Label(image=logo)
logo_label.image = logo
?
I was searching for more python tutorials and your channel was on top of my search queue. Keep it up. :D
Thank you so much Stevie, will do! Welcome aboard! 😁
@@PythonSimplified thanks so much for the warm welcome Python Simplified. :)
Girl who does Programing, also does tutorial and explains everything....Sign me up.
Subbed and thanks for tutorial.
Love from Nepal
at around 8:26 is where I decided that I am going to subscribe to you Maria and paused the video to do so right away! 😂 I need your energy in my life.. //pats self on the shoulder
celebrate the small wins in coding!!
hahahaha thank you so much for the lovely comment, Mersey! 😀 Glad to have you on board! 😁😁😁
Finally, a good guide on using Tkinter!
Thank you Hiram, I'm glad you liked it! 😀
Have you seen the second part of this Tkinter project? we extend the app to extract images as well as text: 😊
ruclips.net/video/y8PR4lTAh5E/видео.html
@@PythonSimplified thank you so much, this is so helpful! Usually I just right scripts because GUI’s were so confusing to make but your tutorials are really helping me to finally understand them
@@hiram2238 no worries! I'm here to help and motivate lovely developers such as yourself to come up with their own projects and bring them to life! It's the best way to practice your skills and if you end up creating nice GUIs for your scripts - please share it with me by tagging me on a Linkedin post, or opening an issue on Github! I would love to see what you came up with! 😀
Great tutorial - even a novice can manage to get most of it to work. Well done Mariya, well done, give yourself a party. You are simply doing wonderful.
Thank you so much for the amazing feedback! 😀😀😀
Part 2 of this tutorial will be slightly more challenging as it involves a lot of callbacks and grid manipulation, working on it as we speak and trying to keep it as simple as possible 😉
I just love your coding habits, and your smile is perfect
For anyone playing along on a Mac (I have recently moved, and am always finding there is an extra thing to workaround just for Mac), you may need tkmacosx (pip install tkmacosx) then for button formatting to work right, you need all buttons to use this module.
import tkmacosx
from tkmacosx import Button as tkm
My_btn= tkm.Button(root, textvariable=My_txt, font='helvetica', bg='#00A1AB', height=30, width=150)
Hope that helps, it took me a while to find this out. :-)
I don't speak english, but I can understand when you explain, that's nice for me, because my english level is low and I appreciate your work explaining this topic's. Is really hard to learn when the materials which I need are on english. Thanks!!
ياريتني كنت بكلم إنجليزي كويس🤦♂️♥️
Good job my friend 👍🤩
So cute and relatable. Next time talk about an abstract grid that implements Canvas for tile-based gamelike apps
Nice job making chapters within the video. I'm passing this on to a friend who's new to learning Python.
the best python Tkinter tutorial on youtube
totally awesome, I'm subscribing, a little clarification though, I think "cd" is actually "change directory" and not "current directory", but still an awesome vid, I like how you get straight to the point, no pointless talk
best programming tutorials i have seen. you have such a talent for this
hi from France, i love your content, i never thought i could understand Python and here i am, feeling capable of it thanks to your very clear and useful content. have a great day and yessssssssssss we want more !
I'm just learning Python so your pace is just perfect for me! I like how you run the code after each edit.
This is best advise i got when started to code:) use print() funtion to find out code works like you think it must work. Nice show how work done step by step. beatiful simple and it WORKS! i start to love humans after this type video
Hi, first of all great video.
So, I know that it is an prejudice, that girls don't know anything about computers... but well in my class the girls not even know how restart a pc.
So I think that it is great that there are more female programmers out there !
Great Job :)
Thank you! ❤
There are many female programmers out there but for some reason, we are considered to be a rare sight (like a majestic unicorn) 🤣
Not many are teaching on RUclips though, but I assure you, our numbers are growing by the day ;)
Maybe give the girls in your class some time, they'll realize how good of a proffession it is eventually
Great vid!
from my computer, it works more with this PDF parameter:
filetypes=[("PDF Files", "*.pdf")]
You are absolutely correct Frédéric! 😀
"filetypes" instead of "filetype" is the way to go! I've a updated it in the Github repository a while back, "filetype" was failing across different OS 😉
NEW Subscriber! Most perfect technical tutorial video and explanation I've ever seen, really. And, you even did all the time stamps for the video, are you kidding me - Stellar!
Lucky to get the chance of following such a smart woman...
From Casablanca .
Respect...!
Absolute genius!!! My new favorite!
Wow Maria I'm in love with your tutorials. You make them look super easy 💕 Thank you so much!
LMAO. Cringe.
Best GUI tutorial for me so far. I watched a lot but they lost me in seconds when they started to use the "hello world"... This was practical, and it is so much easier to learn something when the examples are closer to my project. I think your teaching style is matching with me :D Subscribed.
One thing I did miss, that you wrote a lot of parameter but never explained it what they do. (for eg: text_box.tag_add("center", 1.0, "end"))
I hate this subject of python I almost got failed in its exam 😫 which is the best RUclips channel for learning python .
Finally, got the best video of yours. Nicely explained each statement. Now, i feel that i can be a Pythonista. Hope, you make more new videos of python from beginner level to advanced level .
Thank you so much Faraz! 😀
Yes, I'll be working on Introduction to Python videos very soon! Probably even live streaming a few easy lessons too 😉
Congrat! You actually made my understand tkinter and that's a huge thing.
Yeeeey! I'm very glad to hear that Lars, thank you so much! 😁😁😁
I never thought we can make such good UI using tkinter.
Thank you! I can't say it wasn't challenging 😅 but I guess pretty fonts and pastel colours can improve everything! 🦄 hahaha
Спасибо большое за видео! Разбираюсь сейчас с Tkinter. Очень помог урок!
Wow I really like your course! I'm from Italy and I recently started programming with Python, your lessons are very helpful and clear! Congratulations, keep up the excellent work! 😄😘👏
Thank you for your tutorials! Your knowledge, humour and sweet personalitty makes these videos very enjoyable to watch!
Great explanation && sweet smile on your face after writing codes👌👌keep it up
mariya, thank you so much for explaining each step and what each function does!!!!
Thank you so much for your tutorials, you are so good at teaching these programming concepts!
Thank you for the incredible comment my dear! 😀😀😀
@@PythonSimplified which python are using
I’ve never seen a coder who has so much energy and personality 😂
Hi, good video. Is it necessary to include the lambda function in your example?
Hello, Thanks for your hardwork, but please when record, please zoom the screen for visibility 🙏
Actually you could simply
from Tkinter import * or from Tkinter import (any object like Tk, Canvas, Label, ttk)
so, your code from
root = tk.Tk()< will be > root = Tk()
you do not have to make a canvas to resize your tkinter window, you simply just root.geometry('height*width')
Hi Gavriel! Thank you for your feedback! 😃
The * tip is amazing!! I've used it in the following Dear PyGui video, and I should have definitely used it here too (I guess too late now 😅 but, yes, I absolutely agree with you there!)
Are you sure that the root.geometry() tip can be combined with .grid() though? did you try it inside your code?
Please let me know! I'll try it on my end once I'm done with replying on comments, but I vaguely remember there were some issues with it... :)
@@PythonSimplified yup, you can combine it with grid() of course, but in some cases, the tkinter window would shrink it's size depend on the element (if you just put 1 button, it will shrink into that button size), so you have to use
from Tkinter import Tk
root = Tk()
root.propagate(False) ---> prevent the window shrink
or, if you use pack, grid, place
root = Tk()
root.pack_propagate(False)
root = Tk()
root.grid_propagate(False)
root = Tk()
root.place_propagate(False)
i think it would do better, so you do not have to type "tk." for every single time just to create an object in python, especially if you work with multiple window that requires many object.
You could use any of it, it's the same, but i usually use the first example rather the second example
P.s: Steins Gate is good, you should watch it ;)
That's awesome! thank you so much@@gavrielsembiring6048😁
I've tried root.geometry() with grid() and it worked like a charm! I can't get rid of the canvases though, because I want to split the program into partitions with different background colours... I just find it convenient.
I will include your recommendations in the follow up Tkinter video (and I've already adjusted the code on my end so no more tk. instances 😉)
and Steins Gate you say? I'll check it out when I have a chance! 😃
Happy New Year!
Two great hours with this lesson , Thank you so much . Going to Part2.....
I have been looking for a way to extract Text from a PDF for a long time.. THANK YOU! so lucky I stumbled onto your video (I found PyPDF4 works better then PyPDF2)
That's awesome! I didn't even know that PyPDF4 exists... 😅
I'll check it out when I have a chance, thank you for the tip and for the wonderful feedback! 😁
Hey you're back...it's me your favourite subscriber Rishabh kumar bringing you the Halloween wishes.
Love this video...you should also make a video on kiwi framework.
Thank you Rishabh! :D I wish you a very happy and spooky Halloween with lots of tasty treats!!
I will definitely look into Kivy, I've heard a lot of good things about it! it's time to give it a try especially now when you're recommending ;)