<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://kfdani-001-site10.gtempurl.com/index.php?action=history&amp;feed=atom&amp;title=OpenSite%2FGuides%2FEdit_Python_scripts</id>
	<title>OpenSite/Guides/Edit Python scripts - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://kfdani-001-site10.gtempurl.com/index.php?action=history&amp;feed=atom&amp;title=OpenSite%2FGuides%2FEdit_Python_scripts"/>
	<link rel="alternate" type="text/html" href="https://kfdani-001-site10.gtempurl.com/index.php?title=OpenSite/Guides/Edit_Python_scripts&amp;action=history"/>
	<updated>2026-10-30T01:57:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://kfdani-001-site10.gtempurl.com/index.php?title=OpenSite/Guides/Edit_Python_scripts&amp;diff=955&amp;oldid=prev</id>
		<title>BathAfrica: Add source-reviewed, step-by-step OpenSite user workflow</title>
		<link rel="alternate" type="text/html" href="https://kfdani-001-site10.gtempurl.com/index.php?title=OpenSite/Guides/Edit_Python_scripts&amp;diff=955&amp;oldid=prev"/>
		<updated>2026-10-29T22:08:32Z</updated>

		<summary type="html">&lt;p&gt;Add source-reviewed, step-by-step OpenSite user workflow&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
{{OpenSite scope}}&lt;br /&gt;
{{OpenSite lesson&lt;br /&gt;
|id=opensite.help.edit-python-scripts&lt;br /&gt;
|summary=Use editor assistance, search and run scope to make a script repeatable.&lt;br /&gt;
|prerequisites=The Python workbench. Use a practice UTF-8 script and a trusted embedded runtime.&lt;br /&gt;
|steps=&lt;br /&gt;
=== Create or open a file ===&lt;br /&gt;
Choose the Python workbench, then New script or Open script. A script opens in a central tab. Save script/Save script as controls are distinct from engineering-document Save.&lt;br /&gt;
&lt;br /&gt;
=== Choose the run scope ===&lt;br /&gt;
{{{!}} class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Action !! Editor shortcut&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}} Run file {{!}}{{!}} Ctrl+Enter&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}} Run selection {{!}}{{!}} Ctrl+Shift+Enter&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}} Run current line {{!}}{{!}} Shift+Enter&lt;br /&gt;
{{!}}}&lt;br /&gt;
Put the editor in focus. Running a buffer does not save it. A selection may omit setup code that the complete file needs.&lt;br /&gt;
&lt;br /&gt;
=== Use assistance appropriately ===&lt;br /&gt;
Ctrl+Space requests completion; Ctrl+Shift+Space requests signature help. F12 requests a definition lookup. Assistance is for the current file and supported runtime help, not a project-wide language server or proof that your code is correct.&lt;br /&gt;
&lt;br /&gt;
=== Find and correct text ===&lt;br /&gt;
Ctrl+F opens Find; Ctrl+H opens Replace. Match-case/whole-word options are available; regular expressions are not. Ctrl+G opens Go to line. Inspect a Replace All result before running the modified script.&lt;br /&gt;
&lt;br /&gt;
=== Save and inspect output ===&lt;br /&gt;
Save a named file so traceback paths and breakpoints are meaningful. Workbench stdout/stderr appears in the shared Output panel. Use [[OpenSite/Guides/Inspect Output]].&lt;br /&gt;
&lt;br /&gt;
=== Debug when needed ===&lt;br /&gt;
Use the saved file’s breakpoints and Debug file; see [[OpenSite/Guides/Debug a Python script]]. Do not start another run while the shared lane is paused or busy.&lt;br /&gt;
|result=You can edit/save a script, select the intended run scope and find its diagnostic output.&lt;br /&gt;
|limitations=Save As changes the script path and breakpoint association. An unsaved or closed editor buffer is not stored inside an engineering document.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Continue learning ==&lt;br /&gt;
[[OpenSite/User manual|User manual]] · [[OpenSite/Tutorials|Tutorial pathways]] · [[OpenSite/Support|Get help]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;os-page-nav&amp;quot;&amp;gt;{{Docnav|OpenSite/Guides/Use Python Console|OpenSite/Guides/Run your first script|OpenSite/User manual|User manual}}&amp;lt;/div&amp;gt;&lt;br /&gt;
[[Category:OpenSite documentation]]&lt;/div&gt;</summary>
		<author><name>BathAfrica</name></author>
	</entry>
</feed>