code: def rerun(version="3.7.0"):
      
      from commandlib import Command
  
      Command(DIR.gen.joinpath("py{0}".format(version), "bin", "python"))(
          DIR.gen.joinpath("state", "examplepythoncode.py")
      ).in_dir(DIR.gen.joinpath("state")).run()
docs: Rerun last example code block with specified version of python.