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?
@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.
@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
@DavisDCodes2 жыл бұрын
Your videos always teach me something new , thanks for keeping them so informative and making them easy to understand.
@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.
@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!
@locust762 жыл бұрын
<a href="#" class="seekto" data-time="2127">35:27</a> 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)
@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."
@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!
@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! 😂
@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!
@tulsatrash Жыл бұрын
Thank you very much for showing how someone can run in the command line something they have created in Python.
@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.👍
@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")
@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")
@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! 😀
@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
@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.
@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.
@tommyv49802 жыл бұрын
holy shit this kid is smart...ugh this is taking so long to learn. Thanks for everything Tim, you are an awesome teacher
@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
@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.
@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.
@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!!!
@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!
@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
@mattiparviainen Жыл бұрын
<a href="#" class="seekto" data-time="608">10:08</a> 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.
@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.
@danielaviv82152 жыл бұрын
<a href="#" class="seekto" data-time="605">10:05</a> Ctrl/CMD+Shift+C (from vscode) will do the same much faster
@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)
@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)
@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!
@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.
@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!
@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 ..
@costelinha18672 жыл бұрын
Tim: "As long as you have an enviroment to write Python code in it." Viewer: Writes in windows notepad.
@bilalomar52032 жыл бұрын
Absolutely phenomenal video with helping me by holding my hand throughout the projects!
@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}")
@kapibara244010 ай бұрын
Superb content Tim. Thank you !
@tsuis1 Жыл бұрын
Great to have beginner projects like this! Really useful and interesting!
@ib14452 жыл бұрын
i love that you use go code in a python video thumbnail!
@manohartimothy58252 жыл бұрын
Very well explained and hadeled the API .... congrats...I will be there to listen your more vidios....Thanks..Manohar
@jackbryan97822 жыл бұрын
Nice , prompt and detailed content..
@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.
@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"
@oussama406122 жыл бұрын
The background shows Golang 😃 Nice video, though
@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.
@supercrusher12352 жыл бұрын
Thank you Tech With Tim for the great tutorial. Especially the JSON explanation. I guess its an upgrade from txt files.
@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
@nggordon58892 жыл бұрын
It is really a fantastic video. You help me a lot to understand python. Thank you
@purplemosasaurus59872 жыл бұрын
Really great tutorial, exactly what I needed.
@stevevu28162 жыл бұрын
hopefully one day i can see you create a project that predict price for stocks or cryptos, lol. such an genius guy.
@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
@ericlenchon48262 жыл бұрын
well explained. perfect for me. thanks a lot
@adel-a Жыл бұрын
Great tutorial. Thanks for sharing.
@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?
@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
@sfrdanserisinedestek65392 жыл бұрын
I find your videos really helpful! Thank you Tim!
@doctorwin642 жыл бұрын
Good, I like it Keep it up
@quicktecha32 жыл бұрын
For the weather project, append " &units=metric " to the "request_url" and it will show you the degree in Celsius ;)
@FiveFourThor2 жыл бұрын
Super cool!!
@gabrielroomvm6209 Жыл бұрын
GREAT WORK
@eannaoreilly72442 жыл бұрын
amazing, I probably will use this thanks
@manu-gt9gr2 жыл бұрын
i enjoy it a lot, thanks!
@sarithaac952 жыл бұрын
Thank you Tim ...Great job...Can you do a video on sending local notifications from android app using python
@angelabad82942 жыл бұрын
Pretty usefull video man, keep doing great.
@shyamgurunath58762 жыл бұрын
Hey Tim, Great tutorial…I have suggestions, make a tutorial on papercut which is localhost smtp server listening on port 25. Thanks
@shaken56902 жыл бұрын
Thank you Tim!
@slix59532 жыл бұрын
Could you possibly make beginner projects for raspberry pi?
@alexandrohdez39822 жыл бұрын
Your videos are great from easy to pro... 👏👏👏
@jamduarte-mv7ok25 күн бұрын
I get error in api for weather. But thanks it really helps me to think as a beginner.
@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
@sairudru68092 жыл бұрын
Love ur tutorials! Please make a day in the life!
@Allin-dd8gj6 ай бұрын
Thank you so much -------------------❣❣
@JesusisGodApologetics2 жыл бұрын
you are the best bro
@tinojaa67492 жыл бұрын
clipboard doesnt exist for me
@windyy_992 жыл бұрын
Standard I-DLE application, i see you
@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
@andrewbeef87582 жыл бұрын
if you are getting error in debian based machines , install xclip througgh terminal
@yogeshdharya38572 жыл бұрын
What a wonderful video for beginners like me!I Wanted to have an automation project in my resume as m a DevOps aspirant.This would definitely help me a lot
@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
@yb_bakery Жыл бұрын
My weather app does on work. I basically do not get the JSON information. it just goes straight to "An error has occured"
@yb_bakery Жыл бұрын
Answered my question. When copy and pasting tims code from git hub MAKE SURE!!! to use your own API key and not Tim's. He mentions in the vid that he will disable his account so that means his API key wont work.
@satyamroy88302 жыл бұрын
lovely tutorial... want more in java and many other things... maybe some ML and core engineering stuff.....
@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.
@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.
@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 :(")
@rakanbakir48022 жыл бұрын
thank you for your great tutorial, I have one question about the homework you gave us, I tried to delete a key from the json file, but it did not work, I don't know what I am doing wrong (I know I am very noob :) ), below is what I tried elif command == "delete": key = input("Please enter key: ") if key in data: del data[key] // or data.pop(key) print("Key has been deleted.") else: print("Key does not exist.")
@rakanbakir48022 жыл бұрын
thank you all, i have figure out what the problem, i was not saving to the file (save_data(SAVED_DATA, data))
@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.
@ootbinc Жыл бұрын
Great video very helpful! What classifies these projects as automation projects? Thanks.
@sinasmith75212 жыл бұрын
Tim thanks for great instruction...Is it possible to cover advent of code problems ?