5 Amazing Ways to Automate Your Life using Python

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 พ.ย. 2024

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

  • @akashreddyjammula
    @akashreddyjammula ปีที่แล้ว +244

    1. csv manipulation
    2. desktop cleaner
    3. email sender
    4. google drive file uploader
    5. investing/wealth caluclator

    • @ikadar
      @ikadar 9 หลายเดือนก่อน +4

      Thank you for your service!

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

      thank you soldier

    • @JavArButt
      @JavArButt 4 หลายเดือนก่อน +1

      thank you

    • @jasonking1284
      @jasonking1284 2 หลายเดือนก่อน +3

      That is the output of your Python automated Video Narration Summarizer script. Impressive.....

  • @Suxanes
    @Suxanes ปีที่แล้ว +34

    I'm more than half way finished from the Python ZTM course and now building projects from your videos. Love your videos and your humor!

    • @InternetMadeCoder
      @InternetMadeCoder  ปีที่แล้ว +2

      Nice work!

    • @Prabash_Prabhu
      @Prabash_Prabhu 9 หลายเดือนก่อน

      IVe also completed the ZTM python course and found it very helpful, How are you getting along?

  • @maver1que
    @maver1que 8 หลายเดือนก่อน +26

    Regarding your CSV example, you could use pandas and collapse all that code to about a couple of lines

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

      Came here to say this.

  • @nicolotiraboschi
    @nicolotiraboschi 10 หลายเดือนก่อน +61

    "Let's say you're saving 5 thousand dollars a month". Yeah, let's say that. 😂

    • @tanandtrent
      @tanandtrent 8 หลายเดือนก่อน +2

      lmao 😂😂

  • @abdulhannan-lg6kb
    @abdulhannan-lg6kb 8 หลายเดือนก่อน +88

    Never broadcast you API key to tens of thousands of people.. Anyway here is my API_KEY proceeds to show it🤣🤣

    • @Rgibson08
      @Rgibson08 7 หลายเดือนก่อน +3

      I literally saw the key on both his code and mailgun dashboard and was like, “surely he’s aware of this, right? He probably resets it after the video is published…”. Then he does his disclaimer about never sharing this info.

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

      Either that was an oversight or he is surpassing all of our combined brainpower by dozens of dimensions

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

      He’ll deactivate after the video obviously lol

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

      It's obviously a joke, "never broadcast it to tens of thousands of people online".
      What do you think he's referring to huh?

  • @Thebigballoon22995
    @Thebigballoon22995 ปีที่แล้ว +7

    I think it would be better to rewrite the “rows” as “columns” as the age,name, amount tags fall under a respective column (vertical row) with the data laying below it

  • @justapugontheinternet
    @justapugontheinternet 9 หลายเดือนก่อน +3

    Working with excel or csv files is easier with pandas. Just makes more sense

  • @KimMcCumber
    @KimMcCumber ปีที่แล้ว +16

    I just discovered your content a few days ago (I'm a little over a week into learning Python, so very new to it). Love your content and definitely planning to hop into the Masterclass. Will there be any content around data analysis and machine learning? Those are two topics that I'm specifically interested in.

    • @InternetMadeCoder
      @InternetMadeCoder  ปีที่แล้ว +5

      Yes there will eventually be a module on that :). For now, I have put a roadmap for data science and machine learning inside the course.

  • @wrightsolution
    @wrightsolution ปีที่แล้ว +3

    can you do it for c++ beginners? Your videos are inspiring me so much. Thankyou.

  • @robertogimenez8590
    @robertogimenez8590 ปีที่แล้ว +5

    Hey Tuomas! Been following a few months now, great content and perspective!
    I am finishing the Harvard CS50 Introduction to computer science courses and I do want to continue learning code and get a developer / SWE job as fast as possible. Do you think is a good option to sign up for your course? or is it better if I wait for you to release new courses / find other courses that maybe you recommend in your channel? (I've done all the CS50 practices and labs exercises until now but do not have a "real project" or portfolio yet).
    Thanks!

    • @InternetMadeCoder
      @InternetMadeCoder  ปีที่แล้ว +1

      Hi, I think your best path forward now is to go and build a real project with the skills you have got from those courses. My course will have a lot of stuff that is useful like project ideas, CV guides and interview guides and in the future modules on project building & web dev so you can sign up for it if you think that is helpful. If you sign up now, you get the cheapest price & access to future courses when they come out.
      But this is not the most important thing. In any case, you should focus on building projects rather than doing more courses.

  • @-hackers_industry
    @-hackers_industry ปีที่แล้ว +42

    Everyone boss till u actually start coding... 8-)

    • @jerzyzbiaowiezy6249
      @jerzyzbiaowiezy6249 ปีที่แล้ว

      Your code can fail only, if you run it. :)
      No need to compile & run :)

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

      Heh .. I am going to write my own OS to rival and overtake Windows, in Python. That is my project.....

  • @joseduarte1240
    @joseduarte1240 4 หลายเดือนก่อน +1

    How to create a portfolio hands on, you have some youtube, like github project how to implement in there for the portfolio or cv?

  • @weedfreer
    @weedfreer 7 หลายเดือนก่อน

    I notice that you don't use the 'try, except, else' form of the try method.
    As someone getting into python programming myself, is there a reason for this?
    I find it helps to make sure that the code is better contained as a result, and, also makes sure that the code following your except isnt arbitrarily just executed if there was an error.
    Is it overkill or are there specific reasons why you would use it?

  • @gaga40
    @gaga40 ปีที่แล้ว +4

    Can you please do more python Automation Projects and a tutorial series for HTML, CSS, Javascript and creating real life wevsites. love your channel btw.

  • @skytechbits
    @skytechbits 10 หลายเดือนก่อน +2

    Wow! I want that job. Who is able to save that much? lol

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

    Nice...
    Thanks fo' the tips.

  • @datamonster3212
    @datamonster3212 ปีที่แล้ว +2

    For idea 2 perhaps you could use a dictionary for the file extensions instead of three lists. Then you wouldn't need three almost identical functions for each file type.

  • @kapibara2440
    @kapibara2440 ปีที่แล้ว +1

    Interesting video my friend!

  • @renukakyawal
    @renukakyawal ปีที่แล้ว +1

    It is very useful, actually I am learning python......it is very useful to me

  • @andrescorrea9640
    @andrescorrea9640 ปีที่แล้ว +1

    Thanks, great video!

  • @bozok1903
    @bozok1903 ปีที่แล้ว

    Thanks a lot. If there are more videos like this I'd love to see them too.

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

    how do you get the csv file of the transaction, can you provide any ? for learning purposes

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

    The CSV manipulation is done 10x harder than it needs to be.... can just dot reference the columns with the column $_.name and just parse it out.... then do your simple math sum.... then i wont even comment on your next functions everything is way to complicated when you can have wild cards and regular expressions and just concatenate.... your coding is extremely hard to read and more complicated than it needs to be there is much easier ways to do it

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

      Do provide your version of improved code for the argument to stick better

  • @geee7672
    @geee7672 10 หลายเดือนก่อน

    ....if I would ask you for a specific automation in a particular software, would you take me through it?

  • @CodingAsmr-004
    @CodingAsmr-004 ปีที่แล้ว +2

    Like Literally Thomas you’re the best thanks a lot for the information and the great ideas you’re giving us I’ve been a big fan and a subscriber since the beginning and I don’t regret it at all ❤️

  • @sudo_nym
    @sudo_nym ปีที่แล้ว

    So much to learn from!!

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

    Nice vid! Btw, is it just me or there was really a shadow by the window at 3:57?

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

      Paranormal activity caught in camera...

  • @HArish-x2A1
    @HArish-x2A1 ปีที่แล้ว

    which theme are you using ?

  • @PamelaDuncan-d7f
    @PamelaDuncan-d7f 11 หลายเดือนก่อน +1

    cool video)

  • @dominikszobak9890
    @dominikszobak9890 ปีที่แล้ว

    Hi, how to run this code from IDEA 2? Should it work in background or somethig?

  • @mdrakib6047
    @mdrakib6047 ปีที่แล้ว

    I loved your video❤❤😊.
    I'm from Bangladesh.. Can you please make another video for javascript..🥺

  • @EileenGeorge-c4f
    @EileenGeorge-c4f 8 หลายเดือนก่อน

    cool video)

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

    2. Is literally AUTOMATIC ITEM SORTER in Minecraft.

  • @andyn6053
    @andyn6053 9 หลายเดือนก่อน +2

    Or you just ask chat gpt to build the scripts for you!

    • @InternetMadeCoder
      @InternetMadeCoder  9 หลายเดือนก่อน +1

      or that!

    • @jasonking1284
      @jasonking1284 2 หลายเดือนก่อน +1

      Real tough guys prototype it in Python then write the final code in assembler. But that takes years of hard training to get to that level. Train hard. Don't be a wimp ....

  • @chetcoyote89
    @chetcoyote89 ปีที่แล้ว +1

    The only value I got from this was your IP lop please tell me your on a VPN or tor

  • @MartinSvandaDeveloper
    @MartinSvandaDeveloper 9 หลายเดือนก่อน

    Just NEVER make randomShi!Doin .
    5 minutes later :
    Here you can see me doing randomShi!Doin.
    :D :D :D :D :D :D :D
    Exactly like me when i teach something to my kids xDDDDD

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

    Stop watching after the first one. It’s just so far from best practice it hurt my head. Read the csv into a pandas dataframe. Slice it for the three variables you want, re-assign and apply a sum method to get your total transaction value. Done. Faster to code and faster to execute.
    Why over-complicate it with clunky, inefficient code?

  • @Asparuh.Emilov
    @Asparuh.Emilov 6 หลายเดือนก่อน

    Bro, wtf? Defining a function to read a cav and not using pandas instead? Really?

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

      He's tougher than you and can handle doing real work....

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

    I’m sorry but except for number 3, and maybe number 2, none of these are automations, they’re just programs. I’ve seen other videos from you, and you keep using the word automation and your viewers are misled, especially those who are beginners. I know you get more views by using cool words like “automations” instead of boring “programs” but you’re doing more harm than good.

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

    Very crappy boring ideas

  • @Master_of_Chess_Shorts
    @Master_of_Chess_Shorts 9 หลายเดือนก่อน

    Great video, here are some improvements on your very useful code:
    from os import scandir, rename
    from os.path import exists, join, splitext
    from shutil import move
    import logging
    # Configuration
    source_dir = ""
    dest_dirs = {
    "audio_sfx": "",
    "audio_music": "",
    "video": "",
    "image": "",
    "document": "",
    }
    # Supported file types
    file_extensions = {
    "image": [".jpg", ".jpeg", ".png", ".gif", ".webp", ".tiff", ".psd", ".bmp", ".heif", ".svg", ".ico"],
    "video": [".webm", ".mpg", ".mp4", ".avi", ".wmv", ".mov", ".flv"],
    "audio": [".m4a", ".flac", ".mp3", ".wav", ".wma", ".aac"],
    "document": [".doc", ".docx", ".odt", ".pdf", ".xls", ".xlsx", ".ppt", ".pptx"],
    }
    def make_unique(dest, name):
    filename, extension = splitext(name)
    counter = 1
    while exists(join(dest, name)):
    name = f"{filename}({counter}){extension}"
    counter += 1
    return name
    def move_file(dest, entry):
    name = entry.name
    dest_path = join(dest, name)
    if exists(dest_path):
    name = make_unique(dest, name)
    dest_path = join(dest, name)
    move(entry.path, dest_path)
    logging.info(f"Moved {entry.path} to {dest_path}")
    def get_destination_dir(name, size):
    lower_name = name.lower()
    for file_type, extensions in file_extensions.items():
    if any(lower_name.endswith(ext) for ext in extensions):
    if file_type == "audio":
    if size < 10_000_000 or "SFX" in lower_name:
    return dest_dirs["audio_sfx"]
    else:
    return dest_dirs["audio_music"]
    return dest_dirs[file_type]
    return None
    def on_cleaner():
    with scandir(source_dir) as entries:
    for entry in entries:
    if entry.is_file():
    dest = get_destination_dir(entry.name, entry.stat().st_size)
    if dest:
    move_file(dest, entry)
    if __name__ == "__main__":
    logging.basicConfig(level=logging.INFO)
    on_cleaner()

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

      Stop copy pasting ChatGPT and stick to your chess and allow real programmers to show you how it's done by sweat and hand....