shell dot on steroids https://pagure.io/shellfu

test7 372B

1234567891011121314151617
  1. # tricks with strict and script # -S -s needs_strict -k py
  2. [needs_strict]
  3. py =#!/usr/bin/python
  4. py =
  5. py =
  6. py =class Myclass(object):
  7. py =
  8. py = def __init__(self, status="OK"):
  9. py = self.status = status
  10. py =
  11. py = def check(self):
  12. py = print "I guess I'm %s" % self.status
  13. py =
  14. py =
  15. py =if __name__ == "__main__":
  16. py = c = Myclass()
  17. py = c.check()