Difference between revisions of "Software tutorial/Getting started"
m (→Mac users) |
m |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Navigation|Book=Software tutorial|previous=Software installation|current=Tutorial index|next=My first program}} | |||
This section helps you become comfortable with the user interface of either Python or MATLAB. You can [[Software_tutorial/My first program | move to the "my first program" part]] of the tutorial after this part. | This section helps you become comfortable with the user interface of either Python or MATLAB. You can [[Software_tutorial/My first program | move to the "my first program" part]] of the tutorial after this part. | ||
Line 8: | Line 10: | ||
|- | |- | ||
| width="50%" valign="top" | | | width="50%" valign="top" | | ||
*'''The following [[Getting started with MATLAB or Python|LINK]] goes to a MATLAB summary page that is still a work in progress.''' | |||
*When you launch MATLAB the following window will open: | *When you launch MATLAB the following window will open: | ||
Line 74: | Line 77: | ||
== Mac users == | == Mac users == | ||
This tutorial step assumes that you have [[Software tutorial/Software installation | already installed]] Enthought's Python distribution. | |||
# Start the Terminal program, which will bring up a command window. [[Image:Mac-starting-the-terminal.jpg|borderless|center]] | # Start the Terminal program, which will bring up a command window. [[Image:Mac-starting-the-terminal.jpg|borderless|center]] | ||
Line 80: | Line 85: | ||
ipython --pylab | ipython --pylab | ||
</syntaxhighlight> | </syntaxhighlight> | ||
and you should get this window, [[Image:Ipython-mac-screenshot.jpg|borderless|center]] | and you should get something similar to this window, [[Image:Ipython-mac-screenshot.jpg|borderless|center]] | ||
Now you can proceed with the [[Software_tutorial/My_first_program | rest of the tutorial]] and should get exactly the same outputs. | Now you can proceed with the [[Software_tutorial/My_first_program | rest of the tutorial]] and should get exactly the same outputs. | ||
Line 92: | Line 97: | ||
ipython --pylab | ipython --pylab | ||
</syntaxhighlight> | </syntaxhighlight> | ||
and you should get this window ( | and you should get something similar to this window (screen shot from Ubuntu Linux) | ||
[[Image:Ipython-ubuntu-screenshot.jpg|borderless|center|500px]] | [[Image:Ipython-ubuntu-screenshot.jpg|borderless|center|500px]] | ||
where you can type in Python commands. | where you can type in Python commands. |
Latest revision as of 13:41, 24 September 2010
This section helps you become comfortable with the user interface of either Python or MATLAB. You can move to the "my first program" part of the tutorial after this part.
These descriptions are specific to Windows-users. Mac and Linux users will have a similar display.
MATLAB | Python |
---|---|
|
Mac and Linux users: please scroll further down. Windows usersWhen starting Python(x,y) you will be presented with the following window. Spyder (Scientific PYthon Development EnviRonment) is the name of the development environment we will be using.
You can have one or multiple files open at any time.
Mac usersThis tutorial step assumes that you have already installed Enthought's Python distribution.
ipython --pylab
Now you can proceed with the rest of the tutorial and should get exactly the same outputs. Linux usersThis tutorial step assumes that you have already installed Enthought's Python distribution. I expect you know how to start your shell, e.g. the bash shell. Once you are in the shell, just type: ipython --pylab
and you should get something similar to this window (screen shot from Ubuntu Linux) where you can type in Python commands. Now you can proceed with the rest of the tutorial and should get exactly the same outputs. |