Guest User

Untitled

a guest
May 20th, 2018
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. if Run.run == 0:
  2. error()
  3. else:
  4. start()
  5.  
  6. AttributeError("module 'boot' has no attribute 'bootup'",)
  7.  
  8. #Imports
  9. import Run
  10.  
  11. #Varibles
  12. name = "PyOS"
  13. version = 1
  14. creator = "© Dragon Softwares"
  15.  
  16. def bootup(run):
  17. if Run.run == 0:
  18. error()
  19. else:
  20. start()
  21.  
  22.  
  23. def start():
  24. print("Starting PyOS")
  25. print("Version ", version)
  26.  
  27. def error():
  28. print("Please Run 'Run.py' To bootup the system")
  29.  
  30. bootup()
  31.  
  32. #Imports
  33. import time
  34. import boot
  35.  
  36. #Varibles
  37. run = 0
  38.  
  39. def main():
  40. run = 1
  41. time.sleep(0.1)
  42. boot.bootup
  43. main()
Add Comment
Please, Sign In to add comment