![]() ![]() To get to that file, in vscode (mac) cmd+shift+P – type ‘ task’ – select ‘ configure task runner’, and edit the file to point the “ command” at “ python3”, and the (command line) args to point at $. I reached out to sent me to the wiki that kinda helped, but not quite… Configure VS Code for Python3Īfter a lot of poking around and going down rabbit holes, I found the solution, you need to tweak the tasks.json file to tell it to use Python V3. ![]() Using V2, no hassle, but V3 … nope … and dig as I might, I couldn’t find what settings to change. Since this Python script contains a main function, you can click an icon in the gutter. Use either of the following ways to run your code: Right-click the editor and select Run 'Car' from the context menu. I love Visual Studio Code, really – it’s the longest lasting fav thing I’ve had, like, for evah! … I used to hack on Sublime, but I deleted it last week (for evah) in favor of vs code … it's the business.Īnyway, my love for it aside – I was starting some R&D the other day using it, and couldn’t get the darn thing to play nice with the latest version of Python. At this point, you're ready to run your first Python application in P圜harm. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |