Hi folks!
Short:
There is a way to dumplicate a module ?
I tried
copy.deepcopy(m odule) but hangs with an error (also with standard modules )..
The only solution that I have by now is creating two files and importing them.
I.E:[color=blue]
> cp module.py module1.py[/color]
[color=blue][color=green]
>> import module
>> import module1[/color][/color]
Any Ideas?
P.S: I know that there is some design Issue here, but my boss says no :)
Misto
Short:
There is a way to dumplicate a module ?
I tried
copy.deepcopy(m odule) but hangs with an error (also with standard modules )..
The only solution that I have by now is creating two files and importing them.
I.E:[color=blue]
> cp module.py module1.py[/color]
[color=blue][color=green]
>> import module
>> import module1[/color][/color]
Any Ideas?
P.S: I know that there is some design Issue here, but my boss says no :)
Misto
Comment