I like to start scripts using %run instead of from the shell, but this prevents the use of paths starting with ~ for my home directory.
This patch simply applies os.path.expanduser to sys.argv; there might be a better place and possibly a more complete expansion implementation, but this really scratches an itch.
simulate shell expansion on %run arguments, at least tilde expansion
That seems nice, thanks!
Merge PR #591