Message229890
Problem with print()
I did the following by accident while in the python console, print = 10, which it let me do, to horror.after that I could not use the print() command without getting the following error:-
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: 'int' object is not callable
This is what I type in the console.
print = 33
a = 34
print(a)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: 'int' object is not callable.
The only way to get the print command back was close and reopen the console. |
|
Date |
User |
Action |
Args |
2014-10-23 19:03:16 | gazza7364 | set | recipients:
+ gazza7364 |
2014-10-23 19:03:16 | gazza7364 | set | messageid: <1414090996.4.0.97787020472.issue22713@psf.upfronthosting.co.za> |
2014-10-23 19:03:16 | gazza7364 | link | issue22713 messages |
2014-10-23 19:03:16 | gazza7364 | create | |
|