
Code completion isn’t magic; it just feels that way
The Stack Overflow Podcast
00:00
Code Completion in Python
In agto complete, what you've got is a string of code with the curser somewhere in it. What you can do is replace that curser with a magic symbol and then just feed that string to the pasa generator. The pasa will produce an a s t representing your half written programme. And when you hit the curser, you can get a list of sensible completion because by then, you know what's going on.
Transcript
Play full episode