> mapping in vi[m] that does ``:!sh -x %'' to test scripts, and I would like > to have the same think work for python as it now does for shell and perl. > > The perl version starts out something like: > > #!/usr/local/bin/perl > eval ' exec /usr/local/bin/perl -....' I'm no perl hacker but does execfile() do what you need? Alan G