You are not logged in.
Pages: 1
I'm learning python thru "learn pyhon the hard way". It use Vim, and I was wandering if I could do the same thing. Instead of gedit, I would like to use vim for my code in python 2 and 3. I google it but found nothing.
Last edited by j2lapoin (2015-08-15 15:07:35)
Offline
https://www.archlinux.org/packages/extra/i686/vim/ depends on python2 and https://www.archlinux.org/packages/extr … m-python3/ uses python3.
What exactly is the problem with writing python code in vim?
Offline
I just want to be able to code python2 and python3 in a gui like gvim. I saw gvim-python3 in the aur but i got to think it's only for python3. not for python2. I mean, if i want to code in Python2, should I just used a plain vim?
Last edited by j2lapoin (2015-08-15 15:01:17)
Offline
You can have only one version of python supported by vim/gvim.
Offline
okay that answer my question, I might just stick to python2 until I finish the book.
Offline
https://bbs.archlinux.org/viewtopic.php?id=186059
might have been interresting.
Offline
https://bbs.archlinux.org/viewtopic.php?id=186059
might have been interresting.
You still have https://gist.github.com/bendavis78/25b8c9cfba06d18e26fb
Offline
==> ERROR: install file (gvim.install) does not exist or is not a regular file.
Offline
Ask him if he can help you: https://bbs.archlinux.org/profile.php?id=82962
Offline
Sorry.
I may be wrong.
But I think "Python support" is for writing extensions for vim/gvim. This extensions can be Python 2 or Python 3.
If you want execute a python script from vim/gvim you can do:
:!python2 %
or (python 3)
:!python %
Because not all of us are native English speakers, try no to use slang or abbreviations, thank you.
Offline
Yup.
You can have both python 2 and python 3 installed on your Arch at the same time and you can write code for either version in vim, vi, nano and whatever editor you want.
Offline
Pages: 1