By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,509 Members | 1,194 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,509 IT Pros & Developers. It's quick & easy.

What editor shall I use?

P: n/a
Lad
What editor shall I use if my Python script must contain utf-8
characters?
I use XP
Thank you for reply
l.b.

Feb 8 '06 #1
Share this Question
Share on Google+
16 Replies


P: n/a
> What editor shall I use if my Python script must contain utf-8
characters?
I use XP
vim :-)
Thank you for reply
l.b.


not for all :-)
Feb 8 '06 #2

P: n/a
Lad
is vim for XP?

Feb 8 '06 #3

P: n/a
Lad
I did not find where I can set encoding type in vim

Feb 8 '06 #4

P: n/a
http://www.pspad.com/en/

Petr Jakes

Feb 8 '06 #5

P: n/a
Lad wrote:
I did not find where I can set encoding type in vim


Google is your friend.

http://vim.sourceforge.net/scripts/s...?script_id=789
http://www.vim.org/tips/tip.php?tip_id=246
http://www.vim.org/htmldoc/mbyte.html
Feb 8 '06 #6

P: n/a
Petr Jakes wrote:
http://www.pspad.com/en/

Petr Jakes

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.

regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC www.holdenweb.com
PyCon TX 2006 www.python.org/pycon/

Feb 8 '06 #7

P: n/a
I use JEdit and I like it very much.

http://www.jedit.org/

Uros

Feb 8 '06 #8

P: n/a

Radek Kubicek wrote:
What editor shall I use if my Python script must contain utf-8
characters?
I use XP


vim :-)
Thank you for reply
l.b.


not for all :-)


I myself have just begun using vim. Does anyone have any
tips/convenient tweaks for python programming with it?

Feb 8 '06 #9

P: n/a
> I myself have just begun using vim. Does anyone have any
tips/convenient tweaks for python programming with it?


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.

http://www.vim.org/search.php

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.

http://www.vim.org/community.php

-tkc


Feb 8 '06 #10

P: n/a
Dylan Moreland wrote:
I myself have just begun using vim. Does anyone have any
tips/convenient tweaks for python programming with it?


EnhancedCommentify, ShowFunc, spacehi, svncommand, and pythonhelper are
nice Vim plugins to use with Python. They can all be found on vim.org.

Not Python-specific, but I highly recommend Steve Oualline's Vim book
(http://www.amazon.com/gp/product/0735710015).
--
Benji York
Feb 8 '06 #11

P: n/a
Lad schrieb:
What editor shall I use if my Python script must contain utf-8
characters?
I use XP


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

http://users.hfx.eastlink.ca/~gisdev...67-setup-3.exe

Peter Maas, Aachen
Feb 9 '06 #12

P: n/a
Lad wrote:
What editor shall I use if my Python script must contain utf-8
characters?
I use XP
Thank you for reply
l.b.

I like PyScripter, although it's much more than an editor.
http://mmm-experts.com/Products.aspx?ProductId=4

Colin W
Feb 9 '06 #13

P: n/a
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" <py****@hope.cz> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
What editor shall I use if my Python script must contain utf-8
characters?
I use XP
Thank you for reply
l.b.

Feb 10 '06 #14

P: n/a
On 8 Feb 2006 06:48:30 -0800, Lad wrote:
What editor shall I use if my Python script must contain utf-8
characters?
I use XP


The best (and free) are:

Eclipse http://www.eclipse.org/
with pydev http://pydev.sourceforge.net/

SPE http://pythonide.stani.be/

Eric3 http://www.die-offenbachs.de/detlev/eric3.html
win32 binary: http://www.quadgames.com/download/pythonqt/

All of them contain cool debugger and a lot of usefull options.

If you want only plain text editor, you can use SciTe, vim, Notepad++ or
whatever.

--
Jarosław Zabiełło
http://blog.zabiello.com
Feb 10 '06 #15

P: n/a
Peter Maas wrote:
Lad schrieb:
What editor shall I use if my Python script must contain utf-8
characters?
I use XP

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

http://users.hfx.eastlink.ca/~gisdev...67-setup-3.exe

Peter Maas, Aachen

Yes, Scite is an excellent editor for Windows or Linux, but PyScripter
[http://mmm-experts.com/Products.aspx?ProductID=4]
offers more, including call completion and call tips.

It's true that call completion is advertised with SciTE but I have
not been able to use it with Windows.

Colin W.
Feb 10 '06 #16

P: n/a
Lad wrote:
What editor shall I use if my Python script must contain utf-8
characters?


Also, don't overlook IDLE, the IDE that ships with python. I use it in my work every day. Once every three months or so I invest a day in looking for a better free python IDE/editor, and still after 3 years or so, I still haven't found anyhing that beats it.

Good luck!
/Joel
Feb 13 '06 #17

This discussion thread is closed

Replies have been disabled for this discussion.