Announcement

Collapse
No announcement yet.

SPY File Import

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • SPY File Import

    So I'm collaborating on a project with a 3rd party where some of my user script will be integrated into their user script. However, I'm not wanting to disclose my source code. Is there a way I can supply them with a precompiled SPY file and they can "import" it into their user script? Or does SNAPpy/Portal not support this?

  • #2
    I am unaware of how you can import a spy file from within a script.

    Comment


    • #3
      Jon, when your file is imported it is compiled, which you should see a .pyo file in that same directory. You can send the pyo file without including your actual py file. I would recommend investigating that as an option.

      Comment


      • #4
        That will definitely work Eric. Thanks for the tip!

        Comment

        Working...
        X