#๐ uh i think i deleted something imp
53 messages ยท Page 1 of 1 (latest)
@tidal cipher
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
that's indeed weird, I'm curious how you got yourself in the situation
i uhhh
i was you know hovering over it and i didnt know what this was and uh yea selected all somehow got deleted
Did you modify any files of the python standard library?
Are you also sure it's print and input and not trolling by one of your friends to e.g. change i to ั?
Looks like your configured python sdk is missing
noo
so uh i was hovering over
and something like a windows popped up where like lots of weird code was there
and i uh mistakenly deleted
perhaps undelete from the recycle bin if you're lucky enough to find anything
you can't delete print accidentally. It isn't written in python
wait lmme check
The fix is to recreate your venv
or as an individual I would delete and reinstall python,
which I do not suggest cuz there might be better solutions
does it say in the bottom right of vscode what python version you're using?
ya wait
Maybe typestub file for builtins?
3.12.5
64 bit
everything is showing undefined
ig i deleteed the whole python code lmao
So reinstall pycharm?
oh, this is vscode.
yup
reinstall pylance
lol
I think for such stuff the pyi file was opened for type hints (that's what PyCharm does for e.g. tkinter), deleting it from the type stub made the pylance think it's not in the files it knows
So the code would run, but the pylance will complain
does your code run or is it only showing warnings?
But does it run?
Then reinstall the pylance extension
Pylance uses stub files, .pyi, from project known as typeshed.
So reinstalling pylance would probably fix those stub files
:warning: The owner of this post is no longer in the server.
quite a rare species but not unsurprising
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.
