[IPython-User] adding files to the notebook list

Brian Granger ellisonbg@gmail....
Thu Jan 12 15:44:18 CST 2012


2012/1/12 Zoltán Vörös <zvoros@gmail.com>:
>
> Brian Granger, on 2012-01-12 12:41, wrote:
>>> On Thu, Jan 12, 2012 at 12:37 PM, Robert Kern<robert.kern@gmail.com>  wrote:
>>>> Is there no way use an<input type="file">  field and accept a POST containing
>>>> the file contents?
>>> We can do that, but there is no way of styling the UI elements.  You
>>> end up with a butt ugly interface.
> I am not sure why it should be ugly. All one would need is a button
> "Open", or something like that, that pops up the system file chooser
> dialogue. Something like this:
> http://www.html5rocks.com/en/tutorials/file/dndfiles/
> The first example doesn't even load anything, it simply writes a string
> (the file name) into a field. The field is already there are the top of
> the ipython frontend.

I agree that it *shouldn't* be ugly, but it is.  Here is another
discussion of these issues that poing to some additional hacks:

http://stackoverflow.com/questions/2855589/replace-input-type-file-by-an-image

Cheers,

Brian

> Zoltán
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user



-- 
Brian E. Granger
Cal Poly State University, San Luis Obispo
bgranger@calpoly.edu and ellisonbg@gmail.com


More information about the IPython-User mailing list