Skip to content

Jupyter export magic command #986

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

Merged

Conversation

tyfiero
Copy link
Contributor

@tyfiero tyfiero commented Feb 1, 2024

Describe the changes you have made:

Added a %jupyter magic command to export the current session as a jupyter notebook file, that you can run in Google Collab.

Reference any relevant issues (e.g. "Fixes #000"):

Pre-Submission Checklist (optional but appreciated):

  • I have included relevant documentation updates (stored in /docs)
  • I have read docs/CONTRIBUTING.md
  • I have read docs/ROADMAP.md

OS Tests (optional but appreciated):

  • Tested on Windows
  • Tested on MacOS
  • Tested on Linux

@Notnaton
Copy link
Collaborator

Notnaton commented Feb 3, 2024

Awesome PR @tyfiero
I have tested it on windows

@KillianLucas
Copy link
Collaborator

Nice! Great feature idea. It looks like the docs say it saves to the desktop, but I think it's saving to downloads. I also think it would be okay if it saved to cwd, any option works. Thanks @tyfiero!

@tyfiero
Copy link
Contributor Author

tyfiero commented Feb 10, 2024

Fixed the docs, it should be good to go!

@Notnaton Notnaton linked an issue Feb 12, 2024 that may be closed by this pull request
@KillianLucas
Copy link
Collaborator

Looks good, merging now. Great work @tyfiero!

@KillianLucas KillianLucas merged commit a924c12 into openinterpreter:main Feb 14, 2024
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

Successfully merging this pull request may close these issues.

Any plans on saving the generated scripts to files ?
3 participants