What editor shall I use?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Lad

    #1

    What editor shall I use?

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

  • Radek Kubicek

    #2
    Re: What editor shall I use?

    > What editor shall I use if my Python script must contain utf-8[color=blue]
    > characters?
    > I use XP[/color]

    vim :-)
    [color=blue]
    > Thank you for reply
    > l.b.[/color]

    not for all :-)

    Comment

    • Lad

      #3
      Re: What editor shall I use?

      is vim for XP?

      Comment

      • Lad

        #4
        Re: What editor shall I use?

        I did not find where I can set encoding type in vim

        Comment

        • Petr Jakes

          #5
          Re: What editor shall I use?



          Petr Jakes

          Comment

          • Magnus Lycka

            #6
            Re: What editor shall I use?

            Lad wrote:[color=blue]
            > I did not find where I can set encoding type in vim[/color]

            Google is your friend.

            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.



            Comment

            • Steve Holden

              #7
              Re: What editor shall I use?

              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.

              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/

              Comment

              • utement@gmail.com

                #8
                Re: What editor shall I use?

                I use JEdit and I like it very much.



                Uros

                Comment

                • Dylan Moreland

                  #9
                  Re: What editor shall I use?


                  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?

                  Comment

                  • Tim Chase

                    #10
                    Re: What editor shall I use?

                    > 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.



                    -tkc






                    Comment

                    • Benji York

                      #11
                      Re: What editor shall I use?

                      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.

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

                      Comment

                      • Peter Maas

                        #12
                        Re: What editor shall I use?

                        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

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

                        Peter Maas, Aachen

                        Comment

                        • Colin J. Williams

                          #13
                          Re: What editor shall I use?

                          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.


                          Colin W

                          Comment

                          • Peter Milliken

                            #14
                            Re: What editor shall I use?

                            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]


                            Comment

                            • Jaroslaw Zabiello

                              #15
                              Re: What editor shall I use?

                              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]

                              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

                              Comment

                              Working...