Advertisement
Techmo

PythonOS_5_eret.py

Feb 26th, 2014
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.51 KB | None | 0 0
  1. #File must be named 'eret.py'
  2. #Must be in the same directory as 'kernel.py' and 'interp.py'
  3. #You must have pycrypto installed on your computer
  4. #Python version must be python 2.7
  5. #DO NOT RUN THIS FILE run the file 'kernel.py'
  6. #This script is made to run on a unix terminal. the clear screen commands may not match.
  7. __author__ = 'Brad'
  8. import os
  9. import time
  10.  
  11. def errorcodes(code):
  12.     if code == 1:
  13.         return"Cannot view/modify system files"
  14.     if code == 2:
  15.         return"Failed to send/receive message"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement