Download Vim for free. Vim - the ubiquitous text editor. Vim is a highly configurable, keyboard-driven text editor designed to make creating and editing text extremely efficient. It is based on the classic vi editor and comes preinstalled as “vi” on most UNIX systems and macOS.
Petr Jakes wrote:[color=blue]
> http://www.pspad.com/en/
>
> Petr Jakes
>[/color]
Windows provides the perfectly usable Notepad which, while not perfect
for Python, is quite good enough to get started.
The Save dialog box allows the user to select an encoding, including UTF-8.
Radek Kubicek wrote:[color=blue][color=green]
> > What editor shall I use if my Python script must contain utf-8
> > characters?
> > I use XP[/color]
>
> vim :-)
>[color=green]
> > Thank you for reply
> > l.b.[/color]
>
> not for all :-)[/color]
I myself have just begun using vim. Does anyone have any
tips/convenient tweaks for python programming with it?
> I myself have just begun using vim. Does anyone have any[color=blue]
> tips/convenient tweaks for python programming with it?[/color]
For python programming several settings can make life far less
painful (assuming you like 4-spaces-per-tab) :
set ai ts=4 sw=4 et
or
set ai ts=4 sw=4 noet
(depending on whether you prefer tabs or spaces...just be consistent)
Setting 'ai' puts vim in "autoindent " mode.
Setting 'ts' sets how many spaces are considered an a tab
Setting 'sw' sets how many spaces-worth a shift does
Setting 'et' sets the 'expandtab' property. When set, it expands
typed tabs as spaces. When unset ('noexpandtab') , tabs aren't
touched.
You might also search the "scripts" or "tips" section of www.vim.org for "python" and see what sorts of scripts, tips, and
plugins are available to supercharge your python-coding in vim.
Additionally, the vim mailing list is one of the best I've been
on--regularly on-topic, with friendly folk, accurate answers,
fairly fast replies, and some great minds to tap.
Dylan Moreland wrote:[color=blue]
> I myself have just begun using vim. Does anyone have any
> tips/convenient tweaks for python programming with it?[/color]
EnhancedComment ify, ShowFunc, spacehi, svncommand, and pythonhelper are
nice Vim plugins to use with Python. They can all be found on vim.org.
Lad schrieb:[color=blue]
> What editor shall I use if my Python script must contain utf-8
> characters?
> I use XP[/color]
An extremely capable, easy to use and small editor is Neil
Hodgson's SciTE. It's my favorite editor on Windows and Linux.
There is a Windows installer at
Lad wrote:[color=blue]
> What editor shall I use if my Python script must contain utf-8
> characters?
> I use XP
> Thank you for reply
> l.b.
>[/color]
I like PyScripter, although it's much more than an editor.
You might want to have a look at the Python Wiki - it has lots of good
information. One topic of interest is on what editors you can use with
Python http://wiki.python.org/moin/PythonEditors
Otherwise asking a question like "what editor should I use" will invariably
generate a response based on what each individual is "happy" with - not
necessarily the best editor from your perspective at all! :-) For example, I
use Emacs - have done so for 15+ years now. AFAIK it is an excellent editing
platform for Python development - but then it is an excellent platform for
any language development I have ever used :-).
Goodluck in your search,
Peter
"Lad" <python@hope.cz > wrote in message
news:1139410110 .389122.215400@ z14g2000cwz.goo glegroups.com.. .[color=blue]
> What editor shall I use if my Python script must contain utf-8
> characters?
> I use XP
> Thank you for reply
> l.b.
>[/color]
On 8 Feb 2006 06:48:30 -0800, Lad wrote:
[color=blue]
> What editor shall I use if my Python script must contain utf-8
> characters?
> I use XP[/color]
Comment