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

  • GBU_28@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    15 hours ago

    Get the basics locked.in before dipping into GIS.

    Edit, because someone misunderstood me… You’ll have an easier time extending your existing GIS work by getting a nice foundation of non GIS python skills.

    There’s a lot of odd patterns and domain specific requirements in the spatial data world, not even mentioning the nasty beast that esri is.

    Provided you listen to my above advice, here are some other keywords that will help excite the home-gis dev: geopandas, (pandas), geojson, geopackage, QGIS, leaflet (not python but easy to connect a leaflet frontend with a python backend), openstreermaps, map box, earthexplorer (USGS free aerial imagery of lots of imagery types)

    If it must be esri based, arcpy is a popular library.

    • pathief@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      3 hours ago

      The short term goal is only to learn the absolute basics of programming. I only mentioned GIS to give some context on why I was narrowing down the language to python.

      She’s familiar with all the keywords you mentioned as she already works in GIS, just not as a developer.

      • GBU_28@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        3 hours ago

        Sweet I’d say automate the boring stuff is excellent.

        My meaning was python plus those things is an awesome world of hobby and professional development, that’s all. Lots of great projects can be even greater with python