473,320 Members | 1,846 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

What editor shall I use?

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
16 1881
> 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
Lad
is vim for XP?

Feb 8 '06 #3
Lad
I did not find where I can set encoding type in vim

Feb 8 '06 #4
http://www.pspad.com/en/

Petr Jakes

Feb 8 '06 #5
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
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
I use JEdit and I like it very much.

http://www.jedit.org/

Uros

Feb 8 '06 #8

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
> 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
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
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
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Chris Cioffi | last post by:
I started writing this list because I wanted to have definite points to base a comparison on and as the starting point of writing something myself. After looking around, I think it would be a...
9
by: Stud Muffin | last post by:
Hey Basically, I'm trying to take objects created in microsoft word using equation editor (for creating clean looking math/physics equations) and putting them into some sort of webpage format....
121
by: typingcat | last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so on. I've tried many PHP IDEs today, but almost non of them supported Unicode (UTF-8) file. I've found that the only Unicode...
18
by: Razvan | last post by:
Hi! What is the purpose of such a function ? int function(void)
15
by: damian birchler | last post by:
Hi I'm wondering of what type a structure is. Of course, it is a _structure_, but an array isn't an _array_ either. So of what type is a structure? I'd say a pointer, am I right?
86
by: Randy Yates | last post by:
In Harbison and Steele's text (fourth edition, p.111) it is stated, The C language does not specify the range of integers that the integral types will represent, except ot say that type int may...
13
by: Manoj Kumar P | last post by:
Hi, Can anyone tell me a good python editor/IDE? It would be great if you can provide the download link also. Thank You, -Manoj- "SASKEN RATED Among THE Top 3 BEST COMPANIES TO WORK FOR...
14
by: rsine | last post by:
I did a recent post about what the standard was for naming a string builder object. My concern was that I did not what to use "str" prefix since this is used for strings but did not know what to...
6
by: Peter Lee | last post by:
what's the correct behaver about the following code ? ( C++ standard ) I got a very strange result.... class MyClass { public: MyClass(const char* p) { printf("ctor p=%s\n", p);
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.