Hey there a quick tip! On windows if you turn on clipboard history, and then while pasting you press Windows + V key instead of Ctrl V, you will have options of previous items
@youssefsabban10692 жыл бұрын
i was going to write it also
@pianopianist57092 жыл бұрын
Yes, very useful and saves a lot of time!
@hextech6872 жыл бұрын
This is life altering information
@benx57812 жыл бұрын
I was going to speak same. Why not create same, its a good challange for us? like gui clipboard history ;)
@jagi79762 жыл бұрын
Game changer
@inferno-nq4vm2 жыл бұрын
We need a lot of beginner python projects like this , these videos are really motivating us to code and also learn many new things ...
@triminhtruong2512 жыл бұрын
Sure!
@juniorsuarez7671 Жыл бұрын
How’s your journey going?
@xshadder22522 жыл бұрын
You don't need to apologize :D It's a tutorial for beginners so you are doing a great job of keeping it slow and explaining each line of code. As a beginner, I love your tutorials because they are very clear. The great thing is that you do not only use something like for example JSON but always give a small background of it as well
@TechWithTim2 жыл бұрын
Thank you so much!
@tonytucker86512 жыл бұрын
@@TechWithTim print (‘Can you send me the link to your python course’?)
@TechWithTim2 жыл бұрын
@@tonytucker8651 programmingexpert.io
@jalanstudio24652 жыл бұрын
@@TechWithTim I can't understand how can I remove something from another JSON file
@ealrada2 жыл бұрын
@Tech With Tim, it is not necessary to convert Kelvin to Celsius by substracting 273.15! The API call has three optional parameters including "metrics" that is used to choose the units of measurement! By default it is set to "standard". You just need to change it to metric. Here is the revised code: request_url = f"{BASE_URL}?appid={API_KEY}&q={city}&units=metric"
@manemeejef1723 Жыл бұрын
Thanks man
@JoeV2257 Жыл бұрын
Great!
@FreemindHD9 ай бұрын
Nice, "imperial" for fahrenheit
@mariobranco41962 жыл бұрын
I’m a beginner in python, and coding in general and your videos help me a lot. Thank you for this and keep up the good work !
@gdparry27272 жыл бұрын
Loved the email one. Quickly adapted it so I could define own message/body/recipient and that worked too. Thanks
@saucebosspl2 жыл бұрын
I'm starting in Python so it's great to find videos like this. I've decided to mash the second, and the third project together. I'm making a program that will send me an email with the current weather outside. Defining both programs as functions, and trying to juggle data between them is a great exercise about functions and program structure. Wish me luck, I think tomorrow it's gonna be done :)
@monixwilliams93292 жыл бұрын
Did you manage to do this?
@christac.2947 Жыл бұрын
awesome idea, I want to do this as well, how did you do?
@Harpreet062 жыл бұрын
If anyone wants to add delete to the multi-clipboard, this is how I did it, I just added an extra command: elif command == "delete": key = input("Enter a key: ") if key in data: data.pop(key) save_items(SAVED_DATA, data) print("Data deleted") else: print("Key does not exist") If you want to do the third project, you have to create an app password on your google account for it and then use that as your password input instead of your actual gmail password.
@deamooz9810 Жыл бұрын
You can do "del data[key]" instead of "data.pop(key)", if you want to delete the item without returning the associated value too
@Mallentino Жыл бұрын
An amazing video for beginners. Although i couldn't complete the last project due to google no longer allowing "Less secure app access" this taught me a lot
@MartinPHellwig2 жыл бұрын
clipboard is not a standard module, it needs to be installed for your interpreter/virtual environment.
@aarons9892 Жыл бұрын
got 5 seconds into the video and im immediately stuck on this. cant figure out how to get the import clipboard into vscode
@Vyap27022 жыл бұрын
Even tho I had no idea about json and a lot of other stuff, you explained it really good. This video made me more confident that I can learn programming.
@locust762 жыл бұрын
35:27 you can put your url parameters in a dict and pass it to requests.get that way. so: params = { 'appid':API_KEY, 'q':city} response = requests.get(BASE_URL, params=params)
@thes.e.s.hcollective4377 Жыл бұрын
I used to work in a call center and messing with the clipboard to detect and act on or reformat case details was my first complete programming experience. I had a semi auto CRM in the end and worked about 2 hours a day to hit my target before hitting the foosball. That was with AHK, cant wait to revisit that it python!
@DavisDCodes2 жыл бұрын
Your videos always teach me something new , thanks for keeping them so informative and making them easy to understand.
@loulou814002 жыл бұрын
Automation is one of the thing I love with Python, and it's the reason why I try to master it. Recently I made a little script to put all my Download content files and organise them on différents folder 📂 based on the files extension...will try to automate my trash folder cleaning now... There is a lot of stuff to do with os module.. Nice video, I think I will join programing expert next month and try to master Python! 😂
@Chrissamharris2 жыл бұрын
FYI for people struggling with the email task. Re. Google Security: "To help keep your account secure, starting May 30, 2022, Google will no longer support the use of third-party apps or devices which ask you to sign in to your Google Account using only your username and password."
@malpal_YTАй бұрын
For my fellow Americans out there, you can convert Celsius to Fahrenheit by coding the following: temperature_celsius = round(data["main"]["temp"] - 273.15, 2) temperature_fahrenheit = round((temperature_celsius + 9/5) + 32, 2) print("Weather:", weather) print("Temperature:", temperature_celsius, "degrees celsius") print("Temperature:", temperature_fahrenheit, "degrees fahrenheit")
@insanegamer52752 жыл бұрын
You are a legend, every time I watch your video I learn something new even if I knew that topic before! Thank you sooo much and keep up the great work!
@kernoelnerd2 жыл бұрын
Great video, great explanations, great "case studies". After decades in programming, I am just starting with Python (primarily just for fun) - and enjoyed this video very much.👍
@randomomega9966 Жыл бұрын
Love all the projects, couldn't fully complete the third email project due to google cutting support for third party apps, but it was still fun to learn how to do it!
@sanatankaushik6158 Жыл бұрын
Hello everyone,in case you cannot turn on the less secure apps,I am so sorry to tell but gmail has stopped the support for this setting. So you can try another email service like hotmail.
@mrvalvet9856 Жыл бұрын
Hey, Tim! Hands-on projects is the easiest and most fun way to learn. Thank you for these tutorials, you did a great job explaining what you're doing. I had fun with the Weather API. Looking forward for more project-based tutorials.
@geezlouis6142 жыл бұрын
In regards to your multi clipboard program, Just wanted to say that this is cool. It’s nice to see programmatic thinking applied to code for something other than web development. Don’t get me wrong I love web development it is how I got into programming! 😀
@tulsatrash Жыл бұрын
Thank you very much for showing how someone can run in the command line something they have created in Python.
@grantholomeu37252 жыл бұрын
Great video! Even if the programs are fairly beginner-level, they had applications that I hadn't been taught before. I think most people could benefit from them.
@sharanjoseph49075 ай бұрын
If anyone wants the delete code for the clipboard program. elif command == 'delete': key = input("Enter a key to delete: ") if key in data: del data[key] save_items(SAVED_DATA, data) print("Key deleted successfully")
@vonderklaas2 жыл бұрын
To help keep your account secure, from May 30, 2022, Google no longer supports the use of third-party apps or devices which ask you to sign in to your Google Account using only your username and password.
@maxcohen132 жыл бұрын
Thanks for the info. Good to know it's not my code!
@shawnisamazin7 ай бұрын
This is an amazing tutorial. My first follow along project. I am still very new to python. I am watching your video and asking chatgpt for indepth explanation. Thanks @ Tech With Tim
@tommyv49802 жыл бұрын
holy shit this kid is smart...ugh this is taking so long to learn. Thanks for everything Tim, you are an awesome teacher
@mixbaal02 жыл бұрын
Nice to remember the first videos I saw in your channel some years ago. you were almos a kid, now a young man. greetings keep up with this von rossum magic language! Cheers!!!
@tekiyuahmed93512 жыл бұрын
Thank you for the tutorial. Your video profile/avatar at the right bottom corner is not necessary. It sometimes blocks the output result in terminal.
@mattiparviainen Жыл бұрын
10:08 by the way. You can open the location in your CMD just by typing 'cmd' in the url field in your windows explorer and you will open CMD in that very same location.
@revyahh2 жыл бұрын
Thank you A LOT! This was an extremely helpful, straightforward and clear tutorial that taught me a bunch of interesting things i'm definitely going to be using. I also had a lot of fun during the tutorial and i was genuinely interested in the topic.
@danielaviv82152 жыл бұрын
10:05 Ctrl/CMD+Shift+C (from vscode) will do the same much faster
@dragonore200910 ай бұрын
I don't normally use Python, but I wrote a script in it that automates a process for me. I use it to populate or update a huge JSON file instead of manually updating it. I run the script every so often to ensure my data in the JSON file is up to date with the web project I'm working on.
@koferperk2 жыл бұрын
to delete a item in json you can use this code: elif (command == "delete"): key = input("Enter a key: ") data.__delitem__(key) save_data(SAVED_DATA ,data)
@just_enjoy_music98768 ай бұрын
Teaching effectively is not easy and you are a master, thanks!
@purplemosasaurus59872 жыл бұрын
Clipboard didn't work and I got an error because you need to install clipboard, if anyone gets an error, just type the following in your terminal/command prompt: pip install clipboard
@bilalomar52032 жыл бұрын
Absolutely phenomenal video with helping me by holding my hand throughout the projects!
@ishaan-gupta Жыл бұрын
for the people trying to do the email project, as of may 30th, the less secure app access was removed. To do it, you have to create an app password and use that instead of your real gmail password.
@lorenzodefinis832 Жыл бұрын
How do you create an app password?
@ishaan-gupta Жыл бұрын
@@lorenzodefinis832 go to gmail, go to manage your google account, then security, then scroll til u see app passwords, then click on that and generate one
@lorenzodefinis832 Жыл бұрын
@@ishaan-gupta yup I got it to work!
@anthony3462 жыл бұрын
This is amazing. I'm going to have a go at all these. You made it very easy to follow, great level of detail. Thanks!
@o2g13372 жыл бұрын
Non-coding-related: Windows has actually a multi clipboard where you can press 'Windows-Key' + 'V'. Then (if you enabled thid option) a multi clipboard is shown. Its not like this in a video but pretty useful too. Otherwise great video for some of the beginners out there
@tsuis1 Жыл бұрын
Great to have beginner projects like this! Really useful and interesting!
@stevemorse50522 жыл бұрын
Thank you Tim for yet another great and informative video. After reading one of the comments below, I have found out the Windows has a Clipboard History feature which is great. But, Tim's program has some other uses which I am going to test out later. Tim's program has at least 2 advantages, 1/ the clipboard data is persistent, and 2/ you can use your names for the keys, whereas the Window History is chronological. A point on the Weather Fetcher, my city will not work! All the cities and towns around me work just fine, but Goleta does not. Even the small hamlet of Isla Vista comes up just fine, and that is about 1.2 miles away.
@costelinha18672 жыл бұрын
Tim: "As long as you have an enviroment to write Python code in it." Viewer: Writes in windows notepad.
@oliesting49212 жыл бұрын
Hi Tim, can you pls make a video to automate some office task using python. Working and grabbing data off PDF docs and adding it to excel (or sql) for data analysis and viz. Using airflow to automate running python scripts at a certain time of day. I would also appreciate if I can learn Data Engineering from you!
@ShaDow-ph9lz8 ай бұрын
For the first project, I used the 'match' statement, and here is how I added a delete key : case "del": print(data) print("Please Enter 'del' if you want to delete a data!") key = input("Enter a key: ") if key == "del": delete = input("Please enter the key for the data you wish to delete:") if delete in data : del data[delete] print(data) else: print(f"{delete} is not in data") else: print(f"Invalid Operation You entered : {key}")
@ib14452 жыл бұрын
i love that you use go code in a python video thumbnail!
@oussama406122 жыл бұрын
The background shows Golang 😃 Nice video, though
@kapibara244010 ай бұрын
Superb content Tim. Thank you !
@aishuaksovetov2 жыл бұрын
multiclipboard is a project I didn't hear of before and I'd love to use it. It's cool when you hear this type of unusual ideas instead of 100 times repeated similar ones that are not even useful for a regular user.
@TechWithTim2 жыл бұрын
Glad you like it!
@ramakrishna40922 жыл бұрын
@@TechWithTim hello Tim Can a explain memory management in python How integers ,floats ,strings. ,list, tuples ,are stored in memory I have got many questions in mind pls can you make a video on this topic it will be very usefull to many of us ..
@sfrdanserisinedestek65392 жыл бұрын
I find your videos really helpful! Thank you Tim!
@bobbrendel7582 жыл бұрын
Great video Tim. Any reason you did not use a python dictionary instead of the json file for the clipboard project? Was it just to introduce json, or is it better programmatically?
@rihhard10722 жыл бұрын
I was curious as well, this is what I found from SO: "JSON is data exchange format. You convert to it when you need to make the data available externally. Using it internally makes about as much sense as storing numbers in strings"
@purplemosasaurus59872 жыл бұрын
Really great tutorial, exactly what I needed.
@johnsummers1014 ай бұрын
Great video.. I think you should also go over sitting up an environment and why you would use that. I'm still learning python and its a bunch of pip install, conda install, and .env install and i did not realize at first that essentially you only need one.... or maybe not (I'm still new lol). and also why you even need that in the first place cause it seems to cause more errors for me (running m2 chip on mac)
@jackbryan97822 жыл бұрын
Nice , prompt and detailed content..
@HamGaming9332 жыл бұрын
If youre on windows instead of copying the path from file explorer you could just type cmd and it opens command prompt and does the cd command to that folder automatically
@supercrusher12352 жыл бұрын
Thank you Tech With Tim for the great tutorial. Especially the JSON explanation. I guess its an upgrade from txt files.
@pauloferesin81982 жыл бұрын
Thanks Tim, great ideas! I just can't get around this error: "AttributeError: partially initialized module 'clipboard' has no attribute 'paste' (most likely due to a circular import)"
@pauloferesin81982 жыл бұрын
Nevermind, I had to rename my python file
@shibby87882 жыл бұрын
@@pauloferesin8198 what did you name the file too?
@brett72772 жыл бұрын
Sadly we cant do the email lesson anymore as google has updated it so that "Less secure app access" is no longer a feature, but the first two are great!
@Harpreet062 жыл бұрын
You can still do it? Just need to create an app password then use that as a password instead of your actual gmail one.
@stevevu28162 жыл бұрын
hopefully one day i can see you create a project that predict price for stocks or cryptos, lol. such an genius guy.
@damonchase477110 ай бұрын
clipboard isnt recognized by my system and im running python 3.10. if you are having this issue as well, my IDE (pycharm) when i hovered over the word clipboard right next to where I was importing it, it gave me the option to install the clipboard module and I did and it took like 5 seconds and worked.
@quicktecha32 жыл бұрын
For the weather project, append " &units=metric " to the "request_url" and it will show you the degree in Celsius ;)
@alexandrohdez39822 жыл бұрын
Your videos are great from easy to pro... 👏👏👏
@eannaoreilly72442 жыл бұрын
amazing, I probably will use this thanks
@manohartimothy58252 жыл бұрын
Very well explained and hadeled the API .... congrats...I will be there to listen your more vidios....Thanks..Manohar
@nggordon58892 жыл бұрын
It is really a fantastic video. You help me a lot to understand python. Thank you
@srishrachamalla96072 жыл бұрын
I was waiting 😃
@Levi-fw9yg2 жыл бұрын
Regarding the clipboard, in order to delete everything from the json file, data = {} (overwriting our dict with empty ones) and dump it save_data(SAVED_DATA,data). all this in a new elif statement
@adel-a Жыл бұрын
Great tutorial. Thanks for sharing.
@ericlenchon48262 жыл бұрын
well explained. perfect for me. thanks a lot
@tinojaa67492 жыл бұрын
clipboard doesnt exist for me
@shyamgurunath58762 жыл бұрын
Hey Tim, Great tutorial…I have suggestions, make a tutorial on papercut which is localhost smtp server listening on port 25. Thanks
@giovannibillo76452 жыл бұрын
Amazing video, i learned so much and on top of that I was genuinely having fun! keep up the good work, this is really useful motivating for beginners like me
@manu-gt9gr2 жыл бұрын
i enjoy it a lot, thanks!
@shaken56902 жыл бұрын
Thank you Tim!
@FiveFourThor2 жыл бұрын
Super cool!!
@gabrielroomvm6209 Жыл бұрын
GREAT WORK
@windyy_992 жыл бұрын
Standard I-DLE application, i see you
@sarithaac952 жыл бұрын
Thank you Tim ...Great job...Can you do a video on sending local notifications from android app using python
@sairudru68092 жыл бұрын
Love ur tutorials! Please make a day in the life!
@doctorwin642 жыл бұрын
Good, I like it Keep it up
@slix59532 жыл бұрын
Could you possibly make beginner projects for raspberry pi?
@fzk58662 жыл бұрын
That was awesome bro🌹🌹 Just keep going and make more videos like this... [Notice that I was using pyperclip for the first project (pip install pyperclip) which is completely the same as the clipboard module.]
@tomundsohi585510 ай бұрын
that saved me
@angelabad82942 жыл бұрын
Pretty usefull video man, keep doing great.
@andrewbeef87582 жыл бұрын
if you are getting error in debian based machines , install xclip througgh terminal
@satyamroy88302 жыл бұрын
lovely tutorial... want more in java and many other things... maybe some ML and core engineering stuff.....
@s1mfo2 жыл бұрын
Thanks for your great video. I just have one question; In the clipboard project, is there any way I can make more organised list? I want to make my new data show in next line. So like first data in first line, second data in second line
@nostalgiadrive2645 Жыл бұрын
Just a quick question Tim. I was wondering where do u get your project ideas from, like if i were to take up a mini project like this on my own and work on it what can i refer to
@jamduarte-mv7ok25 күн бұрын
I get error in api for weather. But thanks it really helps me to think as a beginner.
@deepSIDEshow2 жыл бұрын
Great work!
@eddandjenninleuven34932 жыл бұрын
Delete function: elif command == "del": key = input("Enter a kay: ") if key in data: del data[key] save_data(SAVED_DATA, data) print("Data deleted!") else: print("Key does not exist :(")
@JesusisGodApologetics2 жыл бұрын
you are the best bro
@sinasmith75212 жыл бұрын
Tim thanks for great instruction...Is it possible to cover advent of code problems ?
@eeeeeeeeeeeeeeeeeeeeeeeeee93562 жыл бұрын
The first one is already in windows just press Win+V and youll get the other save slots for copied stuff but the rest of the stuff is good
@innocentmind2 жыл бұрын
You need to enable that in settings first.
@JohnDoe-oo9ll2 жыл бұрын
Could someone please tell me how he makes his mouse not appear during t he video? It show's the button pressing and size-adjusting cursor animations, but he makes it so his cursor isn't very distracting or unpleasant.
@feedmind46692 жыл бұрын
Thanks Tim! I wish there is more of this on other language
@Allin-dd8gj6 ай бұрын
Thank you so much -------------------❣❣
@guillermopaez14422 жыл бұрын
Hi Tim, i've discovered your channel recently and i found ir very clear. I want to ask you for the API project, how would you do to obtain more data at once, let's say, the weather of all cities of a given list of states, or all cities in USA, etc., is this possible?
@kausarlolz2 жыл бұрын
maybe using a for loop and storing the values in an array
@guillermopaez14422 жыл бұрын
@@kausarlolz yes, you're right. At the moment I asked the question, I was looking for something more like a SQL clause in the query, but if it's not possible, your solution will work
@Co5taRica2 жыл бұрын
How would one use this with say a self hosted email on something like Hostgator? Asking since Gmail no longer allows developers to turn off the setting to use third party apps.