Hi, I use pyscripter for coding, it supports auto-completion. So, when I say:
a = []
a.
It gives me all the list functions. similarly with strings I do b=''.
But for file type, I have to use file. and choose the function and write it's arguments and then replace file with the variable name.
Is there a way to declare a variable type explicitly in python, so that my IDE can be more useful?