Re: best text editor for programming Python on a Mac

2016-07-06 Thread jennifer . greeen
I don't know anything about editors for coding, but as a writer that often use text editors (and I have seen them a lot!) I'd suggest you browsing this review site where you can find some cool apps http://besttexteditor.com";>besttexteditor.com -- https://mail.python.org/mailman/listinfo/python

Re: best text editor for programming Python on a Mac

2016-07-06 Thread jennifer . greeen
субота, 18 червня 2016 р. 02:52:35 UTC+3 користувач Chris написав: > I have been trying to write a simple Hello World script on my Mac at work > with TextEdit. However, I keep getting this error message: > > SyntaxError: Non-ASCII character '\xe2' in hello_world.py on line 1, but no > encoding

Re: ASCII or Unicode? (was best text editor for programming Python on a Mac)

2016-06-22 Thread Lawrence D’Oliveiro
On Thursday, June 23, 2016 at 2:02:18 PM UTC+12, Rustom Mody wrote: > So remembered that there is one method -- yes clunky -- that I use most -- > forgot to mention -- C-x 8 RET > ie insert-char¹ > > Which takes the name (or hex) of the unicode char. A handy tool for looking up names and codes

Re: ASCII or Unicode? (was best text editor for programming Python on a Mac)

2016-06-22 Thread Rustom Mody
On Tuesday, June 21, 2016 at 7:27:00 PM UTC+5:30, Rustom Mody wrote: > >https://wiki.archlinux.org/index.php/Keyboard_configuration_i > >n_Xorg> -- no good You probably want this: https://wiki.archlinux.org/index.php/X_KeyBoard_extension#Editing_the_layout > > So Rustom, how do *you* prod

Re: ASCII or Unicode? (was best text editor for programming Python on a Mac)

2016-06-22 Thread Tim Chase
On 2016-06-22 00:55, Lawrence D’Oliveiro wrote: > On Wednesday, June 22, 2016 at 7:50:50 AM UTC+12, Tim Chase wrote: >> I have a ~/.XCompose file that contains something like > > You may find your custom XCompose is ignored by certain GUI apps. > This is because the GUI toolkits they are using nee

Re: ASCII or Unicode? (was best text editor for programming Python on a Mac)

2016-06-22 Thread Lawrence D’Oliveiro
On Wednesday, June 22, 2016 at 7:50:50 AM UTC+12, Tim Chase wrote: > > I have a ~/.XCompose file that contains something like > > include "%L" >: "😖" U1F616 # CONFOUNDED FACE >: "😛" U1F61B # FACE WITH > STUCK-OUT TONGUE: "😛" U1F61B # > FACE WIT

Re: ASCII or Unicode? (was best text editor for programming Python on a Mac)

2016-06-21 Thread Marko Rauhamaa
Tim Chase : > I have a ~/.XCompose file that contains something like My Fedora 23 setup has === BEGIN /etc/X11/xinit/xinitrc-common= [...] userxkbmap=$HOME/.Xkbmap [...] if [ -r "$userxkbmap" ]; then setxkbmap $(cat "$userxkbmap") XKB_IN_USE=yes fi [...] =

Re: ASCII or Unicode? (was best text editor for programming Python on a Mac)

2016-06-21 Thread Tim Chase
On 2016-06-21 21:56, Marko Rauhamaa wrote: > Rustom Mody : > > > Regarding xkb: > > > > Some good advice given to me by Yuri Khan on emacs list > > https://lists.gnu.org/archive/html/help-gnu-emacs/2015-01/msg00332.html > > Well, not quite: > >* Find the XKB data directory. [Normally, this >

Re: ASCII or Unicode? (was best text editor for programming Python on a Mac)

2016-06-21 Thread Marko Rauhamaa
Rustom Mody : > Regarding xkb: > > Some good advice given to me by Yuri Khan on emacs list > https://lists.gnu.org/archive/html/help-gnu-emacs/2015-01/msg00332.html Well, not quite: * Find the XKB data directory. [Normally, this is /usr/share/X11/xkb.] * In its “keycodes” subdirectory, cre

Re: ASCII or Unicode? (was best text editor for programming Python on a Mac)

