 |
 |
Best editor for Python?
|
 |
|
 |
|
Professional Poster
Join Date: Sep 2000
Location: San Francisco
Status:
Offline
|
|
What editor would people suggest for writing Python scripts? I tried installed Xfree86 and getting IDLE running through the X windowing system, but the overhead was too much on my Lombard--it just runs dog-slow. Since most of my scripting will be done on this machine, I need another solution. Emacs seems to have a large learning curve. BBEdit? Any other suggestions?
thanks,
kman
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Mar 2001
Location: Provo, UT
Status:
Offline
|
|
Originally posted by kman42:
<STRONG>What editor would people suggest for writing Python scripts? I tried installed Xfree86 and getting IDLE running through the X windowing system...</STRONG>
Idle is available in native OSX.
OSX Python
There is also the MacPython which has been carbonized. I've not used that much, but I believe that it is similar. It has the downside of not letting you use all the Unix stuff OSX makes available though. Thus I don't typically use it. However for simple scripts and stuff it might be what you are looking for.
MacPython
Others probably use BBEdit, but for some reason I don't typically use that for source code editing. But that's just me.
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Sep 2000
Location: San Francisco
Status:
Offline
|
|
Originally posted by clarkgoble:
<STRONG>
Idle is available in native OSX.
OSX Python
There is also the MacPython which has been carbonized. I've not used that much, but I believe that it is similar. It has the downside of not letting you use all the Unix stuff OSX makes available though. Thus I don't typically use it. However for simple scripts and stuff it might be what you are looking for.
MacPython
Others probably use BBEdit, but for some reason I don't typically use that for source code editing. But that's just me.</STRONG>
I tried that native Idle previously (the one that says EXPERIMENTAL), but it didn't work. It opened up a window and then crashed. Have you managed to get it working? I'll try downloading it again, maybe it's been updated.
kman
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Mar 2001
Location: Provo, UT
Status:
Offline
|
|
Seems to work fine for me. I actually like it better than the Windows version.
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Sep 2000
Location: San Francisco
Status:
Offline
|
|
Perhaps a little help then? I think my problem is in installing the Tcl/TK frameworks. I put the TK frameworks in my /Library/Frameworks folder along with the Python frameworks. I'm not sure what to do with the Tcl download however.
Thanks for any help.
kman
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Nov 2001
Location: State of Denial
Status:
Offline
|
|
BBEdit does have Python syntax coloring, and under OS X you can use the #! menu to run Python scripts directly from BBEdit...
|
|
[Wevah setPostCount:[Wevah postCount] + 1];
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Nov 2000
Location: Manhattan
Status:
Offline
|
|
Has anyone been able just to locate a plain native port of IDLE?
Already have Python2.2 working perfectly via Fink, and the included IDLE works fine with X11... but I'd rather have the OSX native IDLE seen in some of those screenshots.. you know, so I don't have to deal with the ugly X11 widgets.
Don't want to have to install all sorts of duplicate frameworks though. Is there just a "IDLE.app" around here somewhere that will interface with an existing python install?
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Sep 2000
Location: San Francisco
Status:
Offline
|
|
Originally posted by matthewmodern:
<STRONG>Has anyone been able just to locate a plain native port of IDLE?
Already have Python2.2 working perfectly via Fink, and the included IDLE works fine with X11... but I'd rather have the OSX native IDLE seen in some of those screenshots.. you know, so I don't have to deal with the ugly X11 widgets.
Don't want to have to install all sorts of duplicate frameworks though. Is there just a "IDLE.app" around here somewhere that will interface with an existing python install?</STRONG>
Yeah, I've been wanting the same thing. I have the X11 version running fine as well, but I'd really like a 'native' version running. clarkgoble says he has it running, but he hasn't responded to my inquiries about how to get it working. Hopefully he'll check this thread again soon. Anyone else know?
kman
|
|
|
| |
|
|
|
 |
|
 |
|
Occasionally Useful
Join Date: Jun 2001
Location: Liverpool, UK
Status:
Offline
|
|
Originally posted by Wevah:
<STRONG>BBEdit does have Python syntax coloring, and under OS X you can use the #! menu to run Python scripts directly from BBEdit...</STRONG>
bah, was gonna post that meself like. anybody in here a Ruby fan?
|
|
"Have sharp knives. Be creative. Cook to music" ~ maxelson
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Mar 2001
Location: Provo, UT
Status:
Offline
|
|
The links I provided had everything I needed. The only issue is that when installing under OSX the installer crashes at the end. You have to quit it and then run the script manually. However the documentation mentions this problem. MacPython seems to work great - at least as good as IDLE on my PC. The downside with MacPython is that TCL/TK doesn't work. But I never use them anyway.
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jan 2002
Location: Boston
Status:
Offline
|
|
Emacs is good. Just add the python syntax .el file and turn on syntax coloring. You can run scripts from inside Emacs as well. One caveat. Emacs has been crashing in OS X when using the jde for java. Seems fine otherwise.
Jamie
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|