I used the following line to try and add a vector shapefile to my qgis map, though it gives me "invalid layer" errors. Does anyone see something I don't?
iface.addVectorLayer(r"/Users/pgcseismolab/Desktop/jaden_pgc_archive/Wells/WD/Shapefiles/wd_14/wd14.shp","test","ogr")
I'm fairly new to python- do I have to define a variable before running this command? *on Mac OSX