2016-06-21 Thread Tim Chase
On 2016-06-21 11:35, Marko Rauhamaa wrote: > > These are all pretty easy to remember. > > German umlauts a" o" u" give ä ö ü (or use uppercase) > > Spanish eña (spelling?) and punctuations: n~ ?? !! --> ñ ¿ ¡ > > French accents: e' e` e^ c, --> é è ê ç > > Money: c= l- y- c/ --> € £ ¥ ¢ >

Re: ASCII or Unicode? (was best text editor for programming Python on a Mac)

2016-06-21 Thread Rustom Mody
On Tuesday, June 21, 2016 at 6:38:19 PM UTC+5:30, Marko Rauhamaa wrote: > A coworker of mine went through the trouble of doing the xmodmap > equivalent with setxkbmap. Thought of interviewing him about it one day. > > How-to's are really hard to come by: > >https://wiki.archlinux.org/index.ph

Re: ASCII or Unicode? (was best text editor for programming Python on a Mac)

2016-06-21 Thread Rustom Mody
On Tuesday, June 21, 2016 at 7:27:00 PM UTC+5:30, Rustom Mody wrote: > Emacs: : > Math: So far Ive used tex input method -- Not satisfactory After "Random832" pointed me to RFC1345 I checked that emacs has an RFC1345 input method. It may be nicer than tex input method -- need to check However like

Re: ASCII or Unicode? (was best text editor for programming Python on a Mac)

2016-06-21 Thread Rustom Mody
On Tuesday, June 21, 2016 at 6:38:19 PM UTC+5:30, Marko Rauhamaa wrote: > Rustom Mody : > > > On Tuesday, June 21, 2016 at 2:05:55 PM UTC+5:30, Marko Rauhamaa wrote: > >> (On the other hand, I have always specified my preferred keyboard > >> layout with .Xmodmap.) > > > > If this is being given as

Re: ASCII or Unicode? (was best text editor for programming Python on a Mac)

2016-06-21 Thread Marko Rauhamaa
Rustom Mody : > On Tuesday, June 21, 2016 at 2:05:55 PM UTC+5:30, Marko Rauhamaa wrote: >> (On the other hand, I have always specified my preferred keyboard >> layout with .Xmodmap.) > > If this is being given as advice I never gave it as advice. > its bad advice xmodmap is obsolete use xkb A c

Re: ASCII or Unicode? (was best text editor for programming Python on a Mac)

2016-06-21 Thread Rustom Mody
On Tuesday, June 21, 2016 at 2:05:55 PM UTC+5:30, Marko Rauhamaa wrote: > Larry Hudson : > > It sounds like you are almost, but not quite, describing the Linux > > Compose key. > > I have used Linux since the 1990's but don't know anything about "the > Linux Compose key." It used to be a real (a

Re: ASCII or Unicode? (was best text editor for programming Python on a Mac)

2016-06-21 Thread Marko Rauhamaa
Larry Hudson : > It sounds like you are almost, but not quite, describing the Linux > Compose key. I have used Linux since the 1990's but don't know anything about "the Linux Compose key." (On the other hand, I have always specified my preferred keyboard layout with .Xmodmap.) > These are all pre

Re: ASCII or Unicode? (was best text editor for programming Python on a Mac)

2016-06-21 Thread Larry Hudson via Python-list
On 06/19/2016 08:29 PM, Steven D'Aprano wrote: On Mon, 20 Jun 2016 12:07 pm, Rustom Mody wrote: [snip] In theory most Linux apps support an X mechanism for inserting characters that don't appear on the keyboard. Unfortunately, this gives no feedback when you get it wrong, and discoverablity is

Re: ASCII or Unicode? (was best text editor for programming Python on a Mac)

2016-06-20 Thread Rustom Mody
On Monday, June 20, 2016 at 8:30:25 PM UTC+5:30, Steven D'Aprano wrote: > On Tue, 21 Jun 2016 12:23 am, Grant Edwards wrote: > > > On 2016-06-20, Phil Boutros wrote: > [...] > >> Ctrl-K, =, ! (last two steps interchangeable). Done. Result: ≠ > > > > On any non-broken X11 system it's: = / >

Re: ASCII or Unicode? (was best text editor for programming Python on a Mac)

2016-06-20 Thread Steven D'Aprano
On Tue, 21 Jun 2016 12:23 am, Grant Edwards wrote: > On 2016-06-20, Phil Boutros wrote: [...] >> Ctrl-K, =, ! (last two steps interchangeable). Done. Result: ≠ > > On any non-broken X11 system it's: = / Nope, doesn't work for me. I guess I've got a "broken" X11 system. Oh, I did learn one

Re: ASCII or Unicode? (was best text editor for programming Python on a Mac)

2016-06-20 Thread Grant Edwards
On 2016-06-20, Phil Boutros wrote: > Steven D'Aprano wrote: >> >> Quote: >> >> "Why do we have to write x!=y then argue about the status of x<>y when we >> can simply write x≠y?" >> >> "Simply"? >> >> This is how I write x≠y from scratch: > > > To wrap this back full circle, here's how it's d

Re: best text editor for programming Python on a Mac

2016-06-20 Thread Christian Gollwitzer
Am 20.06.16 um 15:48 schrieb Rustom Mody: On Monday, June 20, 2016 at 7:06:57 PM UTC+5:30, Christian Gollwitzer wrote: Am 20.06.16 um 15:26 schrieb Random832: The point is that in vim you can't position the normal-mode cursor in such a way that inserted characters are inserted at the end of the

Re: ASCII or Unicode? (was best text editor for programming Python on a Mac)

2016-06-20 Thread Rustom Mody
On Monday, June 20, 2016 at 11:34:36 AM UTC+5:30, Random832 wrote: > On Mon, Jun 20, 2016, at 01:03, Rustom Mody wrote: > > > Ctrl-K, =, ! (last two steps interchangeable). Done. Result: ≠ > > > > Are these 'shortcuts' parameterizable? > > They originate from RFC 1345, with the extension that

Re: best text editor for programming Python on a Mac

2016-06-20 Thread Rustom Mody
On Monday, June 20, 2016 at 7:06:57 PM UTC+5:30, Christian Gollwitzer wrote: > Am 20.06.16 um 15:26 schrieb Random832: > > The point is that in vim you > > can't position the normal-mode cursor in such a way that inserted > > characters are inserted at the end of the line. > > But you can press i

Re: best text editor for programming Python on a Mac

2016-06-20 Thread Christian Gollwitzer
Am 20.06.16 um 15:26 schrieb Random832: The point is that in vim you can't position the normal-mode cursor in such a way that inserted characters are inserted at the end of the line. But you can press i at the end of the line, then arrow-right, which positions the cursor over the empty space a

Re: best text editor for programming Python on a Mac

2016-06-20 Thread Random832
On Sun, Jun 19, 2016, at 18:44, Gregory Ewing wrote: > Lawrence D’Oliveiro wrote: > > But not vi/vim. It only lets you place your cursor *on* a character, not > > *in-between* characters. > > That's because the terminals it was designed to work on > didn't have any way of displaying a cursor betwe

Re: ASCII or Unicode? (was best text editor for programming Python on a Mac)

2016-06-20 Thread Steven D'Aprano
On Monday 20 June 2016 17:57, Lawrence D’Oliveiro wrote: > On Monday, June 20, 2016 at 4:31:00 PM UTC+12, Phil Boutros wrote: >> >> Steven D'Aprano wrote: >>> >>> This is how I write x≠y from scratch: >> >> >> To wrap this back full circle, here's how it's done on vim: >> >> Ctrl-K, =, ! (l

Re: best text editor for programming Python on a Mac

2016-06-20 Thread alister
On Sun, 19 Jun 2016 07:23:15 -0600, Michael Torrie wrote: > On 06/19/2016 01:34 AM, Lawrence D’Oliveiro wrote: >> On Sunday, June 19, 2016 at 7:13:26 PM UTC+12, Christian Gollwitzer >> wrote: >> >>> Am 19.06.16 um 02:12 schrieb Lawrence D’Oliveiro: >>> But not vi/vim. It only lets you place

Re: ASCII or Unicode? (was best text editor for programming Python on a Mac)

2016-06-20 Thread Lawrence D’Oliveiro
On Monday, June 20, 2016 at 4:31:00 PM UTC+12, Phil Boutros wrote: > > Steven D'Aprano wrote: >> >> This is how I write x≠y from scratch: > > > To wrap this back full circle, here's how it's done on vim: > > Ctrl-K, =, ! (last two steps interchangeable). Done. Result: ≠ Standard Linux

Re: best text editor for programming Python on a Mac

2016-06-20 Thread Lawrence D’Oliveiro
On Monday, June 20, 2016 at 10:45:08 AM UTC+12, Gregory Ewing wrote: > > Lawrence D’Oliveiro wrote: > >> But not vi/vim. It only lets you place your cursor *on* a character, not >> *in-between* characters. > > That's because the terminals it was designed to work on > didn't have any way of display

Re: best text editor for programming Python on a Mac

2016-06-20 Thread Christian Gollwitzer
Am 20.06.16 um 00:15 schrieb Michael Torrie: On 06/19/2016 03:21 PM, Quivis wrote: On Sat, 18 Jun 2016 20:26:36 -0400, Joel Goldstick wrote: that it is on every linux system No, it isn't! I can be *installed* on every Linux system, but that a whole other can of worms. True vim is not. But

Re: ASCII or Unicode? (was best text editor for programming Python on a Mac)

2016-06-19 Thread Random832
On Mon, Jun 20, 2016, at 01:03, Rustom Mody wrote: > > Ctrl-K, =, ! (last two steps interchangeable). Done. Result: ≠ > > Are these 'shortcuts' parameterizable? They originate from RFC 1345, with the extension that they can be reversed if the reverse doesn't itself exist as a RFC 1345 combinat

Re: ASCII or Unicode? (was best text editor for programming Python on a Mac)

2016-06-19 Thread Rustom Mody
On Monday, June 20, 2016 at 10:01:00 AM UTC+5:30, Phil Boutros wrote: > Steven D'Aprano wrote: > > > > Quote: > > > > "Why do we have to write x!=y then argue about the status of x<>y when we > > can simply write x≠y?" > > > > "Simply"? > > > > This is how I write x≠y from scratch: > > > To

Re: best text editor for programming Python on a Mac

2016-06-19 Thread Tim Chase
On 2016-06-20 11:32, Steven D'Aprano wrote: > On Mon, 20 Jun 2016 04:58 am, Michael Torrie wrote: > > > When the cursor is over character, do command "ga" and it will > > show you the hex code for that character. > > > > http://vim.wikia.com/wiki/Showing_the_ASCII_value_of_the_current_character >

Re: ASCII or Unicode? (was best text editor for programming Python on a Mac)

2016-06-19 Thread Rustom Mody
On Monday, June 20, 2016 at 10:06:41 AM UTC+5:30, Rustom Mody wrote: > I have greater horror-stories to describe if you like > On my recent ubuntu upgrade my keyboard broke -- totally ie cant type > anything. > Here's a detailed rundown... > > Upgrade complete; reboot -- NO KEYBOARD -- Yikes > H

Re: ASCII or Unicode? (was best text editor for programming Python on a Mac)

2016-06-19 Thread Rustom Mody
On Monday, June 20, 2016 at 8:59:44 AM UTC+5:30, Steven D'Aprano wrote: > Without better tooling and more discoverability, non-ASCII characters as > syntax are an anti-feature. You need to decide which hat you have on - idealist - pragmatist From a pragmatic pov nothing you are saying below is a

Re: ASCII or Unicode? (was best text editor for programming Python on a Mac)

2016-06-19 Thread Phil Boutros
Steven D'Aprano wrote: > > Quote: > > "Why do we have to write x!=y then argue about the status of x<>y when we > can simply write x≠y?" > > "Simply"? > > This is how I write x≠y from scratch: To wrap this back full circle, here's how it's done on vim: Ctrl-K, =, ! (last two steps interch

Re: ASCII or Unicode? (was best text editor for programming Python on a Mac)

2016-06-19 Thread Steven D'Aprano
On Mon, 20 Jun 2016 12:07 pm, Rustom Mody wrote: > If python were to do more than lip service to REALLY being a unicode age > language why are things like this out of bounds even for discussion? > > http://blog.languager.org/2014/04/unicoded-python.html Quote: "Why do we have to write x!=y the

ASCII or Unicode? (was best text editor for programming Python on a Mac)

2016-06-19 Thread Rustom Mody
On Monday, June 20, 2016 at 7:03:01 AM UTC+5:30, Steven D'Aprano wrote: > On Mon, 20 Jun 2016 04:58 am, Michael Torrie wrote: > > > When the cursor is over character, do command "ga" and it will show you > > the hex code for that character. > > > > http://vim.wikia.com/wiki/Showing_the_ASCII_valu

Re: best text editor for programming Python on a Mac

2016-06-19 Thread Steven D'Aprano
On Mon, 20 Jun 2016 04:58 am, Michael Torrie wrote: > When the cursor is over character, do command "ga" and it will show you > the hex code for that character. > > http://vim.wikia.com/wiki/Showing_the_ASCII_value_of_the_current_character /me cries Every time somebody refers to "the ASCII valu

Re: best text editor for programming Python on a Mac

2016-06-19 Thread Gregory Ewing
Lawrence D’Oliveiro wrote: But not vi/vim. It only lets you place your cursor *on* a character, not *in-between* characters. That's because the terminals it was designed to work on didn't have any way of displaying a cursor between two characters. Emacs is the same (except it doesn't go as far

Re: best text editor for programming Python on a Mac

2016-06-19 Thread Gregory Ewing
Michael Vilain wrote: BBEdit has been around a long time and for it's price ($130) it does a lot but it's falling behind the times. New versions aren't really adding much in terms of new features. There's a free version of BBEdit called TextWrangler that's pretty good. I'm currently using it f

Re: best text editor for programming Python on a Mac

2016-06-19 Thread Michael Torrie
On 06/19/2016 03:21 PM, Quivis wrote: > On Sat, 18 Jun 2016 20:26:36 -0400, Joel Goldstick wrote: > >> that it is on every linux system > > No, it isn't! I can be *installed* on every Linux system, but that a > whole other can of worms. True vim is not. But vi should be. I'm not aware of any L

Re: best text editor for programming Python on a Mac

2016-06-19 Thread Michael Torrie
On 06/19/2016 12:06 PM, Christian Gollwitzer wrote: > Am 19.06.16 um 18:20 schrieb Rustom Mody: >> I gave an emacs solution to the issue not because I find editor-wars engaging >> but because I dont know how to do *this* with vi. >> I'd be surprised if vi actually cant do these: >> 1. Look under th

Re: best text editor for programming Python on a Mac

2016-06-19 Thread Michael Torrie
On 06/19/2016 10:20 AM, Rustom Mody wrote: > Yes the OP said he was using vim > And he could not handle a unicode encoding issue I missed that part! I somehow thought the unicode issues were coming from his use of the built-in Mac text editor. In any case, I have never had unicode problems with v

Re: best text editor for programming Python on a Mac

2016-06-19 Thread Rustom Mody
On Sunday, June 19, 2016 at 11:36:17 PM UTC+5:30, Christian Gollwitzer wrote: > Am 19.06.16 um 18:20 schrieb Rustom Mody: > > I gave an emacs solution to the issue not because I find editor-wars > > engaging > > but because I dont know how to do *this* with vi. > > I'd be surprised if vi actually

Re: best text editor for programming Python on a Mac

2016-06-19 Thread Christian Gollwitzer
Am 19.06.16 um 18:20 schrieb Rustom Mody: I gave an emacs solution to the issue not because I find editor-wars engaging but because I dont know how to do *this* with vi. I'd be surprised if vi actually cant do these: 1. Look under the unicode-hood to peek at what a char is -- C-u C-x = in emacs 2

Re: best text editor for programming Python on a Mac

2016-06-19 Thread Rustom Mody
On Sunday, June 19, 2016 at 6:49:55 PM UTC+5:30, Michael Torrie wrote: > On 06/19/2016 04:41 AM, Pete Forman wrote: > > Both emacs and vim are powerful tools in the hands of experienced users > > but I would recommend neither to someone starting out who is just > > looking for a code-aware editor.

Re: best text editor for programming Python on a Mac

2016-06-19 Thread Tim Chase
On 2016-06-18 22:56, Michael Torrie wrote: > And I got it wrong anyway. Both ed and vim either put the cursor > between characters (insert mode), or on the character (command > mode). Probably made sense at the time. Correct for vi/vim, but not ed which has no real concept of a characterwise "ins

Re: best text editor for programming Python on a Mac

2016-06-19 Thread Michael Torrie
On 06/19/2016 01:34 AM, Lawrence D’Oliveiro wrote: > On Sunday, June 19, 2016 at 7:13:26 PM UTC+12, Christian Gollwitzer wrote: > >> Am 19.06.16 um 02:12 schrieb Lawrence D’Oliveiro: >> >>> But not vi/vim. It only lets you place your cursor *on* a character, >>> not *in-between* characters. >> >>

Re: best text editor for programming Python on a Mac

2016-06-19 Thread Michael Torrie
On 06/19/2016 04:41 AM, Pete Forman wrote: > Both emacs and vim are powerful tools in the hands of experienced users > but I would recommend neither to someone starting out who is just > looking for a code-aware editor. In any case this doesn't matter here because the original poster already said

Re: best text editor for programming Python on a Mac

2016-06-19 Thread Marko Rauhamaa
Pete Forman : > Both emacs and vim are powerful tools in the hands of experienced > users but I would recommend neither to someone starting out who is > just looking for a code-aware editor. I don't know. I'm recommending emacs to everybody, especially the complete beginners, who don't yet have to

Re: best text editor for programming Python on a Mac

2016-06-19 Thread Pete Forman
Joel Goldstick writes: > On Sat, Jun 18, 2016 at 8:12 PM, Lawrence D’Oliveiro > wrote: >> On Sunday, June 19, 2016 at 11:07:23 AM UTC+12, Michael Torrie wrote: >>> >>> On 06/17/2016 05:52 PM, Chris via Python-list wrote: Any suggestions for a good open source text editor for the Mac ou

Re: best text editor for programming Python on a Mac

2016-06-19 Thread Christian Gollwitzer
Am 19.06.16 um 09:34 schrieb Lawrence D’Oliveiro: On Sunday, June 19, 2016 at 7:13:26 PM UTC+12, Christian Gollwitzer wrote: Am 19.06.16 um 02:12 schrieb Lawrence D’Oliveiro: But not vi/vim. It only lets you place your cursor *on* a character, not *in-between* characters. This is true if yo

Re: best text editor for programming Python on a Mac

2016-06-19 Thread Rustom Mody
On Sunday, June 19, 2016 at 1:04:37 PM UTC+5:30, Lawrence D’Oliveiro wrote: > On Sunday, June 19, 2016 at 7:13:26 PM UTC+12, Christian Gollwitzer wrote: > > > Am 19.06.16 um 02:12 schrieb Lawrence D’Oliveiro: > > > >> But not vi/vim. It only lets you place your cursor *on* a character, > >> not *i

Re: best text editor for programming Python on a Mac

2016-06-19 Thread Lawrence D’Oliveiro
On Sunday, June 19, 2016 at 7:13:26 PM UTC+12, Christian Gollwitzer wrote: > Am 19.06.16 um 02:12 schrieb Lawrence D’Oliveiro: > >> But not vi/vim. It only lets you place your cursor *on* a character, >> not *in-between* characters. > > This is true if you use the text-mode version. I prefer gvim

Re: best text editor for programming Python on a Mac

2016-06-19 Thread Christian Gollwitzer
Am 19.06.16 um 02:12 schrieb Lawrence D’Oliveiro: The trouble with vim/vi/whatever, is that it doesn’t work like any other editor on Earth. Pull up any old GUI-based editor you like, for example Windows (shudder) Notepad. If there are N characters in your file, then the insertion point can be pl

Re: best text editor for programming Python on a Mac

2016-06-18 Thread Lawrence D’Oliveiro
On Sunday, June 19, 2016 at 4:54:36 PM UTC+12, Michael Torrie wrote: > Two different ways of doing things. Let's not make the mistake of thinking one > way is necessarily better. When one leads to more complications, the answer is pretty clear... -- https://mail.python.org/mailman/listinfo/pytho

Re: best text editor for programming Python on a Mac

2016-06-18 Thread Michael Torrie
On 06/18/2016 08:51 PM, Lawrence D’Oliveiro wrote: > On Sunday, June 19, 2016 at 2:09:31 PM UTC+12, Michael Torrie wrote: >> It was later on that they figured out the N+1 thing you mentioned >> by ignoring the character cells: >> >> 0 1 2 3 4 5 6 7 8 9 10 H E L L O W O R L D >> >> That works well

Re: best text editor for programming Python on a Mac

2016-06-18 Thread Michael Torrie
On 06/18/2016 08:51 PM, Lawrence D’Oliveiro wrote: > On Sunday, June 19, 2016 at 2:09:31 PM UTC+12, Michael Torrie wrote: >> It was later on that they figured out the N+1 thing you mentioned by >> ignoring the character cells: >> >> 0 1 2 3 4 5 6 7 8 9 10 >> H E L L O W O R L D >> >> That works we

Re: best text editor for programming Python on a Mac

2016-06-18 Thread Lawrence D’Oliveiro
On Sunday, June 19, 2016 at 2:09:31 PM UTC+12, Michael Torrie wrote: > It was later on that they figured out the N+1 thing you mentioned by > ignoring the character cells: > > 0 1 2 3 4 5 6 7 8 9 10 > H E L L O W O R L D > > That works well for interactive editing, but it doesn't lend itself as

best text editor for programming Python on a Mac

2016-06-18 Thread drednot57
My go to python editor is Dr. Python. Coded in Python with the wxPython GUI library, but I use Linux. -- https://mail.python.org/mailman/listinfo/python-list

Re: best text editor for programming Python on a Mac

2016-06-18 Thread Michael Torrie
On 06/18/2016 06:12 PM, Lawrence D’Oliveiro wrote: > Pull up any old GUI-based editor you like, for example Windows > (shudder) Notepad. If there are N characters in your file, then the > insertion point can be placed at N + 1 positions: in-between two > adjacent characters, or before the first cha

Re: best text editor for programming Python on a Mac

2016-06-18 Thread Michael Torrie
On 06/18/2016 06:50 PM, Michael Torrie wrote: > On 06/18/2016 06:12 PM, Lawrence D’Oliveiro wrote: >> But not vi/vim. It only lets you place your cursor *on* a character, >> not *in-between* characters. That’s why you need two separate >> insertion commands, insert-before and insert-after. And one

Re: best text editor for programming Python on a Mac

2016-06-18 Thread Michael Torrie
On 06/18/2016 06:12 PM, Lawrence D’Oliveiro wrote: > On Sunday, June 19, 2016 at 11:07:23 AM UTC+12, Michael Torrie > wrote: >> >> On 06/17/2016 05:52 PM, Chris via Python-list wrote: >>> >>> Any suggestions for a good open source text editor for the Mac >>> out there? For now, I am going to sti

Re: best text editor for programming Python on a Mac

2016-06-18 Thread Joel Goldstick
On Sat, Jun 18, 2016 at 8:12 PM, Lawrence D’Oliveiro wrote: > On Sunday, June 19, 2016 at 11:07:23 AM UTC+12, Michael Torrie wrote: >> >> On 06/17/2016 05:52 PM, Chris via Python-list wrote: >>> >>> Any suggestions for a good open source text editor for the Mac out >>> there? For now, I am going

Re: best text editor for programming Python on a Mac

2016-06-18 Thread Lawrence D’Oliveiro
On Sunday, June 19, 2016 at 11:07:23 AM UTC+12, Michael Torrie wrote: > > On 06/17/2016 05:52 PM, Chris via Python-list wrote: >> >> Any suggestions for a good open source text editor for the Mac out >> there? For now, I am going to stick with vim. > > Good choice. The trouble with vim/vi/whatev

Re: best text editor for programming Python on a Mac

2016-06-18 Thread Michael Torrie
On 06/17/2016 05:52 PM, Chris via Python-list wrote: > Any suggestions for a good open source text editor for the Mac out > there? For now, I am going to stick with vim. Good choice. -- https://mail.python.org/mailman/listinfo/python-list

Re: best text editor for programming Python on a Mac

2016-06-18 Thread Rustom Mody
On Saturday, June 18, 2016 at 3:10:23 PM UTC+5:30, Marko Rauhamaa wrote: > Michael Vilain : > > > "best" is subjective. Anytime someone wants the "best", I ask "what > > features are important to you that would make it the best" because I'm > > pretty sure what I find important wouldn't be what th

best text editor for programming Python on a Mac

2016-06-18 Thread MrJean1
Try TextWrangler from BareBones . I've been using that for years on MacOS X. /Jean -- https://mail.python.org/mailman/listinfo/python-list

Re: best text editor for programming Python on a Mac

2016-06-18 Thread alister
On Sat, 18 Jun 2016 12:40:09 +0300, Marko Rauhamaa wrote: > >> - integrated documentation so you don't have to lookup the syntax and >> arguments of a function > > I have seen that in action with eclipse and Java. It could never match > having a web browser window next to the editor window: htt

Re: best text editor for programming Python on a Mac

2016-06-18 Thread Lawrence D’Oliveiro
On Saturday, June 18, 2016 at 9:40:23 PM UTC+12, Marko Rauhamaa wrote: > Michael Vilain: > >> - expansion of keywords, variables, subroutines Reminds me of a story by a local CompSci lecturer who originally learned Java through an IDE with autocomplete. Then one day he sat down to write some Ja

Re: best text editor for programming Python on a Mac

2016-06-18 Thread Marko Rauhamaa
Michael Vilain : > "best" is subjective. Anytime someone wants the "best", I ask "what > features are important to you that would make it the best" because I'm > pretty sure what I find important wouldn't be what they find > important. That's a bit like asking what gender, nationality and religio

Re: best text editor for programming Python on a Mac

2016-06-18 Thread Terry Reedy
On 6/18/2016 3:04 AM, Michael Vilain via Python-list wrote: In article , supp...@ecourierz.com wrote: use notepad++ To me, for programming only in Python, IDLE beats Notepad++. Some features noted below. [pay no attention to the little windows troll behind the curtain] "best" is subjec

Re: best text editor for programming Python on a Mac

2016-06-17 Thread support
use notepad++ -- https://mail.python.org/mailman/listinfo/python-list

Re: best text editor for programming Python on a Mac

2016-06-17 Thread Steven D'Aprano
On Sat, 18 Jun 2016 11:50 am, Lawrence D’Oliveiro wrote: > On Saturday, June 18, 2016 at 12:59:16 PM UTC+12, MRAB wrote: > >> Did you specify the encoding as described in the PEP? > > Python 3 defaults to UTF-8. That doesn't mean that upgrading to Python 3 will fix the problem. It *may*, but si

Re: best text editor for programming Python on a Mac

2016-06-17 Thread Steven D'Aprano
On Sat, 18 Jun 2016 09:52 am, Chris wrote: > I have been trying to write a simple Hello World script on my Mac at work > with TextEdit. However, I keep getting this error message: > > SyntaxError: Non-ASCII character '\xe2' in hello_world.py on line 1, but > no encoding declared; see http://pyth

Re: best text editor for programming Python on a Mac

2016-06-17 Thread Zachary Ware
On Jun 17, 2016 6:56 PM, "Chris via Python-list" wrote: > > I have been trying to write a simple Hello World script on my Mac at work with TextEdit. TextEdit is not just a simple text editor, it defaults to rich text mode. You can either attempt to get TextEdit out of rich text mode and into plai

Re: best text editor for programming Python on a Mac

2016-06-17 Thread Lawrence D’Oliveiro
On Saturday, June 18, 2016 at 12:59:16 PM UTC+12, MRAB wrote: > Did you specify the encoding as described in the PEP? Python 3 defaults to UTF-8. -- https://mail.python.org/mailman/listinfo/python-list

Re: best text editor for programming Python on a Mac

2016-06-17 Thread MRAB
On 2016-06-18 00:52, Chris via Python-list wrote: I have been trying to write a simple Hello World script on my Mac at work with TextEdit. However, I keep getting this error message: SyntaxError: Non-ASCII character '\xe2' in hello_world.py on line 1, but no encoding declared; see http://pyth

Re: best text editor for programming Python on a Mac

2016-06-17 Thread Ned Batchelder
On Friday, June 17, 2016 at 8:19:46 PM UTC-4, Lawrence D’Oliveiro wrote: > On Saturday, June 18, 2016 at 11:52:35 AM UTC+12, Chris wrote: > > > SyntaxError: Non-ASCII character '\xe2' in hello_world.py on line 1, but no > > encoding declared; see http://python.org/dev/peps/pep-0263/ for details >

Re: best text editor for programming Python on a Mac

2016-06-17 Thread Lawrence D’Oliveiro
On Saturday, June 18, 2016 at 11:52:35 AM UTC+12, Chris wrote: > SyntaxError: Non-ASCII character '\xe2' in hello_world.py on line 1, but no > encoding declared; see http://python.org/dev/peps/pep-0263/ for details The problem is the version of Python that comes with your Mac is obsolete. -- htt

best text editor for programming Python on a Mac

2016-06-17 Thread Chris via Python-list
I have been trying to write a simple Hello World script on my Mac at work with TextEdit. However, I keep getting this error message: SyntaxError: Non-ASCII character '\xe2' in hello_world.py on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details I am using Te