Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Apple Mac OS X 10.6 support & compatability with Python 3 ?

44 views
Skip to first unread message

pdle...@earthlink.net

unread,
Dec 16, 2009, 12:41:13 PM12/16/09
to
I've been given a MAC AIR laptop with OS X 10.6 "Snow Leopard".
On my desktop I dual boot with XP - Ubuntu and have Python on both.
Unfortunately all my Python programs are written on Windows XP and
I heavily rely on WConio for console I/O.
Called Apple tech support. The technician had never heard of Python,
ascertained the MAC AIR does not come preloaded with Python and
did not know if Python 3 would run under OS X 10.6. This was "beyond"
their expertise.
Does anyone have experience with OS X ? Could I use WConio in a
Windows emulator ? I have no experience with MACs and am debating
whether to send this back before opening.
Thanks. Dave WB3DWE

Philip Semanchuk

unread,
Dec 16, 2009, 1:08:37 PM12/16/09
to Python (General)

On Dec 16, 2009, at 12:41 PM, pdle...@earthlink.net wrote:

> I've been given a MAC AIR laptop with OS X 10.6 "Snow Leopard".
> On my desktop I dual boot with XP - Ubuntu and have Python on both.
> Unfortunately all my Python programs are written on Windows XP and
> I heavily rely on WConio for console I/O.
> Called Apple tech support. The technician had never heard of Python,
> ascertained the MAC AIR does not come preloaded with Python and
> did not know if Python 3 would run under OS X 10.6. This was "beyond"
> their expertise.

Sounds like the tech you spoke to was a knucklehead.

http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man1/python.1.html

I've read about some Python-related headaches under Snow Leopard
stemming from the fact that the stock Python is 64 bit and some 3rd
party extensions assume/are compiled as 32 bit.

> Does anyone have experience with OS X ? Could I use WConio in a
> Windows emulator ? I have no experience with MACs and am debating
> whether to send this back before opening.

WConio I don't know about. I'm not sure what you mean by a "Windows
emulator". I run Windows XP under VirtualBox with OS X as the host,
and that works fine for me. That's pretty heavy to call "emulation"
though.

Hope this helps at least a little
Philip

Rami Chowdhury

unread,
Dec 16, 2009, 1:10:14 PM12/16/09
to pdle...@earthlink.net, pytho...@python.org
On Wed, Dec 16, 2009 at 09:41, <pdle...@earthlink.net> wrote:
> I've been given a MAC AIR laptop with OS X 10.6 "Snow Leopard".
> On my desktop I dual boot with XP - Ubuntu and have Python on both.
> Unfortunately all my Python programs are written on Windows XP and
> I heavily rely on WConio for console I/O.
> Called Apple tech support. The technician had never heard of Python,
> ascertained the MAC AIR does not come preloaded with Python

As far as I am aware, OS X always comes with Python. I'm not sure if
10.6 comes with Python 2.6 or 2.5, but one or the other is certainly
there, unless you have some sort of stripped-down install I'm not
familiar with.

> Does anyone have experience with OS X ? Could I use WConio in a
> Windows emulator ?

I don't know much about WConio, but a quick search indicates it does
for Windows what curses does for Unix-like OSes. I believe OS X is
sufficiently Unix-like that curses will do the job.

--
Rami Chowdhury
"Never assume malice when stupidity will suffice." -- Hanlon's Razor
408-597-7068 (US) / 07875-841-046 (UK) / 0189-245544 (BD)

r0g

unread,
Dec 16, 2009, 1:19:50 PM12/16/09
to


Snow leopard comes with 2.6 so that shouldn't be a problem but I think
you're probably going to be SOL on the Wconio front - its a windows only
module AFAIK. The equivalent on *nix os's is ncurses so if you want your
apps to support Windows, Linux & Mac you're probably going to have to
use both.

