this post was submitted on 14 Nov 2024
30 points (100.0% liked)

Programming

17432 readers
224 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
 

My SO is interested in learning Python because she hopes it becomes useful in her work. She works with ArcGIS and/or QGIS and apparently it supports Python scripting so she's thinking about giving it a go.

She has no programming background so I was hoping you friends could suggest something for absolute beginners that would teach her both the Python and programming basics. It doesn't have to be very comprehensive, just something to get her started.

She has managed to get some scripts working through copy/pasting and minor adjustments but she lacks the foundations to really build a script of her own.

Thanks a lot!!

top 12 comments
sorted by: hot top controversial new old
[–] moonpiedumplings@programming.dev 2 points 2 days ago* (last edited 2 days ago)
[–] MorphiusFaydal@lemmy.world 16 points 3 days ago (1 children)

Automate the Boring Stuff with Python

Free to read on the authors website - https://automatetheboringstuff.com

[–] pathief@lemmy.world 1 points 3 days ago* (last edited 2 days ago)

Looks great, thanks a bunch! EDIT: ordered it! :D

[–] ProdigalFrog@slrpnk.net 2 points 2 days ago* (last edited 2 days ago)

Python Crash Course by Eric Matthes is a supremely good book to start with for an absolute beginner, and I would recommend it over Automate the boring stuff (that would be a great followup though!).

It assumes absolutely no prior knowledge, explains concepts extremely clearly, never presents too much to overwhelm and frustrate beginners, and includes a good range of projects that should interest any perspective programmer.

[–] a1studmuffin@aussie.zone 4 points 2 days ago

The official Python tutorial is very well written and is suitable for total beginners:

https://docs.python.org/3/tutorial/

[–] starshipwinepineapple@programming.dev 5 points 3 days ago* (last edited 3 days ago) (1 children)

Second the Automate The Boring Stuff recommendation, especially if you're looking for a physical gift (or free online as mentioned)

Id also just in general recommend CS50-python as a free course for python. Engaging lectures, problem sets you can check your solutions, and you finish with a project of your own choosing. No programming background is needed. Don't buy a verified certificate, the whole course is free along with a free certificate

[–] pathief@lemmy.world 2 points 2 days ago

especially if you’re looking for a physical gift

Yep, it's a git! :)

[–] Kache@lemm.ee 2 points 2 days ago

absolute beginner? Start at https://www.hedycode.com/

Which will ultimately lead into vanilla Python. This is the creator explaining why Hedy is uniquely designed for learning: https://www.youtube.com/watch?v=fmF7HpU_-9k

[–] ericjmorey@programming.dev 2 points 2 days ago* (last edited 2 days ago)

These two are my favorite balance of fundamentals and getting to purposeful application as quickly as possible (the first link is definitely not enough, but combined with the second she should be comfortable with the syntax and able to get basic things working):
https://www.kaggle.com/learn/intro-to-programming
https://www.kaggle.com/learn/python

This one takes its time with fundamentals and includes some projects to put them in context of building something. It's presented on Google Colab and Jupyter notebooks: https://allendowney.github.io/ThinkPython/

Working with GIS data means cleaning data. This one covers that and a lot of common analysis tools and techniques. But it assumes a bit of programming knowledge (Good to follow up after one of the options above): https://wesmckinney.com/book/

[–] umami_wasbi@lemmy.ml 2 points 3 days ago

Starting out with Python by Tony Graddis

I read the 3rd edition in library, now it's 6th. Don't know if it is as good as the memory serves.

[–] AA5B@lemmy.world 2 points 3 days ago

She’s off to a great start! Most non-programmers starting off with python that I’ve seen are confused by the soaring and indexing rules, so can never get copy-pasted code to work

My older son always rebelled against programming, mostly because i thought he’d be great at it, but finally had to pick up some for a college class, I don’t know, stats or something. He became the programmer genius getting half the class to succeed, just because I drilled him on spacing and indenting

[–] frankenswine@lemmy.world -1 points 3 days ago