print() has been a function since Python 2.6; the old behaviour was
dropped in Python 3.0.
To use the named file argument in Python 2, we need to import
print_function from the future module.
Differential D3229
[Python 3] Use print() as function instead of statement Authored by sicherha on Jan 8 2022, 10:37 AM. Project Tags None Referenced Files None Subscribers None
Details print() has been a function since Python 2.6; the old behaviour was To use the named file argument in Python 2, we need to import
Diff Detail
|