top of page
Changing the Version of Python STREMECODER

How to change the python binary in STREMECODER

StremeCoderFlat.png

How do I change my python binary?

STREMECODER will auto detect your installed version of Python3 and whether or not you have installed iPython as well. Sometimes you may want to direct STREMECODER to a specific version of python. For this, we have provided a settings page. To access the settings page, first go to the "File" menu in the upper-left hand corner of STREMECODER.

FIle Menu in StremeCoder

Then select "Settings" from the file menu.

Changing your Settings in StremeCoder

The following window should appear.

Setting your Python Path

Auto is the auto-detected path to your installed version of Python3. If you wish to change the path to a different binary, then you can type in a new path in place of Auto. You can always replace your path name with Auto to return to the auto-detected path.

Examples have been provided for potential path locations on MacOS, Windows 10, and Linux. Be sure to include the " " around your path if you are entering a path other than Auto. Note that Auto should not have quotes around it.

STREMECODER prefers iPython interactive mode. This enables you to interact with your python code after it has run. If you wish for this interactive behavior, add:

,"-i"

to the end of your iPython path. You can omit the ,"-i" command if you do not wish to initialize interactive mode. 

If you have further questions, please feel free to reach out to us. We are always available to chat in Discord if you have any questions about changing your python binary or anything else. You can also contact us through e-mail at contact@pluricorp.com. If there are any other tutorials you would like to see us make, please let us know!

STREMECODER TIPS

StremeCoder is meant to make your Python algorithms readable to anyone. You should keep in mind these guidelines when you are designing and sharing your algorithms:

  • Generate Descriptive Node Names. The name of the node is what will be displayed on the StremeCoder canvas so you want the node name to explain to coders and non-coders the main function of your node. 

  • Document Each Node as you begin to use it. Each node in StremeCoder has a fully markdown capable description area where you can describe the functionality of your node and everything required to get it to work for future developers who might use your node. 

  • Make your code modular. A Node that can be used by ANYONE is significantly more valuable than a Node that can only be used in your algorithm

  • A Beautiful Koi (Node Graph) is elegant and can be read like a story of reasonable functions

  • Maintain, when possible, the functional flow of StremeCoder. That is avoid placing functions and classes outside of your node functions unless no other solution is possible.

  • When adding to kwargs[Settings] enclosing your dictionary items inside a very specific subname will avoid collisions with other nodes you may download on the internet or if you choose to make your node available to others, like in the example below:

    • kwargs[Settings][LabNameNumber][SettingVariable]

Use The StremeCoder Canvas To Your Best Advantage

  • We intend for you to use the Canvas as real workspace.

  • You can zoom out of the canvas (CTRL +/- and CTRL Mouse wheel) and hide nodes you want to use later. Don't worry about a messy canvas when you are working. Having extra parts is useful when you are editing and duplicating nodes.

 

Our recommended workflow for sharing algorithms

  • Generate a Sketch of different nodes that take you from an input through analysis to a final output.

  • Export that sketch to your client/team members as either a Koi or as an image in an email.

  • Once everyone is in agreement with the flow of the algorithm, code the algorithm in StremeCoder.

  • Update the descriptions by filling out the documentation template.

  • You can also upload your nodes to github, sending your koi or python files to your client/other team members

Resources To Help You Along:

YouTube Channel

Subscribe to our YouTube channel for more videos on StremeCoder.

Talk to the Developers on Discord

Join our discord community to talk directly with the developers of StremeCoder.

The StremeCoder sub-reddit

Join the community, see examples, post any questions or exciting projects you've been working on! 

Dave Peña's GitHub Page

The GitHub page from the creator of StremeCoder contains programs written in StremeCoder for you to try and nodes you can download and use for your own programs.

Need help getting started?
Just talk to us. We'll be happy to help you.

bottom of page