Home > Back-end >  Can't use Wget in VSCode due to Invalid Syntax Error Message
Can't use Wget in VSCode due to Invalid Syntax Error Message

Time:05-04

i'm trying to use the following code, but it continues to show me invalid syntax.

!wget -O file_name.csv https://website.com/file_name.csv

Can anyone offer any guidance?

CodePudding user response:

That "!" syntax is a feature of Jupyter. It's not part of Python, and it's not part of VSCode. You can use the terminal window in VSCode to enter your wget command (without the "!").

CodePudding user response:

Ensure you use the correct shell firstly.

And delete the "!" before wget. I can't understand why "!" was added before the wget command.

  • Related