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

Library to script conversion possible? #10

Closed
paulochf opened this issue Sep 13, 2019 · 4 comments
Closed

Library to script conversion possible? #10

paulochf opened this issue Sep 13, 2019 · 4 comments

Comments

@paulochf
Copy link

I just tried to use stickytape upon better-exceptions library, but I couldn't figure out what I should use as the "scripts/blah" parameter. Everything I tried resulted in errors.

Can I get some help? We could even enhance the readme after that.

Thanks!

@mwilliamson
Copy link
Owner

stickytape only works on scripts, but better-exceptions looks like a library. Could you explain a bit more about what your use-case is?

@paulochf
Copy link
Author

paulochf commented Sep 17, 2019

I was wondering if I could transform a library into a single file script in order to get the resulting script and run from a Jupyter notebook's cell.

At least that's what I understood I could get with stickytape. Pardon me if I got it wrong.

@mwilliamson
Copy link
Owner

If I've understood your use-case correctly, I don't think stickytape supports what you're looking for: it converts a Python script with imports into a single-file Python script, whereas it looks like you want to convert a library (rather than a script).

@paulochf
Copy link
Author

Right, no problem! Thanks for your time!

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

2 participants