Problem 2294 - Plot scripts use Python 2
Summary: Plot scripts use Python 2
Status: ASSIGNED
Alias: None
Product: Examples/Extended
Classification: Unclassified
Component: eventgenerator/exgps (show other problems)
Version: 10.6
Hardware: All All
: P4 minor
Assignee: Laurent Desorgher
URL:
Depends on:
Blocks:
 
Reported: 2020-11-27 13:01 CET by Stephan Lachnit
Modified: 2022-03-04 11:19 CET (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description Stephan Lachnit 2020-11-27 13:01:25 CET
The shebang of macros/plotall.py, macros/plotfiles.py and plottest35.py is "#!/usr/bin/python", implying that these scripts will run with Python 2. Python 2 was marked EOL on 2020-01-01, and the release of Python 3 was in 2008. I think using Python 3 ("#!/usr/bin/python3") would be appropriate (haven't taken a look if these scripts need to be changed or if replacing the shebang is sufficient).
Comment 1 Ivana Hrivnacova 2022-03-04 11:19:29 CET
Assigning to the author of these scripts.