Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

please put python and text editor in the web only ipython #2237

Closed
davidjensen opened this issue Aug 2, 2012 · 4 comments
Closed

please put python and text editor in the web only ipython #2237

davidjensen opened this issue Aug 2, 2012 · 4 comments
Milestone

Comments

@davidjensen
Copy link

I just got ipython working for browser only, so I have not yet seen a python editor for files in the browser only version. A work around is to read in the file (f=open()), but there seems to a lot of hacking to get that to work.

EditArea seems to be a possibility, but the last version was 2010.

@Carreau
Copy link
Member

Carreau commented Aug 2, 2012

You can use this to write to a file

%%file filename
your file content

Be carefull it won't warn before overwriting...

you can load a file into the next cell with

%load filename

as usual, you can get more info with ?, also by reading the introductions, and example in /docs/examples/notebooks.

@davidjensen
Copy link
Author

It worked. ipython is brilliant and there had to be a solution using an In, which already handles Python code. This should be in the main documentation as it is almost always needed.

@takluyver
Copy link
Member

%%file is a bit of a rough and ready solution - we do plan to put an editor in as well, see issue #1581. In fact, this is a duplicate of that, so I'll close this one.

@davidjensen
Copy link
Author

I assume the editor will be included in a file managere

@minrk minrk added this to the no action milestone Mar 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants