3 Python Automation Projects - For Beginners

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 มิ.ย. 2024
  • Today i'm going to show you how you can automate your life with these 3 fun, simple yet effective projects. These projects illustrate the power of knowing Python & the automation techniques.
    Learn more about python from this FREE guide from HubSpot! clickhubspot.com/ttd
    Free Currency Converter API: freecurrencyapi.com/
    Code in this video: github.com/techwithtim/Python...
    Install Pygame (Mac): • How to Install Pygame ...
    Install Pygame (Windows): • How to Install Pygame ...
    🎓 Premium Courses 🎓
    🏢 CourseCareers - techwithtim.net/dev
    🔗 BlockchainExpert - algoexpert.io/blockchain (use code “tim”)
    💻 ProgrammingExpert - programmingexpert.io/tim (use code “tim”)
    🎓 Free Courses 🎓
    📚 Introduction To Software Development: techwithtim.net/dev
    ⏳ Timestamps ⏳
    00:00 | Video Overview
    01:26 | Currency Converter
    18:49 | TH-cam Video Downloader
    29:51 | Automated File Backup
    🔗 Socials 🔗
    📸 Instagram - / tech_with_tim
    🐦 Twitter - / techwithtimm
    💬 Discord - / discord
    🤝 LinkedIn - / tim-ruscica-82631b179
    🌐 Website - techwithtim.net
    💾 GitHub - github.com/techwithtim
    🔗 Support 🔗
    👕 Merch - teespring.com/stores/tech-wit...
    💵 Donations - www.paypal.com/donate?hosted_...
    🙏 Patreon - / techwithtim
    🔖 Tags 🔖
    - How To Create A Currency Converter In Python
    - TH-cam Video Downloader Using Python
    - Automated File Backup Tutorial
    Hashtags
    #pythonprogramming
    #pythonai
    #automation

ความคิดเห็น • 55

  • @TechWithTim
    @TechWithTim  6 หลายเดือนก่อน +2

    Learn more about python from this FREE guide from HubSpot! clickhubspot.com/ttd

  • @arnot4499
    @arnot4499 6 หลายเดือนก่อน +22

    For the backup program (this only applies to windows). Rather than using a python scheduler which needs the python script to be running 24/7 (and hence to be restarted everytime the computer is restarted). You can use Windows Task Scheduler to call your script on a schedule that you set, and it will persist even with restarts.
    Obviously the video is a python tutorial, but if anyone is interested in building something like the backup script I think it is a useful addition. Thanks for the great vid as always!

  • @garrettsmith315
    @garrettsmith315 6 หลายเดือนก่อน +6

    I feel like you're speaking directly to me in every video! Your Flask tutorials have been on my mind lately, dreaming of launching an API and the build process has been very enlightening

  • @DonnieX6
    @DonnieX6 6 หลายเดือนก่อน +3

    Thank you so much, Tim! These three examples have a lot of stuff I need in my next project, perfect for me as a quite beginner! :)

  • @irfanykywz
    @irfanykywz 6 หลายเดือนก่อน +1

    simple and clear naration, i like it

  • @user-ts9ks8in2n
    @user-ts9ks8in2n 6 หลายเดือนก่อน +1

    Thanks for the reinforcement for the beginners

  • @alimihakeem841
    @alimihakeem841 5 หลายเดือนก่อน

    Thanks so much Tim. I have learnt alot from your valuable content. I love the way you explained

  • @marociam1040
    @marociam1040 6 หลายเดือนก่อน +1

    Thank you for these amazing videos 🙏

  • @landorandaza5431
    @landorandaza5431 24 วันที่ผ่านมา

    The last project was awesome!

  • @dng7470
    @dng7470 5 หลายเดือนก่อน

    Thank you Tim.

  • @GBroSM
    @GBroSM 3 หลายเดือนก่อน

    i love how you explain every single line of code. University professor should start doing that lol

  • @Yamikgaming
    @Yamikgaming 6 หลายเดือนก่อน

    You are awesome! Thank you!

  • @mmGsix
    @mmGsix 6 หลายเดือนก่อน

    Sir, you are very* good at the things you do.
    Tyvm for sharing. 🙏

  • @DeltaXML_Ltd
    @DeltaXML_Ltd 5 หลายเดือนก่อน

    Great video! 😀

  • @Green_44_
    @Green_44_ 6 หลายเดือนก่อน

    Great video 👍🏻

  • @mkk-un9nz
    @mkk-un9nz 6 หลายเดือนก่อน

    thanks Tim❤

  • @bbbb4g
    @bbbb4g 3 หลายเดือนก่อน

    I can't believe I actually watched the entire video.
    I gained a lot from it, really

  • @fatimanoor2497
    @fatimanoor2497 6 หลายเดือนก่อน +1

    Wow Tim you are gem😊😊😊

  • @rishiraj2548
    @rishiraj2548 6 หลายเดือนก่อน

    Thanks

  • @MelkeyDev
    @MelkeyDev 6 หลายเดือนก่อน

    good video Tim

  • @predygamedev2260
    @predygamedev2260 5 หลายเดือนก่อน

    Can it be used to also download the mp3 from the youtube video?

  • @Tutoriale.B
    @Tutoriale.B 5 หลายเดือนก่อน +1

    Just a small addition, if you have 2 or more mp4 types, like 720p and 1080p, it will download the 720p version all the time. I've tested this against a few online downloaders / a few videos.
    Not a big issue, most of the time, but still, better to know about it :)

    • @tanvirahmed1959
      @tanvirahmed1959 4 หลายเดือนก่อน

      I want to the answer too

  • @adelinadonisa
    @adelinadonisa 5 หลายเดือนก่อน +1

    I did the same code in visual studio as you did, and it doesn't run, output an error that say pytube module is not defined and I did thr comand pip install pytube in pycharm and it says thats already satisfied

  • @geoffreychinot3244
    @geoffreychinot3244 6 หลายเดือนก่อน

    Hey, great video again . However, are you sure that the two lines root = tk.TK() and root.Withdraw() are needed in you script ?

    • @melihbedirhan2173
      @melihbedirhan2173 4 หลายเดือนก่อน

      Yeah, I’m also curious about it. How did tkinter library needed for this project

  • @adelinadonisa
    @adelinadonisa 5 หลายเดือนก่อน

    Well.... It doesn't open the window to choose the folder I want video to be downloaded, it just stays in run mode after typing the yt link.... It works properly only in debugging mode... Any idea why this happens?

  • @rantalbott6963
    @rantalbott6963 5 หลายเดือนก่อน

    TH-cam downloader doesn't work on Python 3.8 on Linux
    Tim is using 3.9, and got version 15 of pytube.
    I normally use 3.8, and its latest pytube is 12.
    I get HTTP error 410 on every video I try with 3.8
    I also have 3.10 installed. pip3.10 gets pytube 15.0.0, and that works correctly using python 3.10 instead of 3.8

  • @daryadil8035
    @daryadil8035 2 หลายเดือนก่อน

    Well we are not receiving any email verification message during sign up for currency converter API.

  • @maliekfranklin4712
    @maliekfranklin4712 6 หลายเดือนก่อน +1

    um.. i dont have a website url nor company name isnce im juts a beginner trying to learn python , and hubspot is asking for those 2 pieces of info, what should i do?

    • @tdexmedia
      @tdexmedia 6 หลายเดือนก่อน

      Just put nil

    • @omarjones8481
      @omarjones8481 5 หลายเดือนก่อน

      make one up. it only needs to be formatted right.

  • @casperolsen8147
    @casperolsen8147 6 หลายเดือนก่อน +1

    Is there a more elegant way of having the Python script running all day? Like if you run the script in the Terminal or something else maybe? I don't like the idea of having VScode open all day 24/7.

    • @arnot4499
      @arnot4499 6 หลายเดือนก่อน +2

      If you are on windows, imo the best way is to use windows task scheduler to schedule the script instead of a python scheduler.
      Task scheduler runs in the background anyway and doesn't need to be started every time the PC restarts.
      The downside is it is a windows feature; not sure if Linux has an alternative, but Mac doesnt

    • @Jon_405
      @Jon_405 6 หลายเดือนก่อน +1

      You can run it without vs code by using powershell or cmd to run it then keep that window open. It shouldn't really need to take up any resources. But windows scheduler is probably a better long-term solution.

  • @lucianoaugustob
    @lucianoaugustob 6 หลายเดือนก่อน +1

    I'm getting this error on the second project:
    I'm using a Mac M1.
    Does anybody knows how to fix it ?

    • @buckwheatboi
      @buckwheatboi 5 หลายเดือนก่อน +1

      same specs and problem

  • @komodo3784
    @komodo3784 5 หลายเดือนก่อน

    19:06 Why is your vscode logo able to switch color?

  • @ilkmod
    @ilkmod 6 หลายเดือนก่อน

    hey tim can you help me? ←[34m i get this instead of color changing colorama

  • @SwekeR4603
    @SwekeR4603 5 หลายเดือนก่อน +1

    Can someone tell me the theme name 🤔

  • @casperolsen8147
    @casperolsen8147 4 หลายเดือนก่อน

    Is anyone else getting 720p when they try this code for the TH-cam downloader? And I checked, the video I tested on had up to 1080p available.

  • @Edd211
    @Edd211 5 หลายเดือนก่อน

    how to install things without using pip bs?

  • @MatrixAbuz17
    @MatrixAbuz17 6 หลายเดือนก่อน +18

    To be honest, you should just finalize a ‘fix pip’ video rather reusing the pygame video. It’ll be short and simple but more searchable for average users.

  • @therabidpancake1
    @therabidpancake1 11 วันที่ผ่านมา

    I typed it exactly the same way you did and I can not get it to work .

  • @sproutboot
    @sproutboot 4 หลายเดือนก่อน

    Why is it called automation project

  • @raymondkadzashie591
    @raymondkadzashie591 5 หลายเดือนก่อน

    I KEEP GETTING INVALID CURRENCY AFTTER I RUN THE CODE I DID EVERYTHING RIGHT BY FOLLOWING THE VIDEO

  • @oliverzygo
    @oliverzygo 6 หลายเดือนก่อน

    :)

  • @Suoh2
    @Suoh2 6 หลายเดือนก่อน +2

    First

  • @Just_A_Tech.._
    @Just_A_Tech.._ 6 หลายเดือนก่อน

  • @mcmuf3808
    @mcmuf3808 5 หลายเดือนก่อน

    Can anyone solve my issue? For project 2, the youtube to mp4 convertor, it threw an error that said: "python: command not found".
    Here is my code and I am working on a mac:
    from pytube import TH-cam
    import tkinter as tk
    from tkinter import filedialog
    def download_video(url, save_path):
    try:
    yt = TH-cam(url)
    streams = yt.streams.filter(progressive=True, file_extension="mp4")
    highest_res_stream = streams.get_highest_resolution()
    highest_res_stream.download(output_path=save_path)
    print("Video downloaded successfully.")
    except Exception as e:
    print(e)
    def open_file_dialog():
    folder = filedialog.askdirectory()
    if folder:
    print(f"Selected folder: {folder}")
    return folder
    if __name__ == "__main__":
    root = tk.Tk()
    root.withdraw()
    video_url = input("Please enter a TH-cam URL: ")
    save_dir = open_file_dialog()
    if save_dir:
    print("Started download...")
    download_video(video_url, save_dir)
    else:
    print("Invalid save location.")
    thanks!

    • @rantalbott6963
      @rantalbott6963 5 หลายเดือนก่อน

      It looks like you might not have Python installed. Are you using Windoze? I believe that requires you to do your own install. On my Ununtu 20.04 system, just plain "python" points to Python2: I have to type "python3" to get Python 3.8. I've read that support for Python 2 is being dropped by some. Maybe you only have Python 3?

    • @mcmuf3808
      @mcmuf3808 5 หลายเดือนก่อน

      @@rantalbott6963 im using mac and yes i have python 3

  • @alimihakeem841
    @alimihakeem841 6 หลายเดือนก่อน

    Thanks so much Tim. I have really learn alot from your valuable content.