I have searched for five hours trying to find a good tutorial on how to use processing.py in atom. I’m finally creating this topic so that someone who does know how to do it can help anyone else that has this problem. Specifically, I’m looking for a solution where you don’t have to manually write your file path each time.
The types of answers that I’m am hoping for are the kinds that involve screenshots, and are easy to follow. Too many times I came across a post that assumed other knowledge. For this topic it would be great if you could pretend that we knew only the basics of how to use a computer. You don’t have to include everything like how to set environment variables because I will leave some links to people that need to know how to do that. If anyone reading this comes across anything that I didn’t include leave a response and I’ll add it, also feel free to tell me edits I should make to this post because there is definitely (probably) things wrong with this post.
Notice: A really easy solution to this is to have a package that automatically runs the command:
java -jar processing-py.jar <get file name>.py
However, I don’t know how to get the file name.
Thanks for the great answer!
TUTORIALS AN ANSWER-ER MIGHT NEED ARE AFTER THIS POINT:
How To Set Environment Variables: Click on the windows icon and type “control panel”, click on control panel. Click on the “System and Security” text that is green. Next, click on the piece of green text three down, it says “System”. On the left of your screen click “Advanced system settings”, next you should have a popup window that says things like “Performance”, “User Profiles”, etc. Click on the button that says “Environment Variables…” Now click on path:
You can see Path on the left side of the screen the second option up from the bottom.
Next click “Edit…” on the bottom side (there are two edit buttons). Finally, click new and add the path on your computer to the file that an answer says to add. To end it all off, click “OK” as many times as needed to close all of the windows, now you are done.
How to install packages in Atom: To install packages in Atom; open Atom and click “Ctrl+,” then hit install on the left side of the Atom window. Next type in any package that you need to install into the text box that will appear in the top middle of your screen and hit enter. Now you can click install under the package name and you are done.
How to go to settings for a package in Atom: To go to settings for a certain package follow all of the steps of “How to install packages in Atom” and then click settings under the name of the package
How to use a package in Atom: To use a package in Atom click tools on the top of your screen, then on the drop down that appears click on the package you want to use. This will either:
- Run the package’s action immediately
- Open another drop down where you can choose from multiple actions where you can then choose one to use
Then you are done, those are both of the cases and will both run your package.