Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > programming

programming
Thread Tools
Fresh-Faced Recruit
Join Date: Aug 2003
Status: Offline
Reply With Quote
Jan 15, 2004, 06:40 PM
 
does anyone here program with python?
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Jan 15, 2004, 09:21 PM
 
Originally posted by rowelld:
does anyone here program with python?
I worked in python and Zope professionally for over 2 years at my previous job. I love python.
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
rowelld  (op)
Fresh-Faced Recruit
Join Date: Aug 2003
Status: Offline
Reply With Quote
Jan 15, 2004, 10:28 PM
 
do you know any good resources, books, tutorials that i can learn off of? how do you write your own programs on os x?
     
Addicted to MacNN
Join Date: May 2001
Location: Cupertino, CA
Status: Offline
Reply With Quote
Jan 18, 2004, 02:05 PM
 
www.python.org

FWIW, it's a highly regarded language but I wasn't a big fan of it when I had to use it.
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Jan 18, 2004, 03:33 PM
 
Originally posted by rowelld:
do you know any good resources, books, tutorials that i can learn off of? how do you write your own programs on os x?
Learning Python is a good intro to python book.

I write a lot of small python scripts, but they are all run via the terminal. Python is really great for writing quick text processing tools, networking tools, etc.

I know Panther has python bindings for OSX GUI widgets, but I've never used them. Right now I do most of my GUI work on OSX in java or RealBasic, with some Cocoa when needed.
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
rowelld  (op)
Fresh-Faced Recruit
Join Date: Aug 2003
Status: Offline
Reply With Quote
Jan 18, 2004, 03:50 PM
 
what do u use to write python programs on os x? all i've done was type small stuff into the terminal. how and what do u use when u want to write a program and run it individually from the terminal
     
Registered User
Join Date: Oct 2003
Status: Offline
Reply With Quote
Jan 21, 2004, 10:23 PM
 
> Learning Python is a good intro to python book.

I just bought that book today. It looks great. The new (2nd) edition just came out -- in fact, there was a review and discussion about it on /.

I've just mostly gotten out of programming (yeah, caught in a layoff) and recently got a high school science teaching job. Not much time left for programming these days, so I thought I'd pick a nice simple, easy(ish), cross-platform language to work with for the little projects that pop up here and there. Python seems to fit the bill.

> what do u use to write python programs on os x?

I'll probably break down and buy a copy of BBedit. Not sure what else is out there. Was using SlickEdit on Linux for a while.
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Jan 21, 2004, 10:39 PM
 
I use VIM on OSX for simple python scripts, and BBEdit for the bigger stuff. I generally use those tools for Python, Java, PHP, Shell Script, HTML, and whatever else I encounter, so I would recommend BBEdit heartily.
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
Mac Enthusiast
Join Date: Apr 2001
Location: 127.0.0.1
Status: Offline
Reply With Quote
Jan 22, 2004, 06:23 AM
 
FWIW, SubEthaEdit (http://www.codingmonkeys.de/subethaedit/) has syntax highlighting for Python (and almost every other popular language, including Java) and it's Rendezvous-aware to boot. I love this app... it's damn near perfect!
     
Senior User
Join Date: Oct 2000
Location: Midwest
Status: Offline
Reply With Quote
Jan 22, 2004, 08:08 AM
 
There is a specific OS 9/X python IDE [url=http://homepages.cwi.nl/~jack/macpython/]here{/url].

I stll use VIM and BBedit, though.

Craig
     
Addicted to MacNN
Join Date: May 2001
Location: Cupertino, CA
Status: Offline
Reply With Quote
Jan 22, 2004, 01:05 PM
 
Just wanted to expand on my post. If you have previous programming experience, you may find, as I did, that the tutorials and documentation on python.org are enough to learn the language... you could then spend that book money on a nice dinner this weekend. Python is really a very simple language for whipping up quick, small scripts and programs. If you want to jump into complex Python programming right away then having a more structured introduction to the language, such as what a book can provide, may be more suitable. I also found, when I was learning Python, that the quality of the books available was not very high.

I guess I will openly invite the scorn of Python programmers by saying that, personally, I prefer Perl. Perl may be ugly to look at, but it has a structure to it that Python lacks. Of course, both languages can excel in their own particular domains. Python is certainly the 'in' language to learn these days
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:51 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2