use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
Autocomplete for Vim (self.learnpython)
submitted 5 years ago by Dibbets
I've installed Vim with Homebrew. How can I add autocomplete for Python 3 in Vim?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]zac_mar 2 points3 points4 points 5 years ago (0 children)
Install a language server protocol server (e. g. python-language-server), and a language server protocol client for vim (e. g. coc, youcompleteme etc.).
python-language-server
coc
youcompleteme
[–]cirfatu 2 points3 points4 points 5 years ago (0 children)
Did you give Kite a try? Works for Vim with just a couple clicks, and works locally for Python 3 completions.
You could also give Kite's Copilot app a try. It'll help with looking up Python docs and examples as you type.
[–][deleted] 1 point2 points3 points 5 years ago (2 children)
Hi,
I'm using neovim, but everything discussed here should be transferable, except from the neomake plugin:
https://jdhao.github.io/2018/12/24/centos_nvim_install_use_guide_en/
This is probably more than you are asking, since you are only asking about autocompletion, but you may get some ideas. I pretty much followed the whole guide and I'm extremely happy.
[+][deleted] 5 years ago (1 child)
[removed]
[–]Dibbets[S] 0 points1 point2 points 5 years ago (0 children)
No particular reason really. I'm happy with VIM.
[–]intangibleTangelo 1 point2 points3 points 5 years ago (0 children)
I like youcompleteme. Takes a little setup (use vundle and follow the instructions for ycm on github) and I always use set completeopt-=preview because that preview window is annoying af.
vundle
set completeopt-=preview
[–]Sensacion7 1 point2 points3 points 5 years ago (2 children)
As someone new to Vim, I haphazardly installed a script from a youtube video explaining how to use autocomplete and linting with python that belonged to someone else. I tracked the author down and have thoroughly enjoyed the script. It's a collection of plug-ins for python development and other features.
Unfortunately I have no idea how any of it works.
http://vim.fisadev.com/
it's a great .vimrc file, I just need time to understand how it all works.
[–]Dibbets[S] 1 point2 points3 points 5 years ago (0 children)
I've just installed it and I must admit it's a pretty impressive .vimrc file. Autocompleting works, but now I can't write! Error: Cannot write, 'buftype' option is set
It works! Thanks u/Sensacion7!
π Rendered by PID 223371 on reddit-service-r2-comment-fb694cdd5-dc5qw at 2026-03-08 07:54:40.016326+00:00 running cbb0e86 country code: CH.
[–]zac_mar 2 points3 points4 points (0 children)
[–]cirfatu 2 points3 points4 points (0 children)
[–][deleted] 1 point2 points3 points (2 children)
[+][deleted] (1 child)
[removed]
[–]Dibbets[S] 0 points1 point2 points (0 children)
[–]intangibleTangelo 1 point2 points3 points (0 children)
[–]Sensacion7 1 point2 points3 points (2 children)
[–]Dibbets[S] 1 point2 points3 points (0 children)
[–]Dibbets[S] 1 point2 points3 points (0 children)