Rename a file: Difference between revisions

Content added Content deleted
(Added solution for Action!)
m (→‎{{header|Processing}}: fix bogus markup)
Line 1,035: Line 1,035:
}</lang>
}</lang>


===Processing Python mode===
<lang python>from java.io import File
<lang python>from java.io import File


def setup():
=={{header|Processing Python mode}}==

<lang python>def setup():
# rename local file
# rename local file
sketchfile = rename(sketchPath("input.txt"), sketchPath("output.txt"))
sketchfile = rename(sketchPath("input.txt"), sketchPath("output.txt"))