<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
By the way, cmd module is great ... IMHO, i use it for command line
remote control ..<br>
It's easy to use ...<br>
<br>
In case of :)<br>
<br>
++<br>
Damien<br>
<br>
Fernando Perez a écrit :
<blockquote cite="mid434618CB.70706@colorado.edu" type="cite">
<pre wrap="">Ville Vainio wrote:
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">Define a function to return what you want:
def lower():return x.lower()
</pre>
</blockquote>
<pre wrap="">
It should also be pretty doable to implement a magic/function to copy
all names from an object to functions in ipython global namespace, so
that you could do
# myobj.stuff()
# %makeglobals myobj
# stuff() # calls "curried" version with self as first arg
</pre>
</blockquote>
<pre wrap=""><!---->
Yup, that's another approach that can also work (I think I prefer the %prepend
one, simply because I'm picky about namespace clashes, but that's really a
personal preference).
Cheers,
f
_______________________________________________
IPython-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:IPython-user@scipy.net">IPython-user@scipy.net</a>
<a class="moz-txt-link-freetext" href="http://scipy.net/mailman/listinfo/ipython-user">http://scipy.net/mailman/listinfo/ipython-user</a>
</pre>
</blockquote>
<br>
</body>
</html>