You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nice and useful work ! just this little annoying detail which prevents me from writing files: the "open" builtin is masked by the "open" boolean from the package when using Python 2.7.8
foo = open("foo.txt")
Traceback (most recent call last):
File "", line 1, in
TypeError: 'bool' object is not callable
I am totally new to python, thus i just fixed this by renaming globally "open"
regards,
Yves
The text was updated successfully, but these errors were encountered:
Locally renaming open is probably the best fix for now. I'd like to keep the source close to the upstream mathematica for now to make it easy to compare the implementation. Eventually, I plan on doing a new version that is more python like.
nice and useful work ! just this little annoying detail which prevents me from writing files: the "open" builtin is masked by the "open" boolean from the package when using Python 2.7.8
The text was updated successfully, but these errors were encountered: