even stuff like help(int) seems to give me error in vs code terminal for python
help(int) int : The term 'int' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
correct and try again. At line:1 char:6 + help(int) + ~~~ + CategoryInfo : ObjectNotFound: (int:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
Other examples:
from dateline import date At line:1 char:1 + from dateline import date + ~~~~ The 'from' keyword is not supported in this version of the language. + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException + FullyQualifiedErrorId : ReservedKeywordNotAllowed
Although running this from the editor seems to be fine.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.