Skip to content

Commit cc9dce7

Browse files
committed
copyediting
1 parent 65e0cf1 commit cc9dce7

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

‎Tutorials/command-line/index.html‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -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
297297
written makes it impossible to supply extra parameters to your script on the
298298
command 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
301301
them 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
343343
hand&quot; 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>
347347
extension.</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&#39;s in should be called
351-
`foo`).</li>
352-
<li>In the Processing IDE, use the `File &gt; 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&#39;s in should be called
351+
<tt>foo</tt>).</li>
352+
<li>In the Processing IDE, use the <tt>File &gt; Open</tt> menu option and navigate to
353+
the directory with your sketch. Select the <tt>.pyde</tt> file and click
354354
&quot;Open.&quot;</li>
355355
</ul>
356356

0 commit comments

Comments
 (0)