Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #57847

Re: Python on a MacBook Pro (not my machine)

Newsgroups comp.lang.python
Date 2013-10-28 11:41 -0700
References <0799708c-59d5-41c2-9fcc-24b7ca87386e@googlegroups.com>
Message-ID <ce3bb008-ab67-4190-8525-4344bea0f362@googlegroups.com> (permalink)
Subject Re: Python on a MacBook Pro (not my machine)
From Rick Dooling <rpdooling@gmail.com>

Show all headers | View raw


Just upgraded to Mavericks, the new OS X, Python is:

Python 2.7.5 (default, Aug 25 2013, 00:04:04) 
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 

(On Mountain Lion, it was 2.7.2. You can install Python 3 using Home Brew or even the packages from Python.org and run them on the same machine. Just change the shebang at the to of the script.

I recommend MacVim for editing

http://code.google.com/p/macvim/


On Saturday, October 26, 2013 2:07:40 PM UTC-5, John Ladasky wrote:
> Hi folks,
> 
> 
> 
> My side job as a Python tutor continues to grow.  In two weeks, I will start working with a high-school student who owns a MacBook Pro.  
> 
> 
> 
> I have had students with Linux systems (my preference) and Windows systems before, but not Macs.  On my first visit, I set up each student's computer with Python 3.x, and SciTE for editing.  I would like to do something similar for my Mac student, and I want to make sure that it goes smoothly.
> 
> 
> 
> My first question is whether Mac OS X ships with Python 2.x, and whether I need to be aware of any compatibility issues when I install 3.x.  (It's 2013, and my students are new to programming.  I refuse to hitch them to Python 2.)
> 
> 
> 
> Second: it doesn't look like I will be able to obtain SciTE for this student.  SciTE is free for Windows and Linux.  Apparently, it's $42 for Mac OSX?  If I recall, SciTE is open-source, so I suppose that I could compile the source myself.  But since it is not my computer, and I'm being paid for my time, and I haven't done much with Macs (to say nothing of building from source code), I don't think that this is appropriate.
> 
> 
> 
> I know, we can use IDLE.  I continue to find IDLE clumsy.  Also, there are potential issues with event handling which arise when you use IDLE.  I am working with an adult professional who is developing a Telnet application, which refuses to cooperate with IDLE/Tk.  I had similar issues myself with wxPython applications I was writing.  While these issues may not affect a beginning student, these experiences have informed my choices.
> 
> 
> 
> So, what other free and lightweight editing options do I have for a Mac?  I have found a few (fairly old) discussions on comp.lang.python which suggest Eric (http://eric-ide.python-projects.org/) and Editra (http://editra.org/).  Opinions on these and other choices are appreciated.
> 
> 
> 
> Thanks!

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python on a MacBook Pro (not my machine) John Ladasky <john_ladasky@sbcglobal.net> - 2013-10-26 12:07 -0700
  Re: Python on a MacBook Pro (not my machine) Shao Hong <shaohong86@gmail.com> - 2013-10-27 03:50 +0800
  Re: Python on a MacBook Pro (not my machine) Cameron Simpson <cs@zip.com.au> - 2013-10-28 14:56 +1100
  Re: Python on a MacBook Pro (not my machine) Jim Gibson <jimsgibson@gmail.com> - 2013-10-28 10:43 -0700
  Re: Python on a MacBook Pro (not my machine) rusi <rustompmody@gmail.com> - 2013-10-28 10:58 -0700
  Re: Python on a MacBook Pro (not my machine) Rick Dooling <rpdooling@gmail.com> - 2013-10-28 11:41 -0700
  Re: Python on a MacBook Pro (not my machine) rusi <rustompmody@gmail.com> - 2013-11-02 02:35 -0700
    Re: Python on a MacBook Pro (not my machine) "nf7" <arya@live.ca> - 2013-11-02 09:53 -0700
      Re: Python on a MacBook Pro (not my machine) paul.nospam@rudin.co.uk - 2013-11-02 16:56 +0000
        Re: Python on a MacBook Pro (not my machine) rusi <rustompmody@gmail.com> - 2013-11-02 10:27 -0700
  Re: Python on a MacBook Pro (not my machine) John Ladasky <john_ladasky@sbcglobal.net> - 2013-11-06 09:51 -0800
    Re: Python on a MacBook Pro (not my machine) Cameron Simpson <cs@zip.com.au> - 2013-11-07 08:34 +1100
    Re: Python on a MacBook Pro (not my machine) Jake Angulo <jake.angulo@gmail.com> - 2013-11-07 11:11 +1100

csiph-web