Whatever you decide to do about the above you'd be mad to send back an
AIR anyway, that's a v.sleek bit of kit you've been 'given'! You can
install Windows and Linux via bootcamp if you want, or run them in a VM,
macs are very nearly standard PC's now anyway. I suppose if you want a
desktop replacement rather than something super portable you might find
some other machines more suitable but if you want to be coding on the go
you'd be hard pushed to find a nicer machine - except maybe the thinkpad
X300 for the removable battery and optical drive.

Roger.

Mark Dickinson

unread,
Dec 16, 2009, 1:22:42 PM12/16/09
to
On Dec 16, 5:41 pm, pdlem...@earthlink.net wrote:
> I've been given a MAC AIR laptop with OS X 10.6 "Snow Leopard".
> On my desktop I dual boot with XP - Ubuntu and have Python on both.
> Unfortunately all my Python programs are written on Windows XP and
> I heavily rely on WConio for console I/O.
> Called Apple tech support. The technician had never heard of Python,
> ascertained the MAC AIR does not come preloaded with Python and
> did not know if Python 3 would run under OS X 10.6. This was "beyond"
> their expertise.

Unless the MacBook Air has some sort of cut-down version
of Snow Leopard (which I doubt), it'll have Python 2.5.4
and Python 2.6.1 pre-installed. You'd have to install
Python 3.1 yourself if you want it, but it runs just fine
on OS X 10.6 (and earlier). There may be some problems
with the Python 3.1.1 version from the official download
page, though, since Python 3.1.1 was released *before*
Snow Leopard was. An easy way to get a working
Python 3.1.1 on OS X 10.6 is to install MacPorts and
then do a 'sudo port install python31'.

I don't know anything about WConio.

--
Mark

Mensanator

unread,
Dec 16, 2009, 1:31:41 PM12/16/09
to
On Dec 16, 11:41 am, pdlem...@earthlink.net wrote:
> I've been given a MAC AIR laptop with OS X 10.6 "Snow Leopard".
> On my desktop I dual boot with XP - Ubuntu and have Python on both.
> Unfortunately all my Python programs are written on Windows XP and
> I heavily rely on WConio for console I/O.
> Called Apple tech support. The technician had never heard of Python,
> ascertained the MAC AIR does not come preloaded with Python and
> did not know if Python 3 would run under OS X 10.6. This was "beyond"
> their expertise.

No, it's not. Call them back and if you get that bullshit again,
ask to speak to the supervisor. And then ask for his supervisor,
if necessary. It probably doesn't come with 3.1, you just got
ahold of an idiot.

BTW, I was just looking at an iMac the other day and it had 2.3,
2.4 and 2.5 installed. Beyond their expertise indeed.

Asun Friere

unread,
Dec 16, 2009, 9:25:12 PM12/16/09
to
On Dec 17, 4:41 am, pdlem...@earthlink.net wrote:

> Does anyone have experience with OS X ? Could I use WConio in a
> Windows emulator ?  I have no experience with MACs and am debating
> whether to send this back before opening.

You don't need an emulator per se. You can reboot a Mac into Windows
using 'BootCamp' (comes with OSX, you supply the copy of XP),
alternatively you can run Windows in a Virtual Machine using 3rd party
software such as 'Parallels' (which I use to run Xubuntu on an iMac)
or 'VMWare' which is nice because you can use multiple OSen
simulatneously (and get them to talk to each other). Yes, you can
have it all!

Jonas Geiregat

unread,
Dec 24, 2009, 1:35:38 PM12/24/09
to pdle...@earthlink.net, pytho...@python.org
I'm using Python 3 on my Mac running Snow Leopard. I run it alongside the standard python that comes with leopard wich is 2.6 , if I remember correctely.
This setup hasn't given me any trouble so far !
I've downloaded the binary version of Python3000 from the python.org website.

Good luck with it !

> --
> http://mail.python.org/mailman/listinfo/python-list

Met vriendelijke groeten,

Jonas Geiregat
jo...@geiregat.org


0 new messages