hiral wrote:
Hi,
I am doing following in my 'subprocess.py' file...
1 from __future__ import absolute_import
2 from subprocess import *
3 from subprocess import call as myCall
4 from subprocess import Popen as myPopen
5
6 def getProperCmd(cmd):
7 cmd += 'time' # this is just a
On Wed, 05 May 2010 03:34:06 -0700, hiral wrote:
> So how can I create a python file (with the same name as standard module
> name) with custom methods?
Don't do this. It will lead to nothing but trouble.
Python doesn't support multiple modules with the same name. Unless you
create a custom imp
Hi,
I am doing following in my 'subprocess.py' file...
1 from __future__ import absolute_import
2 from subprocess import *
3 from subprocess import call as myCall
4 from subprocess import Popen as myPopen
5
6 def getProperCmd(cmd):
7 cmd += 'time' # this is just an example; in f