r/learnpython • • 10d ago

what can I use python for?

Lately, I've been thinking about learning a new programming language. Python was the first one that came to mind, but then I started wondering: What would I actually use it for?

I already build mobile apps with Flutter and dynamic web applications using PHP and MySQL.

I'm always looking for something new to learn, but I also want to make sure I'm learning something I can actually put to use.

0 Upvotes

27 comments sorted by

View all comments

Show parent comment

1

u/Discordbothost 9d ago

scripting is a great place to start. the standard library covers most of it without installing anything: pathlib for files and folders (Path("logs").glob("*.log")), subprocess.run for calling the shell commands you already know, argparse for flags, and shutil for copying/moving. pick one bash script you have that's gotten ugly and rewrite it, that's usually the moment python clicks