r/learnpython • • Sep 18 '23

Why does Python seem so complicated?

First, a little background. I've been using Excel for ages now, about 15 years now with a large increase in the last 5 years. Mainly functions and visuals, a small bit of optimization and a tiny bit of VBA. I'm more than comfortable with vlookup, and our work computers aren't updated so I haven't had much opportunity to use xlookup. I've made things with the sort, filter, and offset function to include conditional formatting as study aides for GRE study resource. Within my current field, I'm considered a wizard, however, against true wizards I'd be a novice. But I can use it very efficiently and relatively easily.

I'm in the process of switching careers, and as part of that I'm learning Python. I'm in a course that had us do some courses in DataCamp to help learn Python. I completed the courses, but it was mainly brute forcing my way through. I'm going back through and trying to recreate much of the items we went over to make sure I 'get it'.

I've been using ChatGPT to help me along the way, and I can generally get what I need, but I have no understanding of what I'm actually doing. And that's my problem. In Excel, I understood exactly what I was doing and could effectively trouble shoot any issue I ran into.

With Python, I'm stuck using ChatGPT, and if ChatGPT can't solve it then I can't seem to do anything. It just doesn't make sense to me. I have numpy, pandas, openpxl installed. I even tried doing some web scraping with selenium, which I was able to get it to open a web page, but nothing beyond that. That one I was definitely reaching too far on, and I get that, but I use it to show I feel like I'm a decent trouble shooter.

Maybe I'm overestimating my abilities, but I just cant get an understanding of how to effectively use Python. I feel like I have to envision every single aspect of what I'm doing, and as someone who isn't a very visual thinker, that basically means I need a separate log of anything I'm doing before I do anything. And the feels anti-productive.

I loaded a file into Python and there are two columns of data I was trying to turn into arrays. That took me like an hour to get done and I ended up turning them into values rather than arrays. Actually, I suppose it was a bit of both, but it just seems needlessly complicated to try and understand what I'm doing.

How do you keep track of what you're doing? Using things like .head I thought might be helpful, but there are mixes of blank and empty data. It has over 2000 rows and a quick visual of it makes it even more complicated to look at it. Is it best just to accept I'll use ChatGPT without understanding?

0 Upvotes

47 comments sorted by

View all comments

Show parent comments

1

u/minvestem Sep 18 '23

Practice, where? There's lots of people offering video courses out there, but not many exercises.

2

u/Naive_Programmer_232 Sep 18 '23

That’s the other tricky part. You need to make up the exercises or find something interesting you’d like to do that is about your skill level. And more often than not, even simple ideas can be complicated in terms of what needs to be done. That standard has been set for years it’s a thing we’ve all been around and played a part in, using different software and apps. But yeah that’s a tricky situation cause you don’t know what you don’t know and yet you’re trying to progress without overwhelming yourself.

1

u/minvestem Sep 19 '23

I'm aware of the difficulty, that's why I asked.

1

u/Naive_Programmer_232 Sep 19 '23

Regardless of difficulty, the whole programming learning thing is about self-teaching. No matter which way you wanna spin it, there is no one resource to learn from. There's always a diversity. I even went to college for comp sci, same thing there. It's a thing you just need to learn to deal with. Constant, real learning, is something tech professionals need to roll with afaik that's just how it is. Teach yourself, or you can't adapt and bust. That's the game.

2

u/minvestem Sep 20 '23

Again, I'm well aware, I've done courses, many of them, there's never much to practice on, sometimes nothing at all. So, where do I find stuff to practice on.

It's all well and good telling us to do the blindingly obvious. How? Where?

1

u/Naive_Programmer_232 Sep 20 '23

You make stuff up to practice on. Come up with ideas of stuff you’d like to make and build them. And you also practice leetcode and those sorts of problems as they’re common for interviews. That’s about what I’ve gathered.

2

u/minvestem Sep 20 '23

As the person who originally asked the question pointed out in a fair amount of detail, building things you are interested in is a very lopsided, uneven, unpredictable way to approach this.

Interview questions I can see being useful, though limited, but I'll be having a search for leetcode.

Basically you're unaware of any better suggestion? You still pointed it out as something we should be doing despite as far as you're aware there being nowhere it CAN be done?

Forgive me for being confused and remaining frustrated.

1

u/Naive_Programmer_232 Sep 21 '23 edited Sep 21 '23

I guess I’m not that helpful. I’m sorry, I tried. I realize now my response doesn’t really make sense with this post. Maybe I was confused haha. Sorry about that