[IPython-User] adding files to the notebook list
Zoltán Vörös
zvoros@gmail....
Thu Jan 12 15:37:50 CST 2012
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.
Zoltán
More information about the IPython-User
mailing list