#๐Ÿ”’ uh i think i deleted something imp

53 messages ยท Page 1 of 1 (latest)

oak rivetBOT
#

@tidal cipher

Python help channel opened

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.

coral crypt
#

that's indeed weird, I'm curious how you got yourself in the situation

tidal cipher
#

i uhhh

#

i was you know hovering over it and i didnt know what this was and uh yea selected all somehow got deleted

sinful cosmos
#

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 ั–?

void tulip
#

Looks like your configured python sdk is missing

tidal cipher
#

noo

#

so uh i was hovering over

#

print

#

and something like a windows popped up where like lots of weird code was there

#

and i uh mistakenly deleted

coral crypt
#

perhaps undelete from the recycle bin if you're lucky enough to find anything

void tulip
#

you can't delete print accidentally. It isn't written in python

tidal cipher
#

wait lmme check

void tulip
#

The fix is to recreate your venv

coral crypt
#

or as an individual I would delete and reinstall python,

which I do not suggest cuz there might be better solutions

visual olive
#

does it say in the bottom right of vscode what python version you're using?

tidal cipher
#

ya wait

quick minnow
tidal cipher
#

3.12.5

#

64 bit

#

everything is showing undefined

#

ig i deleteed the whole python code lmao

void tulip
#

So reinstall pycharm?

tidal cipher
#

pycharm?

#

wait

void tulip
#

oh, this is vscode.

coral crypt
#

yup

void tulip
#

reinstall pylance

quick minnow
sinful cosmos
coral crypt
#

does your code run or is it only showing warnings?

tidal cipher
#

everything is showing like undefined

#

print and all

void tulip
#

But does it run?

tidal cipher
#

lemme check

#

it does

void tulip
#

Then reinstall the pylance extension

tidal cipher
#

but everything is undefined

#

ok

sinful cosmos
#

Pylance uses stub files, .pyi, from project known as typeshed.
So reinstalling pylance would probably fix those stub files

tidal cipher
#

ohk its fixed

#

thanks

#

its fixed

oak rivetBOT
#

:warning: The owner of this post is no longer in the server.

coral crypt
eager nest
#

Imagine leaving python discord

#

(I can't)

coral crypt
#

cuz you're a damn admin

oak rivetBOT
#
Python help channel closed

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.