So many Python project videos on RUclips claiming to be "for beginners", but the only comprehensible lines of code are the imports. As a person *just* dipping his toes into Python - never touched a library or read API documentation - I'm very grateful for this video. Was able to follow along with all three projects and added some additional features by following the APIs. 🙏 bless!
Programming is all about documentation. If you know the basics of the syntax you can literally do anything as long as you know where to find docs to whatever [Always google or RUclips for me]
I once made the pdf merger and photo editor but didn't thought that you could literally download yt videos! Finally not more ads from yt download websites
00:02 🐍 Python projects are simple and practical, fostering immediate application. 01:00 🖼 Image editor project utilizes Python's library for easy photo editing, offering potential automation for repetitive tasks. 05:21 🎥 RUclips downloader project enables video downloads with just a few lines of Python code, eliminating the need for premium services. 09:26 📚 PDF merger project simplifies file management by combining multiple PDFs into one, enhancing efficiency. 13:01 🐚 Shell scripting enhances workflow automation by enabling program execution directly from the command line, reducing manual intervention.
The first line on the top of the Shell Script is called Shebang. This line represents the type of shell that the user will use when running the script. It is important to know this.
Hi, the video was good. One thing that I want to point out is that in your code for PDF merging, the "merger.write()" command should be outside of the for loop. If not then the files will be merged multiple times as long as the loop goes on. Thanks
I love the fact that after showing us how to steal youtube videos, you then talk about how we should like the video to help youtube understand that its a good video. Playing the system man, love it
Thank you very much for taking the time to make this video!! I am an intermediate hobby-coder, I took Python for GIS in college and this video was easy for me to follow. There were some workarounds I had to implement as I'm working with a fairly fresh install of Ubuntu 22.04, but was able to have my code exit the same way yours did without too much downtime. Highly recommend this video to anyone that wants practical experience without watching another "print(hello world)" tutorial!!
From learning other languages I found using the language in a real world situation is the best way to learn and remember. This was a great video, please keep doing them!
I ran the ytDownloader on a Windows machine. I had to add the "r" in front of the file path for the download folder to get it to work but other than that it works flawlessly. Great video.
Yes it is necessary because of the '\' sign inside the path. If we don't write 'r' at the beginning then '\' this sign is treated as an escape element like ' ', '\t' and more. To avoid the error we either write 'r' at the beginning or we can also give '\\' doubt oblique sign instead of '\' single oblique sign inside the path wherever it is present.
Watching your video kickstarted a good motivation in me to finally go ahead and start Python for real. Even with an MS in Physics, my experimental work has actually never needed too heavy of a coding (mostly just a lot of MATLAB and other tools like SolidWorks, etc). RUclips downloader seems like an amazing little project I can customize and maybe even learn UI development!
Something I did recently in Python, was to create a Python program that would call out to the wikiservice using sparql, where I would grab certain information used from the result of the query to be used to place in a JSON file. I certainly didn't want to manually create all that JSON, so Python did it for me, all 100k+ lines of JSON data I needed for a web app I'm developing.
@@JAYTHEGREAT355 I will paste the code for you brother, I'm assuming you probably found out by now, but if someone else comes into the comments wondering the same, it will help them: from pytube import RUclips def download_audio(video_url): try: # Create a RUclips object yt = RUclips(video_url)
# Extract the highest quality audio stream audio_stream = yt.streams.filter(only_audio=True).first()
# Download the audio audio_stream.download(output_path='.', filename_prefix='audio_')
print(f"Audio downloaded successfully: {audio_stream.title}") except Exception as e: print(f"An error occurred: {e}") # Replace 'your_video_url_here' with the RUclips video URL download_audio('your_video_url_here')
My first real and useful project that I decided to do was an automatic image downloader that could detect the exact type of images you wish to download from a website. I was too lazy to do it manually so I wrote a script that selectively got the images, saved them in separate folders and sorted by date. Not too shabby if you ask me
I've been a photographer for over 40 years (graduated from US Navy Still Photography A School in Dec 1979) and I always get a chuckle when people say, "you can apply the same edits to all of youur photos. That is NEVER a good practice.
Change your camera workflow and you'd be surprised. Blemish fixes obviously not but basic contrast saturation and things like that mass edits are amazing. 6 years of festival photography I could get through thousands of photos in a few hours and they always looks amazing if the customer wanted to remove a pimple or something I charged extra but even then it was only a few seconds of editing. Now obviously if you're doing high end model work or something creative then batch edits wouldn't make sense unless you planned for a certain color tone
Mate, that's really good but please, can it be zoomed out for the whole screen to see your directories structure? It's really important when you`re new to this whole topic
The remarkable information you provide to your viewers needs to be applauded. I sincerely appreciate your effort to expand your viewers knowledge. A sincere thank you!
Okay great! I don't really like these ideas, but finally someone is actually giving practical ideas and these seem super easy. I'm starting to understand the power and practical applications of python.
Python by itself isn't even powerful, but when you factor in all the amazing libraries, it's clear why so many experienced programmers prefer python to the alternatives for many use-cases.
This is awesome! As a teacher who has had to teach computing, while not being qualified in computing, I wish I had seen this earlier. Students would be interested in this kind of stuff. Keep them coming please! 😅
So i have not a lot of programing experience... But i looked at your guide, about the YT Downloader, not so long ago i was searching for an app, something like this on the internet. Long story short. I just watched the video, i'm in my bed, installed a random python client on Android, and basicly installed the pip, figured out how to show path to Download folder on my phone and VUOLA!!!!! I god damn downloaded a random video from RUclips!!!! OMG, from my phone, with almost ZERO knowledge hahaha, this is AMAZING!!! THANK YOU, so so much :)))
Someone must've already said this, but you need to have your `merger.write("combined..")` function call outside the for loop. Otherwise, when there are non-pdf files inside the folder, it will create buggy combined PDF files.
Just a little correction of your code for merging the pdf: files = ["/home/vially/WORK/osw/file1.pdf", "/home/vially/WORK/osw/file2.pdf"] for file in os.listdir(os.curdir): if file.endswith(".pdf"): merger.append(file) print(file) merger.write("MainFile.pdf") Actually the merrge.write has to be outside of the for loop as well...I ws getting the same PDF many time before i got the ast pdf in the array only once. But when i brought the merge out of the for loop i got each of the pdf only ones...But this applies in a case when you have more than 2 files in the directory...you can even define which files you wanna loop by putting them in an array
Just a quick thing, when you import things like os, sys, etc. you dont need one line for each, you can just say: "import os, sys, time, random" in one line for example.
10:30 terminal window using shell scripting. 12:40 let's see if I made mistakes. 14:10 where you would normally run your python code in your WD. PWD: present working directory. CD: correct directory 14:50 include this line at the top of all your shell scripts.
Quick note for those who may get confused (like I did): the RUclips script won't download 4K video - it won't even download 1080p. Due to RUclips's use of the DASH protocol for higher resolutions, the max resolution that this script can handle is 720p. DASH downloads audio and video separately and you need to post-process to combine them, using something like ffmpeg.
This sounds like a ton of extra unnecessary work when honestly there are youtube downloader sites by the thousands on the internet. Decent example of something that COULD be done, but doesn't really give an actual reason why anyone WOULD do it.
FWIW that script throws 400: Bad Request errors so it's outdated in relation to the way RUclips handles requests or something anyway. Too much extracurricular work involved bothering to find out why
Thank you for these super cool libraries. Instead of: from sys import argv, You can used: import argparse parser = argparse.ArgumentParser(description="Python script to download RUclips videos") parser.add_argument("--input", "-I", required=True, help='Read R1', type=str) args = parser.parse_args() from pytube import RUclips link = args.input
Great guide, thanks for the video! I followed it and tried downloading this very video and it worked, however it didn't download the 4k version, but the 720p. So I started digging into the pytube docs and found out that get_highest_resolution() will only work for videos up to 720p (aka "progressive streams"), because for videos of higher res YT delivers video and audio separately ("adaptive streams"), so we'd have to dl them separately and then combine them. I'm looking into it.
You can alias your shell scripts and that way you can execute your scripts as a terminal command. For example you could name one of the aliases pdf_merger. Then from any directory in your terminal you could call pdf_merger filename1 filename2 etc. This was a really cool video.
Thanks for a great video. As someone who is in the middle of learning introductory python I was cringing at the idea of building tic tac toe and other useless projects. These are good practical ideas
Honestly, this is the most helpful and insightful videos that I have come across regarding Automating Python for Beginners. It's quick and straight to the point. Thank you for this video, for that I will not download your video as a respect to content creator like yourself :P
I think I'm gonna finally dip into my first Python side project bc of your awesome vid that is REALLY for BEGINNERS! i understand it immediately and inspired me to explore more on pillows :) cuz i love photoshop
@@esfera2181 buddy modern day programming is 90 percent using pre-existing libraries. What do you think packages are!!?!? At the end of the day these are all just tools to be used to achieve your specif project goals.
A neat trick You can include #!/bin/python3( or any supported python version) on top of your python script and no need to write python3 before file. Just put ./ Before file and it runs like a charm.
When you asked for the like on the video, I feel like you should show us how to write a python script on how to go through and leave a like on all of your videos!! lol Great video btw!! This is amazing!
I'm glad I stuck around for that kitten! I recently had a really boring pdf to read and I searched the internet to find a pdf to mp4 file converter. I would like to code that problem.
I guess there is a step for programming that is even lower than beginner, because even while I sort of understood what you were doing, at many times I did not and could never replicate any of what you just did in this video, unless I just straight up copied the code from line to line....
For the pdf merger code, the following is what is changed : import PyPDF2 import sys import os merger=PyPDF2.PdfMerger() #pdffilemerger was the old function for file in os.listdir(os.curdir): if file.endswith(".pdf"): print(file) merger.append(file) merger.write("combinedpdf.pdf") merger.close #you need to close the merger for it to combine properly
Found it hard to trust some youtube converters out there because they were so many pop ups and redirections to sketchy pages, and the ones I could trust stopped working after a while so pytube is a Godsend, thank you!
GREAT VIDEO! That's why I love coding. My main language is java, didn't like python, but after seeing this, I might give it a go !!! Please continue to create more content like this one! Thank you for sharing your knowledge and keep it up.
Good stuff, i always felt like i need some motivation to use python and its really good for everyday automation stuff. I tend to have a lot of files monthly to sort of archive into folders with dates and such which is how i learned Rust XD. I am gonna be making a newer version in python for archiving them more organized with hopefully more sophisticated date and subfolder selections. On another note, for everyone who might copy the merger, the merger.write("...pdf") should be outside the loop so that it only runs once after the loop finishes to avoid potentially writing the same file as many times as the number or files in the same folder(pdfs or not). I often use cloud backups for important works and it can sometimes mess with their sync attempts. (And yes i understand probably more people commented about this or similar)
Next time just build us a RUclips Account optimizer, cause you're clearly using one. Bro, How are you growing this fast in such a saturated platform? Amazing!
Hello my friend, I know this is out of topic, but I’m doing the CS50 course you recommended and it’s great. I just wanted to know for the psets, what did you do to wrap your head around nested for loops for star patterns?
I am not sure if they went through this in the week you are in at the moment, but I would recommend running your loops in debug mode to see step by step your computer's 'thought process'
@@SLIME-gx6fo That is what debug mode does. It works line by line, where you have to click yourself to make it go to the next line. No need for a copy or pen
The information, you provide is amazing, I have learnt heaps about programming and python from your channel, always have good advice, and you are easy to understand!
Not only is this content really useful (I love the absence of useless w**k) but it's really well-presented and there is no irritating artificial handclap music to drive me crazy. Great job!
For the pdf merger, if its not working, try to write the line "merger.write(...)" after the for loop ends. and also make sure you delete the new generated doc in the folder before running the script again.
Hi, you have good videos, one issue that i faced i want to mention is that you write bottom of the screen, when we pause the youtube video to read the line of code, youtube's play-pause option comes over your code and its hard to read. please play your this video go to full screen then pause the video and see what i am trying to say. thanks.
Random guys, companies, and also cretaors of Python. But mostly regular programmers who probably created the code for their own project first and then decided to make it public so others could use it (legends!)
Comment below what video you want to see next
Please more videos like this!
Please more video like this 🥰🍉 I'm so into this ❤️
GitHub link does not open
thanks for pointing out, I had it on private by accident
Please make more videos like this thank you
So many Python project videos on RUclips claiming to be "for beginners", but the only comprehensible lines of code are the imports. As a person *just* dipping his toes into Python - never touched a library or read API documentation - I'm very grateful for this video. Was able to follow along with all three projects and added some additional features by following the APIs. 🙏 bless!
this is probably below begginer and more like learner.. most of it is just importing modules
how do you find out about things like a library or reading API documentation, i dont even know what those are
@@seldom1305 do you have discord? I can teach you guys if you want
@@excaliber2845 you as well. I should probably make a free course on youtube lol
Programming is all about documentation. If you know the basics of the syntax you can literally do anything as long as you know where to find docs to whatever [Always google or RUclips for me]
I once made the pdf merger and photo editor but didn't thought that you could literally download yt videos!
Finally not more ads from yt download websites
00:02 🐍 Python projects are simple and practical, fostering immediate application.
01:00 🖼 Image editor project utilizes Python's library for easy photo editing, offering potential automation for repetitive tasks.
05:21 🎥 RUclips downloader project enables video downloads with just a few lines of Python code, eliminating the need for premium services.
09:26 📚 PDF merger project simplifies file management by combining multiple PDFs into one, enhancing efficiency.
13:01 🐚 Shell scripting enhances workflow automation by enabling program execution directly from the command line, reducing manual intervention.
*you tipped the beggar* Ah bless ye, kind sir!
The first line on the top of the Shell Script is called Shebang. This line represents the type of shell that the user will use when running the script. It is important to know this.
🔥
As a person who just started learning python. I wanted see some practical applications of this language to motivate myself. MISSION ACCOMPLISHED!!
Another great tip for merging PDF's on a mac is: after highlighting them, left click --> Quick Actions --> Create PDF
Hi, the video was good. One thing that I want to point out is that in your code for PDF merging, the "merger.write()" command should be outside of the for loop. If not then the files will be merged multiple times as long as the loop goes on. Thanks
Damn, blew me away with that first project... you were not kidding that you wouldn't be doing games as projects. Subscribed.
I love the fact that after showing us how to steal youtube videos, you then talk about how we should like the video to help youtube understand that its a good video. Playing the system man, love it
hehehe
Thank you very much for taking the time to make this video!! I am an intermediate hobby-coder, I took Python for GIS in college and this video was easy for me to follow. There were some workarounds I had to implement as I'm working with a fairly fresh install of Ubuntu 22.04, but was able to have my code exit the same way yours did without too much downtime. Highly recommend this video to anyone that wants practical experience without watching another "print(hello world)" tutorial!!
From learning other languages I found using the language in a real world situation is the best way to learn and remember. This was a great video, please keep doing them!
I ran the ytDownloader on a Windows machine. I had to add the "r" in front of the file path for the download folder to get it to work but other than that it works flawlessly. Great video.
Yes it is necessary because of the '\' sign inside the path. If we don't write 'r' at the beginning then '\' this sign is treated as an escape element like '
', '\t' and more. To avoid the error we either write 'r' at the beginning or we can also give '\\' doubt oblique sign instead of '\' single oblique sign inside the path wherever it is present.
even for me who is 50 years old, and not very knowledgeable in coding, this seems like something I could learn
Watching your video kickstarted a good motivation in me to finally go ahead and start Python for real. Even with an MS in Physics, my experimental work has actually never needed too heavy of a coding (mostly just a lot of MATLAB and other tools like SolidWorks, etc). RUclips downloader seems like an amazing little project I can customize and maybe even learn UI development!
Hows it going mate?
I use java, swift & kotlin mainly but I'm amazed by the number of things I can do with python. I'll definitely start learning it.
im starting with kotlin, absoulute beginner. what do u recommend?? any channel, or applications ?
@@afraimjoseph8989 watch Programming with Mosh's full 6hour free Python tutorial on youtube. Its the best and highly recommend it
@@ajmjabir1061 He's asking for material about Kotlin, not Python. Anyway, thanks for the recommendation. I'll check that video myself. :)
Something I did recently in Python, was to create a Python program that would call out to the wikiservice using sparql, where I would grab certain information used from the result of the query to be used to place in a JSON file. I certainly didn't want to manually create all that JSON, so Python did it for me, all 100k+ lines of JSON data I needed for a web app I'm developing.
Dude, Pytube is a game changer especially since I found you can do audio only. Thanks so much!
Same here ;)
How ? Do you have the python code
@@JAYTHEGREAT355 You are one Google Search request away from the information that you need ;-)
@@JAYTHEGREAT355 I will paste the code for you brother, I'm assuming you probably found out by now, but if someone else comes into the comments wondering the same, it will help them:
from pytube import RUclips
def download_audio(video_url):
try:
# Create a RUclips object
yt = RUclips(video_url)
# Extract the highest quality audio stream
audio_stream = yt.streams.filter(only_audio=True).first()
# Download the audio
audio_stream.download(output_path='.', filename_prefix='audio_')
print(f"Audio downloaded successfully: {audio_stream.title}")
except Exception as e:
print(f"An error occurred: {e}")
# Replace 'your_video_url_here' with the RUclips video URL
download_audio('your_video_url_here')
wow, I was a jock once and this video just changed how I look at solving problems of the world. I was so narrow in my thinking. Really, thanks !
Didn't even know doing these things was possible in Python!
Thanks a ton!
My first real and useful project that I decided to do was an automatic image downloader that could detect the exact type of images you wish to download from a website. I was too lazy to do it manually so I wrote a script that selectively got the images, saved them in separate folders and sorted by date. Not too shabby if you ask me
The amazing amount of things that can be done with Python never cease to amaze me!!👍
indeed!
I have to agree. It is also very diverse. There is something interesting for everybody.
guys im a beginner and i dont understand how to open the "ytdownload.py" window on my laptop. How did he go from Terminal to the coding window?
@@legendal2463 theres a terminal tab in visual studio code, which is the software he is using.
I've been a photographer for over 40 years (graduated from US Navy Still Photography A School in Dec 1979) and I always get a chuckle when people say, "you can apply the same edits to all of youur photos. That is NEVER a good practice.
Change your camera workflow and you'd be surprised. Blemish fixes obviously not but basic contrast saturation and things like that mass edits are amazing. 6 years of festival photography I could get through thousands of photos in a few hours and they always looks amazing if the customer wanted to remove a pimple or something I charged extra but even then it was only a few seconds of editing. Now obviously if you're doing high end model work or something creative then batch edits wouldn't make sense unless you planned for a certain color tone
Mate, that's really good but please, can it be zoomed out for the whole screen to see your directories structure? It's really important when you`re new to this whole topic
The remarkable information you provide to your viewers needs to be applauded. I sincerely appreciate your effort to expand your viewers knowledge. A sincere thank you!
no
Okay great! I don't really like these ideas, but finally someone is actually giving practical ideas and these seem super easy. I'm starting to understand the power and practical applications of python.
Python by itself isn't even powerful, but when you factor in all the amazing libraries, it's clear why so many experienced programmers prefer python to the alternatives for many use-cases.
@@ryanstewart531 that’s the power of a great community for ya
This is awesome! As a teacher who has had to teach computing, while not being qualified in computing, I wish I had seen this earlier. Students would be interested in this kind of stuff.
Keep them coming please! 😅
No disrespect, but how did you get the job?
@@bigpimpen1000 surely the school asked them to teach that class. Its really common when theres no enough teachers at that academic
@@bigpimpen1000 💀💀😭
So i have not a lot of programing experience... But i looked at your guide, about the YT Downloader, not so long ago i was searching for an app, something like this on the internet. Long story short. I just watched the video, i'm in my bed, installed a random python client on Android, and basicly installed the pip, figured out how to show path to Download folder on my phone and VUOLA!!!!! I god damn downloaded a random video from RUclips!!!! OMG, from my phone, with almost ZERO knowledge hahaha, this is AMAZING!!!
THANK YOU, so so much :)))
I’ve done Projects 1 and 3, but that RUclips downloader is so cool! Thanks for sharing!
You're so welcome!
bro r u using mac or windows because in my case im using windows and when i run zhs it tells me that zhs is not internal or external command :|
Someone must've already said this, but you need to have your `merger.write("combined..")` function call outside the for loop. Otherwise, when there are non-pdf files inside the folder, it will create buggy combined PDF files.
There's the solution! Thanks :)
There's a lot of bad stuff in this entire video as far as slop and just outdated or useless information. Unfortunate
These are great 24 hour Hackathon projects for my HS. Thanks for the ideas.
What I appreciate most about this guys channel is none of his thumbnails are deep fried with contrast filters like that OTHER guy
other guy?
Just a little correction of your code for merging the pdf:
files = ["/home/vially/WORK/osw/file1.pdf", "/home/vially/WORK/osw/file2.pdf"]
for file in os.listdir(os.curdir):
if file.endswith(".pdf"):
merger.append(file)
print(file)
merger.write("MainFile.pdf")
Actually the merrge.write has to be outside of the for loop as well...I ws getting the same PDF many time before i got the ast pdf in the array only once. But when i brought the merge out of the for loop i got each of the pdf only ones...But this applies in a case when you have more than 2 files in the directory...you can even define which files you wanna loop by putting them in an array
Just a quick thing, when you import things like os, sys, etc. you dont need one line for each, you can just say: "import os, sys, time, random" in one line for example.
10:30 terminal window using shell scripting.
12:40 let's see if I made mistakes.
14:10 where you would normally run your python code in your WD.
PWD: present working directory.
CD: correct directory
14:50 include this line at the top of all your shell scripts.
CD stands for Change Directory.
Quick note for those who may get confused (like I did): the RUclips script won't download 4K video - it won't even download 1080p. Due to RUclips's use of the DASH protocol for higher resolutions, the max resolution that this script can handle is 720p. DASH downloads audio and video separately and you need to post-process to combine them, using something like ffmpeg.
Could you explain? What should I put in instead of: get_highest_resolition? Thanks
This sounds like a ton of extra unnecessary work when honestly there are youtube downloader sites by the thousands on the internet. Decent example of something that COULD be done, but doesn't really give an actual reason why anyone WOULD do it.
FWIW that script throws 400: Bad Request errors so it's outdated in relation to the way RUclips handles requests or something anyway. Too much extracurricular work involved bothering to find out why
Thank you for these super cool libraries.
Instead of: from sys import argv,
You can used:
import argparse
parser = argparse.ArgumentParser(description="Python script to download RUclips videos")
parser.add_argument("--input", "-I", required=True, help='Read R1', type=str)
args = parser.parse_args()
from pytube import RUclips
link = args.input
Thanks a lot man!
For some reason the argv method was not working properly and showed "Index out of range" and then this helped
This is the best free software Ive seen. Respect.
Love it thanks, I'm still new and doing some courses on python. This video helped me see how to actually use the code and not just have it all stored.
ngl as much as i struggled with the first one, it really got me hooked on working on it
There's a library for literally everything hahaha
Yep!
That's why we all love python 😄
Lmao literally!!!
Yeah that's a perk of having a huge community :)
Everything's done already
Thank you!! I was so scared to start the course trying to change my career now I feel relaxed . I thought python is very complicated
Great guide, thanks for the video! I followed it and tried downloading this very video and it worked, however it didn't download the 4k version, but the 720p. So I started digging into the pytube docs and found out that get_highest_resolution() will only work for videos up to 720p (aka "progressive streams"), because for videos of higher res YT delivers video and audio separately ("adaptive streams"), so we'd have to dl them separately and then combine them. I'm looking into it.
ooh really, I had no idea, thanks for sharing this! So that is why so many videos I download only have 720p haha. Awesome stuff mate!
Let us know if you figure out out.
Any updates on this? Still only able to download 720p
I like how you add or remove 's' from nouns at the worst possible time. For example "a lot of the times".
Man that shell thing was cool , I didn’t know they existed.
amazing tutorial. I tried project 2 in a few minutes sucessfully. Thanks a lot!
Nice work!
The only RUclips channel that I actually like first then watch the video
You can alias your shell scripts and that way you can execute your scripts as a terminal command.
For example you could name one of the aliases pdf_merger. Then from any directory in your terminal you could call pdf_merger filename1 filename2 etc. This was a really cool video.
bro how to run zhs when trying to download yt videos in windows 10
1. Photo Editor
2. RUclips Video Downloader
3. PDF Merger
Thanks for a great video. As someone who is in the middle of learning introductory python I was cringing at the idea of building tic tac toe and other useless projects. These are good practical ideas
👍👍
Honestly, this is the most helpful and insightful videos that I have come across regarding Automating Python for Beginners. It's quick and straight to the point. Thank you for this video, for that I will not download your video as a respect to content creator like yourself :P
omg I've been using python for years and didn't know the shell part, thanks!
TY🤩
Would love to see a video on how to best learn syntax fundamentals!
I think I'm gonna finally dip into my first Python side project bc of your awesome vid that is REALLY for BEGINNERS! i understand it immediately and inspired me to explore more on pillows :) cuz i love photoshop
Great to hear!
Just finished my first Python Project -- YT vid downloader!!! Millions of thanks to you sir!!!
Your project is so useful! My high school US History teacher love it!
You aren't programming, using libraries is cheating. You just are using other peoples work and claiming that you "programmed" something
@@esfera2181 buddy modern day programming is 90 percent using pre-existing libraries. What do you think packages are!!?!? At the end of the day these are all just tools to be used to achieve your specif project goals.
A neat trick
You can include #!/bin/python3( or any supported python version) on top of your python script and no need to write python3 before file.
Just put ./ Before file and it runs like a charm.
Thank you, but what extension do you need? .sh? or still .py?
@@tycho1129 these scripts run without extension
You're a game changer dude
You're one of my favorite youtubers seriously, you're just great and have really helped me learn a lot
These are great ideas and if you play with it and custom it then it will teach you a lot
First video of yours I watched, Half way into the video I Liked, Subscribed and Commenting. Awesome!
Awesome! Thank you!
When you asked for the like on the video, I feel like you should show us how to write a python script on how to go through and leave a like on all of your videos!! lol Great video btw!! This is amazing!
I'm starting to learn python, and this video is very motivated for me
very impressive :)
m a complete beginner, had no clue about the code but love the out come. cant wait to be able to do stuff like this.
Long way to go buddy 😅
Me too😅😅😅😅.A complete novice
I'm glad I stuck around for that kitten! I recently had a really boring pdf to read and I searched the internet to find a pdf to mp4 file converter. I would like to code that problem.
amazing!
I guess there is a step for programming that is even lower than beginner, because even while I sort of understood what you were doing, at many times I did not and could never replicate any of what you just did in this video, unless I just straight up copied the code from line to line....
Thx for adding timestamps, and nice video 🙂
For the pdf merger code, the following is what is changed :
import PyPDF2
import sys
import os
merger=PyPDF2.PdfMerger()
#pdffilemerger was the old function
for file in os.listdir(os.curdir):
if file.endswith(".pdf"):
print(file)
merger.append(file)
merger.write("combinedpdf.pdf")
merger.close
#you need to close the merger for it to combine properly
Would love to see a formal video about the library flet for ui ❤
that's SO cool seeing these little projects you can do! It gives me ideas of things i'd like to try and make once i finish learning about Python!
Great!
How are you coming along with leading so far?
Holy fucking shit finally useful projects the RUclips downloader is crazy
Feeling happy I clicked on The video and watched it.
Omg it was awesome, i was looking for some information and this guy made it completely clear in minuts. Ty brother.
Gonna have to learn some python!
I will be back to this one !
Found it hard to trust some youtube converters out there because they were so many pop ups and redirections to sketchy pages, and the ones I could trust stopped working after a while so pytube is a Godsend, thank you!
None of these project worked for me, mutta kiitos tästä loistavasta tutoriaalista :D.
Every project had some errors and i got pissed
GREAT VIDEO!
That's why I love coding.
My main language is java, didn't like python, but after seeing this, I might give it a go !!!
Please continue to create more content like this one! Thank you for sharing your knowledge and keep it up.
Noticed your name and realized that you are finnish, thats cool!
🇫🇮
Interesting projects, need to investigate more Python libraries.
I actually did the second one before watching the video
Thanks for this tutorial. It's good for intermediate devs like me, not for beginners though😊.
Good stuff, i always felt like i need some motivation to use python and its really good for everyday automation stuff. I tend to have a lot of files monthly to sort of archive into folders with dates and such which is how i learned Rust XD. I am gonna be making a newer version in python for archiving them more organized with hopefully more sophisticated date and subfolder selections.
On another note, for everyone who might copy the merger, the merger.write("...pdf") should be outside the loop so that it only runs once after the loop finishes to avoid potentially writing the same file as many times as the number or files in the same folder(pdfs or not). I often use cloud backups for important works and it can sometimes mess with their sync attempts. (And yes i understand probably more people commented about this or similar)
Next time just build us a RUclips Account optimizer, cause you're clearly using one. Bro, How are you growing this fast in such a saturated platform?
Amazing!
maybe next I'll automate my RUclips channel....😎
Great tutorials and videos. keep working on your very useful projects you saved me at least one problem with the youtube code. thanks.
Great to hear!
Hello my friend, I know this is out of topic, but I’m doing the CS50 course you recommended and it’s great. I just wanted to know for the psets, what did you do to wrap your head around nested for loops for star patterns?
I am not sure if they went through this in the week you are in at the moment, but I would recommend running your loops in debug mode to see step by step your computer's 'thought process'
Write codes in copy. And run it line by line using pen and pencil. You will understand much clearly
@@SLIME-gx6fo That is what debug mode does. It works line by line, where you have to click yourself to make it go to the next line. No need for a copy or pen
The information, you provide is amazing, I have learnt heaps about programming and python from your channel, always have good advice, and you are easy to understand!
Thanks! Love the cat pic! Also have you considered a Downloader for youtube to a specific that that gets the newest videos as they are uploaded?
Not only is this content really useful (I love the absence of useless w**k) but it's really well-presented and there is no irritating artificial handclap music to drive me crazy. Great job!
Instead of creating a shell script you can create an alias to your python script in the bashrc if you are in a linux system
This is just something unreal, thank you for that!
For the pdf merger, if its not working, try to write the line "merger.write(...)" after the for loop ends.
and also make sure you delete the new generated doc in the folder before running the script again.
I'd like to learn more shell scripting and handy ways of incorporating python. Ooh! Especially something scheduled!!
vids coming!
Hi, you have good videos, one issue that i faced i want to mention is that you write bottom of the screen, when we pause the youtube video to read the line of code, youtube's play-pause option comes over your code and its hard to read. please play your this video go to full screen then pause the video and see what i am trying to say.
thanks.
hmm, thanks for pointing out, I'll make note of this issue!
bro, you are the best! liked and subscribed ❤
Bro thank you so much this video was exactly what I needed to see! Keep up the good work!
Beginner's naive question: who/what created all these libraries? Like random guys, building on open source? What was the first ever python library?
Random guys, companies, and also cretaors of Python. But mostly regular programmers who probably created the code for their own project first and then decided to make it public so others could use it (legends!)
These are great projects! Thanks for sharing - excited to implement the PDF Merger
Glad you like them!
Thanks
thats some value i really appreciate to receive, had fun watching thanks for sharin
Bro this project are awesome. Very usefull, ty.
Nice! Really loving Python and RUclips tutorial videos
New subscriber 😎
Welcome aboard!