Importing from __main__ should cause auto completion like normal imports #15716
-
Seeing a I was writing a python based executable with external modules that grab standard python modules from |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Which language server are you using? And are you saying you named a package |
Beta Was this translation helpful? Give feedback.
Which language server are you using? And are you saying you named a package
__main__
? If so then that's actually going to have some unforeseen consequences with Python itself as the__main__
name has special meaning and is expected to be a (sub)module, not a package.