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