Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- M110
- #! /usr/bin/python
- fo = open('status.html', 'w')
- info = '''
- <HTML>
- <HEAD>
- <meta http-equiv="refresh" content="60"> <!-- Refresh every 1 minute -->
- <TITLE>Machine Running</TITLE>
- </HEAD>
- <BODY>
- <p>Cutting Part</p>
- </BODY>
- </HTML>
- '''
- fo.write(info)
- fo.close
- M111
- #! /usr/bin/python
- fo = open('status.html', 'w')
- info = '''
- <HTML>
- <HEAD>
- <meta http-equiv="refresh" content="60"> <!-- Refresh every 1 minute -->
- <TITLE>Change Part</TITLE>
- </HEAD>
- <BODY>
- <p>Change Part!</p>
- </BODY>
- </HTML>
- '''
- fo.write(info)
- fo.close
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement