r/learnpython • • Jan 23 '20

How difficult would it be to self-teach myself python? More as a hobby than a job.

323 Upvotes

127 comments sorted by

View all comments

Show parent comments

6

u/shortBYND Jan 24 '20

I think that really depends on your engagement level, ability to retain info, and time available to put in.

0

u/[deleted] Jan 24 '20

[deleted]

2

u/[deleted] Jan 24 '20

With any programming language it's going to be different depending on the demands of the job. I think what u/shortBYND meant is that learning it as a hobby can be as difficult as you'd like. You could go into depth further than you would in any job. However the level of difficulty in learning the language will be the same whether for a hobby or job, because it's the same language either way.

2

u/Dikkens_iRacing Jan 24 '20

It's 11 diffibytes harder.

2

u/tobiasvl tobiasvl Jan 24 '20

OK, it'll take you exactly 3 months.

1

u/[deleted] Jan 24 '20

[removed] — view removed comment

1

u/tobiasvl tobiasvl Jan 25 '20

Libraries and scripts, yes, absolutely. But surely hobbyists use libraries all the time, and I'm not sure what you mean by "scripts" in this context (Python is often considered a scripting language itself, and that's probably what most hobbyists use it for, especially those who have read Automate the Boring Tasks).

HTML is used with many different backend languages (it's not a programming language itself, but many programming languages will generate HTML), so at least some knowledge about that and CSS are probably needed in any web-focused job.

Maybe it'd help if you explained what kind of stuff you use Python for as a hobby? Because I'm not sure I understand what line you're trying to draw between hobby and professional here.

If you don't do object oriented programming in your hobby stuff, then that's definitely something to learn. Database libraries are nice to look into, like PsycoPG, most professional software will probably use them. Take a look at something like Django to see what working with a really advanced library/framework looks like. Try to set up an API endpoint with Flask. Most importantly, write clean code that you can show to other people and expect them to understand what it does easily.