Skip to content

Confusing import / export options. #49

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

Open
icarito opened this issue Apr 13, 2017 · 2 comments
Open

Confusing import / export options. #49

icarito opened this issue Apr 13, 2017 · 2 comments

Comments

@icarito
Copy link
Contributor

icarito commented Apr 13, 2017

image

  • Is "Import Python file" the opposite to "Export as Pippy document"?
  • Why is the third icon grey and what does it do?
  • What does export as distutils package do? How useful is it?
  • What is the point of saving as Pippy Example?

It would be great to clean these up.

@quozl
Copy link
Contributor

quozl commented Apr 13, 2017

Yay.

@sparshg
Copy link
Member

sparshg commented Jul 4, 2023

  • Yes Import from python file, and export as Pippy document (which is a python file) are exact opposites
  • That icon isn't grey anymore in the latest versions, it is used to export your code as a pippy library,
    You can then later use the exported library by writing import filename.py and use it however you want, like filename.print_hello(). Pretty useful imo.
  • Distutils package provides infrastructure for building and distributing Python packages.
  • Saving as example can act as a learning reference. You can save some code snippets which you frequently refer back.

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

3 participants