|
|
#1 |
|
Matlab like Python editor
I'll admit I have no idea what I'm talking about when it comes to Python but it seems to be similar to Matlab - which I know well. I'm mainly looking for a single app where I can type in some code (in Python, and free) and press some button or keyboard command to run it.
In other words, any apps (far better looking) than Terminal where I can type 4 + 4 [enter] and get 8? Thanks!
__________________
iPhone • iPad • MacBook Pro |
|
|
|
0
|
|
|
#2 |
|
Open a terminal and type
Code:
python
__________________
Of crimes---none is greater than having things that one desires; Of disasters---none is greater than not knowing when one has enough. Of defects---none brings more sorrow than the desire to attain. |
|
|
|
0
|
|
|
#3 |
|
Thanks. I'm aware I can do that but am looking for a 3rd party app with lots of pretty buttons and a pretty UI. Anything like this exist?
__________________
iPhone • iPad • MacBook Pro |
|
|
|
0
|
|
|
#4 | |
|
Quote:
__________________
Of crimes---none is greater than having things that one desires; Of disasters---none is greater than not knowing when one has enough. Of defects---none brings more sorrow than the desire to attain. |
||
|
|
0
|
|
|
#5 |
|
You could try any of the following: http://en.wikipedia.org/wiki/List_of..._Python#Python
|
|
|
|
0
|
|
|
#7 | |
|
Quote:
Sage might work if you like the notebook view, once you've got sage running type Code:
notebook() Edit: oh, and to close the notebook view, go back to the terminal window any type control+c to end the notebook, then control+d to exit sage completely... the documentation for Sage is one of the weak points, and it took me a while to figure this out.
|
||
|
|
0
|
|
|
#8 |
|
Sage looks interesting. May I ask why Python? If you want something Matlab like and free, why not GNU Octave?
B
__________________
MBA (13" 1.7 GHz 128GB), UMBP (15" SD 2.8 GHz), UMB (13" 2.4 GHz), iMac (17" Yonah), 32GB iPad 3 WiFi+LTE, 64 GB iPad WiFi, 32 GB iPhone 5, Airport Extreme |
|
|
|
0
|
|
|
#9 |
|
I think what you are looking for is: http://matplotlib.org/ You'll want to get iPython, numpy and possibly scipy, but there are a few distributions that package up numerical oriented packages together, and they'll usually have these together. One (non-free, depending on your situation) is http://www.enthought.com/products/epd.php. It's free for students and academics. There are probably quite a few others as well, and it's usually easy enough to install the components you need, too, if you are somewhat familiar with the command line.
|
|
|
|
0
|
|
|
#10 | |
|
Quote:
__________________
iPhone • iPad • MacBook Pro |
||
|
|
0
|
|
|
#11 |
|
Using BBEdit With Python
I edit Python using BBEdit. BBEdit has a good Mac GUI and is full-feaured including being able to view invisible tabs and spaces which can be important when working with Python text files to keep the indentation consistent.
BBEdit also has a feature called "Zap Gremlins" that you can use to eliminate bad characters from your source code. It also has a feature to be able to compare source files and even whole directories so that you can see the differences between versions. And BBEdit allows you to run source code, including Python, from BBEdit without leaving it. BBEdit doesn't have a command line. But if you really need to work interactively on occasion, you can go to Terminal and type in "python". If you don't want to use BBEdit, there is a version of IDLE that runs on Mac OS X that has both an editor and a window with an interactive mode. I don't like IDLE because when I first tried it, I chose "Preferenes" from the Apple menu and it crashed. So, I lost my confidence in it. You can google for "BBEdit Download" or "Python Mac IDLE Download" and find these products. If you want something like BBEdit, nearly as good, but free. There is TextWrangler. You can find that by googling for "Text Wrangler Download". |
|
|
|
0
|
|
|
#12 |
|
Sublime Text 2
You can run your python code on it (to some extent) and it has a shell. It's free trial kind of lasts forever, just say no to when it asks you to purchase. I love it.
__________________
2010 Macbook Pro, iPhone 4S |
|
|
|
0
|
|
|
#13 |
|
If you aren't actually looking for Matlab's graphing functionality, you might look at ipython's HTML Notebook. It gives you an interactive shell that you can record your sessions and then access them remotely (assuming you can reach your machine via a web browser@some random port). It's still very much a command line oriented tool, but it has some interesting features: http://ipython.org/ipython-doc/dev/i...lnotebook.html
There are several IDEs that support python, but they don't necessarily offer you a shell that is much different than the standard interactive Python shell. iPython is probably the best, and does integrate nicely with Matplotlib for graphing things as you explore your data. |
|
|
|
0
|
|
|
#14 | ||
|
Quote:
There are also similar apps for octave. i.e. cheaper. I haven't used either. e.g. https://itunes.apple.com/us/app/octa...508953667?mt=8 https://itunes.apple.com/us/app/octa...467653632?mt=8 Quote:
Of the ones I did find, Pythonista seems to be the most full featured, and might well be worth the $5. B
__________________
MBA (13" 1.7 GHz 128GB), UMBP (15" SD 2.8 GHz), UMB (13" 2.4 GHz), iMac (17" Yonah), 32GB iPad 3 WiFi+LTE, 64 GB iPad WiFi, 32 GB iPhone 5, Airport Extreme |
|||
|
|
0
|
|
|
#15 |
|
As always, there are Sage alternatives as well, check out
https://itunes.apple.com/ca/app/sage...496492945?mt=8 which is basically a front end for the Sage online notebook. (Incidentally, I've been using the facility of developing interactive mathematics activities using the Sage Cell Server, and it's proven really useful, as Sage interactive content can be embedded directly into a webpage - no flash, no java.) Sage incorporates mathplotlib, Octave, R, Maxima, NumPy, SciPy, etc., so it's really the one to beat.
|
|
|
|
0
|
|
|
#16 | |
|
Quote:
__________________
iPhone • iPad • MacBook Pro |
||
|
|
0
|
|
|
#17 |
|
I use CodeRunner. It has a small price tag but the application is pretty good.
__________________
MacBook Air Mid 2012 / iPhone 5. InfoSec guy. |
|
|
|
0
|
|
|
#18 |
|
So did a lot of research and came across R64. Did more research and came across RStudio. These apps are awesome! They aren't python but they definitely replace Matlab and look great too (RStudio does).
__________________
iPhone • iPad • MacBook Pro |
|
|
|
0
|
|
|
#19 | |
|
Quote:
Although if it satisfies your needs, great!
__________________
Of crimes---none is greater than having things that one desires; Of disasters---none is greater than not knowing when one has enough. Of defects---none brings more sorrow than the desire to attain. |
||
|
|
0
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
All times are GMT -5. The time now is 02:38 AM.







Linear Mode
