I recently updated my yt installation, and I noticed that the current working directory no longer gets added to the module search path when running yt in interactive shell mode. So, if "StarParticles.py" is a file in my current working directory, I can't just type
import StarParticlesto import that code as a module. I fixed this in my installation by adding:
import systo the top of the bin/iyt script, but not sure what the right way to do this more generally is, so I just thought I'd bring this to people's attention.
sys.path.insert(0, ' ')