Python: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 32: Line 32:


<!-- Table of Contents will be generated here -->
<!-- Table of Contents will be generated here -->
==Upgrade from 2.7 to 3.7==
Since Python version 2.7 has reached end of life since January first 2020, this version is no longer installed on our [[System Image]]. Standard is now: Python 3.7 64-bits.
If you still have scripts written in Python2, the scripts should be upgraded to Python 3. Most changes are probably the print statements. Print statements should always have parentheses: print('some text')
Key differences between Python 2 and Python 3 are here: https://sebastianraschka.com/Articles/2014_python_2_3_key_diff.html
For our previous documentation for Python 2.7, see [[Python/Legacy]]


==Psychopy==
==Psychopy==