r/learnpython • • Feb 20 '21

What are you having difficulty learning or are currently struggling to learn?

I'm curious what the community here has difficulty with when it comes to learning Python. Partly because I want to see if the more experienced community here (or myself) can help point you into the right direction. . . but also because I'm trying to come up with video tutorial ideas for future content and would love to hear from Python learners what would be most useful to dedicate our time on.

I'm looking forward to hearing what you guys have to say!

417 Upvotes

324 comments sorted by

View all comments

Show parent comments

6

u/[deleted] Feb 20 '21

Honestly unless you do complex pattern-matching all the time IMO it's not worth learning Regex in great detail. Basics yes but there's plenty of tools that'll do it for you. It's powerful but it's a coding language of its own, tbh.

And I feel like in many cases a more simple tool like grep in a bash script may be less of a headache unless, like I said, you need that advanced crap. Depends what you're doing tho.

2

u/pierraltaltal pierre-manchon Feb 21 '21

in my case regex allows me to match the naming convention of landsat's images to get more detailed data from it so i think it's the most straightforward to accomplish the task