> 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
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)
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.
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
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.
> 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!
Good luck with it !
> --
> http://mail.python.org/mailman/listinfo/python-list
Met vriendelijke groeten,
Jonas Geiregat
jo...@geiregat.org