On Wed, Mar 05, 2014 at 10:53:46PM -0800, שולמית מירל wrote:
> execfile(configfile,globals())
You could replace the above line in cvstop4lib.py with the following:
exec(open(configfile).read(), globals())
signature.asc
Description: GnuPG Digital Signature
--
https://mail.python.org/mailman
I tried first to run the script under 2.6 version, but than the "argparse" was
missing. I couldn't find python 2.7 for unix download
--
https://mail.python.org/mailman/listinfo/python-list
בתאריך יום חמישי, 6 במרץ 2014 10:26:34 UTC+2, מאת Ned Deily: > In article
, ?AIOE??OE?I
wrote: > We have python 2.6 & 3.2 installed on Sun
solaris. > When running py utility, we get the below error: > > "NameError:
global name 'execfile' is not defined" > > > > p4convert-cvs.py > EXCEPTION:
[
In article ,
Ned Deily wrote:
> execfile() no long exists in Python 3 so chances are you are trying to
> run a Python 3 program with Python 2. Try running the script explicitly
> under Python 2:
Er, "trying to run a Python 2 program with Python 3", of course.
--
Ned Deily,
n...@acm.org
-
In article ,
?AIOE??OE?I wrote:
> We have python 2.6 & 3.2 installed on Sun solaris.
> When running py utility, we get the below error:
>
> "NameError: global name 'execfile' is not defined"
>
>
> > p4convert-cvs.py
> EXCEPTION: [Errno 17] File exists: './LOGS'
> Traceback (most recent call la
On Wed, 05 Mar 2014 22:53:46 -0800, שולמית מירל wrote:
> Hello,
>
> We have python 2.6 & 3.2 installed on Sun solaris. When running py
> utility, we get the below error:
>
> "NameError: global name 'execfile' is not defined"
Sounds like you are accidentally running a script intended for Python2
Hello,
We have python 2.6 & 3.2 installed on Sun solaris.
When running py utility, we get the below error:
"NameError: global name 'execfile' is not defined"
> p4convert-cvs.py
EXCEPTION: [Errno 17] File exists: './LOGS'
Traceback (most recent call last):
File "p4convert-cvs.py", line 134, in