5 Amazing Ways to Automate Your Life using Python

Поделиться
HTML-код
  • Опубликовано: 27 сен 2024

Комментарии • 70

  • @akashreddyjammula
    @akashreddyjammula Год назад +227

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

    • @ikadar
      @ikadar 7 месяцев назад +4

      Thank you for your service!

    • @---fq2bk
      @---fq2bk 3 месяца назад +1

      thank you soldier

    • @JavArButt
      @JavArButt 2 месяца назад

      thank you

    • @jasonking1284
      @jasonking1284 27 дней назад

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

  • @nicolotiraboschi
    @nicolotiraboschi 8 месяцев назад +57

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

  • @Suxanes
    @Suxanes Год назад +32

    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 7 месяцев назад

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

  • @maver1que
    @maver1que 6 месяцев назад +23

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

  • @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.

  • @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

  • @abdulhannan-lg6kb
    @abdulhannan-lg6kb 6 месяцев назад +79

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

    • @Rgibson08
      @Rgibson08 5 месяцев назад +2

      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 4 месяца назад +1

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

    • @jainamshah7290
      @jainamshah7290 4 месяца назад +3

      He’ll deactivate after the video obviously lol

    • @fabiotucci3029
      @fabiotucci3029 3 месяца назад +4

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

    • @personofnote1571
      @personofnote1571 3 месяца назад

      Congratulations on a lame comment. You are smarter than everyone else 😂
      Surely it is just an example of what not to do and he changed it afterwards.

  • @justapugontheinternet
    @justapugontheinternet 7 месяцев назад +2

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

  • @-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 27 дней назад

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

  • @Toxder
    @Toxder 4 месяца назад +2

    Nice...
    Thanks fo' the tips.

  • @wrightsolution
    @wrightsolution Год назад +2

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

  • @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.

  • @robertogimenez8590
    @robertogimenez8590 Год назад +4

    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.

  • @Mavo1989
    @Mavo1989 4 месяца назад +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 2 месяца назад

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

  • @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 ❤️

  • @bozok1903
    @bozok1903 Год назад

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

  • @kapibara2440
    @kapibara2440 Год назад +1

    Interesting video my friend!

  • @sudo_nym
    @sudo_nym Год назад

    So much to learn from!!

  • @renukakyawal
    @renukakyawal Год назад +1

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

  • @joseduarte1240
    @joseduarte1240 2 месяца назад

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

  • @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.

  • @weedfreer
    @weedfreer 6 месяцев назад

    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?

  • @geee7672
    @geee7672 8 месяцев назад

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

  • @dominikszobak9890
    @dominikszobak9890 Год назад

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

  • @docSheikh
    @docSheikh 5 месяцев назад

    2. Is literally AUTOMATIC ITEM SORTER in Minecraft.

  • @ejayvicta3943
    @ejayvicta3943 3 месяца назад

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

    • @jasonking1284
      @jasonking1284 27 дней назад

      Paranormal activity caught in camera...

  • @HArish-x2A1
    @HArish-x2A1 Год назад

    which theme are you using ?

  • @chetcoyote89
    @chetcoyote89 Год назад +1

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

  • @andyn6053
    @andyn6053 7 месяцев назад +2

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

    • @InternetMadeCoder
      @InternetMadeCoder  7 месяцев назад +1

      or that!

    • @jasonking1284
      @jasonking1284 27 дней назад

      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 ....

  • @martinsvanda5874
    @martinsvanda5874 7 месяцев назад

    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

  • @Asparuh.Emilov
    @Asparuh.Emilov 4 месяца назад

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

    • @jasonking1284
      @jasonking1284 27 дней назад

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

  • @sammetal92
    @sammetal92 4 месяца назад

    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 4 месяца назад

    Very crappy boring ideas

  • @samoreilly2673
    @samoreilly2673 3 месяца назад

    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?

  • @skytechbits
    @skytechbits 8 месяцев назад +2

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

  • @mdrakib6047
    @mdrakib6047 Год назад

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

  • @augustononga
    @augustononga 4 месяца назад

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

  • @PamelaDuncan-d7f
    @PamelaDuncan-d7f 9 месяцев назад +1

    cool video)

  • @andrescorrea9640
    @andrescorrea9640 Год назад +1

    Thanks, great video!

  • @EileenGeorge-c4f
    @EileenGeorge-c4f 6 месяцев назад

    cool video)

  • @Master_of_Chess_Shorts
    @Master_of_Chess_Shorts 7 месяцев назад

    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 27 дней назад

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