Regarding namespace pollution. Mathematica has thousands of function
names in it's global namespace but it never causes programmers a
problem because they have a convention. All mathematica functions
start with a capital: Integrate, Plot, ListPlot etc. So, stick to
lower case variables and you d
Hello again
So I wondered if I could work through the matplotlib image processing
tutorial using the SAGE notebook
http://matplotlib.sourceforge.net/users/image_tutorial.html
and evaluated this code
import matplotlib.pyplot as plt
import matplotlib.image as mpimg
import numpy as np
img=mpimg.im
9 pm, Minh Nguyen wrote:
> Hi Mike,
>
> On Thu, Dec 17, 2009 at 11:48 PM, Walking Randomly
>
> wrote:
> > Hi
>
> > When in a Sage notebook how do I find what the current working
> > directory is
>
> Try this:
>
> os.getcwd()
>
> > and how
Hi
When in a Sage notebook how do I find what the current working
directory is and how do I do a directory listing? For example in
MATLAB I might do
pwd
to print the working directory and
ls
to do a directory listing.
Please accept my apologies if this information is available somewhere
obvi