![]() ![]() Such as: -key1 value1 value2 -key2 value3 value4 Maybe try separating them like so… Single argument "args": I think the –City and Auckland are used as a single argument. Where am I wrong? How to solve the problem: Solution 1: In the terminal it is working, but not in Visual Studio Code. So: the same file, same path, and same argument. ![]() ![]() I’m using Visual Studio Code in order to debug a Python script.įollowing this guide, I set up the argument in the launch.json file:īut when I press on Debug, it says that my argument is not recognized and Visual Studio Code says:Īs Visual Studio Code is using PowerShell, let’s execute the same file with the same argument: Question or problem about Python programming: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |