12 Jan
2013
12 Jan
'13
1:27 a.m.
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 StarParticles to import that code as a module. I fixed this in my installation by adding: import sys sys.path.insert(0, ' ') to 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. -Andrew Myers