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.
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
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.
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!
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.
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?
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.
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.
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
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 ❤️
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 ....
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
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?
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.
1. csv manipulation
2. desktop cleaner
3. email sender
4. google drive file uploader
5. investing/wealth caluclator
Thank you for your service!
thank you soldier
thank you
That is the output of your Python automated Video Narration Summarizer script. Impressive.....
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!
Nice work!
IVe also completed the ZTM python course and found it very helpful, How are you getting along?
Regarding your CSV example, you could use pandas and collapse all that code to about a couple of lines
Came here to say this.
"Let's say you're saving 5 thousand dollars a month". Yeah, let's say that. 😂
lmao 😂😂
Never broadcast you API key to tens of thousands of people.. Anyway here is my API_KEY proceeds to show it🤣🤣
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.
Either that was an oversight or he is surpassing all of our combined brainpower by dozens of dimensions
He’ll deactivate after the video obviously lol
It's obviously a joke, "never broadcast it to tens of thousands of people online".
What do you think he's referring to huh?
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
Working with excel or csv files is easier with pandas. Just makes more sense
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.
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.
can you do it for c++ beginners? Your videos are inspiring me so much. Thankyou.
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!
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.
Everyone boss till u actually start coding... 8-)
Your code can fail only, if you run it. :)
No need to compile & run :)
Heh .. I am going to write my own OS to rival and overtake Windows, in Python. That is my project.....
How to create a portfolio hands on, you have some youtube, like github project how to implement in there for the portfolio or cv?
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?
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.
Wow! I want that job. Who is able to save that much? lol
Nice...
Thanks fo' the tips.
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.
true
Interesting video my friend!
It is very useful, actually I am learning python......it is very useful to me
Glad to hear that
Thanks, great video!
Glad you liked it!
Thanks a lot. If there are more videos like this I'd love to see them too.
In the description
how do you get the csv file of the transaction, can you provide any ? for learning purposes
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
Do provide your version of improved code for the argument to stick better
....if I would ask you for a specific automation in a particular software, would you take me through it?
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 ❤️
Happy to help!
So much to learn from!!
Nice vid! Btw, is it just me or there was really a shadow by the window at 3:57?
Paranormal activity caught in camera...
which theme are you using ?
cool video)
Hi, how to run this code from IDEA 2? Should it work in background or somethig?
I loved your video❤❤😊.
I'm from Bangladesh.. Can you please make another video for javascript..🥺
cool video)
2. Is literally AUTOMATIC ITEM SORTER in Minecraft.
Or you just ask chat gpt to build the scripts for you!
or that!
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 ....
The only value I got from this was your IP lop please tell me your on a VPN or tor
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
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?
Bro, wtf? Defining a function to read a cav and not using pandas instead? Really?
He's tougher than you and can handle doing real work....
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.
Very crappy boring ideas
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()
Stop copy pasting ChatGPT and stick to your chess and allow real programmers to show you how it's done by sweat and hand....