I've been working on some moderninzation of the old netgpib scripts for getting measurements over gpib from various instruments (right now, only the SR785). I thought these might be useful to others, so the code is here: https://github.com/dorot3a/instrument_gpib
Some updates include generally fixing outdated python2 syntax and dependencies, an option to take multiple different frequency spectra in succession, better plotting, etc.