make you python file executable
If you want to call it as sleep rather than sleep.py, then you can add the .PY extension to your PATHEXT environment variable. In XP, you can edit it in:My Computer → Properties (menu) → Advanced (tab) → Environment Variables (button) → System variables (frame)
页:
[1]