Answer the question
In order to leave comments, you need to log in
How to enable variable hints in python code in VSCode or PyCharm?
There is this code:
import urllib.request
resp = urllib.request.urlopen('https://google.ru')
print(resp)
Answer the question
In order to leave comments, you need to log in
Use type annotations until they are shipped to the IDE:
import urllib.request
from http.client import HTTPResponse
resp: HTTPResponse = urllib.request.urlopen("https://google.ru")
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question