Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. exec(open("file path on windows").read())
  2.  
  3. from C:Usersjose_Desktopmy_refstack_class.py import Stack #Error here
  4. foo = Stack()
  5.  
  6. print(type(foo))
  7.  
  8. File "C:/Users/jose_/OneDrive/Mis_Documentos/Educacion/Linkedin/Ex_Files_Python_Data_Structures_Queues/Exercise_Files/Ch02/02_02/End/main2.py", line 4
  9. from C:Usersjose_Desktopmy_refstack_class.py import Stack
  10. ^
  11. SyntaxError: invalid syntax
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement