[sage-support] Re: Solve recurrences using Sage ?

2010-02-10 Thread Walking Randomly
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

[sage-support] Working through the matplotlib image processing tutorial

2009-12-17 Thread Walking Randomly
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

[sage-support] Re: File handling in Sage

2009-12-17 Thread Walking Randomly
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

[sage-support] File handling in Sage

2009-12-17 Thread Walking Randomly
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