Visual Studio Code – Numpy on VScode Windows 11
So basically I am just starting out coding and I need to install numpy on my computer and I want to have in on VScode cause that is my editor of choice. I have noticed though that unless I am…
So basically I am just starting out coding and I need to install numpy on my computer and I want to have in on VScode cause that is my editor of choice. I have noticed though that unless I am…
I need type hints for the sake of autocomplete in VSCODE. I have following: # a.py class A: def __init__(self): self.B = B(self) # b.py from a import A # I NEED TO IMPORT A HERE SO I CAN REFER…
Lately I was doing some ML stuff with Python using scikit-learn package. I wanted to use make_blobs() function so I began writing code for example: X, y = make_blobs(n_samples=m, centers=2, n_features=2, center_box=(80, 100)) and of course this is fine. However…
When I use StreamReader` for some reason the file I use isn't read. can I get any help? I tried deleting the file and putting it in again but it didn't work
My code is running perfeclty with no errors from python shell but in VS Code IDE it is highlighting geeks[i] = None as error and giving the above(title) as problem/error. Python: geeks = [6, 0, 4, 1] i = 0…
I only want certain cells and certain cell outputs to show up when I export my Juypter Notebook from VSCode. I have not been able to get an answer that works from Google, StackOverflow, and ChatGPT. So when I export…
I am currently transforming xml to html with an xslt stylesheet. I use VS Code with the XSLT/XPath extension and have a tasks.json to do the transformation. It works fine for a single xml file, but I actually have multiple…
I am a complete beginner at Python and am going through the CS50P tutorial. The tutorial just went through match commands, and as I tried to run a program including match on VS Code an error message appeared telling me…
I have an issue where my code-lines wrap to the next line too soon and there's a weird empty margin on the right side of my editor, which takes up useless space. I thought it was the minimap at first,…
I ran docker container prune, but after attaching it to my new container, I still see the old container in the explorer pane in VSCode. And I do not see the new container in the explorer pane. And if I…