Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 99023

Visual Studio Code - No such file or directory

$
0
0

I have a problem with Visual Studio Code. I want to code with Python. I have installed the newest version of Python. I have installed Python extension on Visual Studio Code. I create file with .py extension (sample.py) and write first line of code to se if it's working.

so I write:

print("lalalalala")

and the result in terminal was:

Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS C:\Users\Michał\Desktop\Python>& D:/Python/python.exe c:/Users/Micha/Desktop/Python/sample.py D:\Python\python.exe: can't open file 'c:/Users/Micha/Desktop/Python/sample.py': [Errno 2] No such file or directory PS C:\Users\Michał\Desktop\Python>

How can I fix it?


Viewing all articles
Browse latest Browse all 99023

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>