a guest Oct 10th, 2019 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Traceback (most recent call last):
  2.   File "c:\Users\eod\.vscode\extensions\ms-python.python-2019.10.41019\pythonFiles\", line 43, in <module>
  3.     main(ptvsdArgs)
  4.   File "c:\Users\eod\.vscode\extensions\ms-python.python-2019.10.41019\pythonFiles\lib\python\old_ptvsd\ptvsd\", line 432, in main
  5.     run()
  6.   File "c:\Users\eod\.vscode\extensions\ms-python.python-2019.10.41019\pythonFiles\lib\python\old_ptvsd\ptvsd\", line 316, in run_file
  7.     runpy.run_path(target, run_name='__main__')
  8.   File "C:\Users\eod\AppData\Local\Programs\Python\Python37-32\lib\", line 261, in run_path
  9.     code, fname = _get_code_from_file(run_name, path_name)
  10.   File "C:\Users\eod\AppData\Local\Programs\Python\Python37-32\lib\", line 236, in _get_code_from_file
  11.     code = compile(, fname, 'exec')
  12.   File "c:\Users\eod\Documents\IT\", line 1
  13.     open('C:\Users\eod\Desktop\emelie.txt', 'r') as infile: #this opens the file and uses infile as the variable
  14.                                                   ^
  15. SyntaxError: invalid syntax
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand