阅读背景:

如何告诉Python脚本(cygwin)在当前(或相对)目录中工作?

来源:互联网 

I have lots of directories with text files written using (g)vim, and I have written a handful of utilities that I find useful in Python. I start off the utilities with a pound-bang-/usr/bin/env python line in order to use the Python that is installed under cygwin. I would like to type commands like this:I have lots of directories with text files writ




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: