@@ -296,8 +296,8 @@ <h2 id="command-line-parameters-and-environment-variables">Command-line paramete
296296< p > Unfortunately, the way that the Processing.py command-line launcher is
297297written makes it impossible to supply extra parameters to your script on the
298298command line. As a workaround, you can use environment variables. For example,
299- here's a sketch that reads the environment variables < code > SKETCH_WIDTH </ code >
300- and < code > SKETCH_HEIGHT </ code > with Python's < code > os</ code > library and uses
299+ here's a sketch that reads the environment variables < code > ELLIPSE_SIZE_X </ code >
300+ and < code > ELLIPSE_SIZE_Y </ code > with Python's < code > os</ code > library and uses
301301them to initialize the size of an ellipse in the sketch:</ p >
302302
303303< pre > < code > import os
@@ -343,14 +343,14 @@ <h2 id="moving-a-project-from-the-ide-to-the-command-line-and-vice-versa">Moving
343343hand" using the following steps:</ p >
344344
345345< ul >
346- < li > Rename the main Python file of your sketch to have a ` .pyde`
346+ < li > Rename the main Python file of your sketch to have a < tt > .pyde</ tt >
347347extension.</ li >
348- < li > Make sure that the name of the directory that the ` .pyde` file is in
349- exactly matches the name of the ` .pyde` file itself. (E.g., if your
350- sketch is called ` foo.pyde` , the directory it's in should be called
351- ` foo` ).</ li >
352- < li > In the Processing IDE, use the ` File > Open` menu option and navigate to
353- the directory with your sketch. Select the ` .pyde` file and click
348+ < li > Make sure that the name of the directory that the < tt > .pyde</ tt > file is in
349+ exactly matches the name of the < tt > .pyde</ tt > file itself. (E.g., if your
350+ sketch is called < tt > foo.pyde</ tt > , the directory it's in should be called
351+ < tt > foo</ tt > ).</ li >
352+ < li > In the Processing IDE, use the < tt > File > Open</ tt > menu option and navigate to
353+ the directory with your sketch. Select the < tt > .pyde</ tt > file and click
354354 "Open."</ li >
355355</ ul >
356356
0 commit comments