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

Allow running a block of code in a file #441

Closed
ghost opened this issue May 14, 2011 · 1 comment
Closed

Allow running a block of code in a file #441

ghost opened this issue May 14, 2011 · 1 comment
Milestone

Comments

@ghost
Copy link

ghost commented May 14, 2011

It would be great if there is a way to run only a "block" of code in a file.

For example,

%run 'file.py' 100:200 # run code in file.py from line 100 to 200

or

%run 'file.py' :200 # run code in file.py from line 1 to 200

etc.

Thank you,
Joon

@minrk
Copy link
Member

minrk commented May 14, 2011

This is a close relative of the request described in #403. If either is implemented, they both will be, so please make any further comments/requests there.

@minrk minrk closed this as completed May 14, 2011
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

1 participant