79692687

Date: 2025-07-07 10:23:18
Score: 1
Natty:
Report link

For it to run on all operating systems I would use the following:

import os
path = os.path.join(os.path.dirname(__file__), "plots.py")
os.system(f"py {plots.py}")

However


import os

os.system('py ./plots.py')

Seems to be the easiest solution on Ubuntu.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Giorgi Kupradze