<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mscneuro.neuro.uni-bremen.de/index.php?action=history&amp;feed=atom&amp;title=Hello%2C_Python</id>
	<title>Hello, Python - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mscneuro.neuro.uni-bremen.de/index.php?action=history&amp;feed=atom&amp;title=Hello%2C_Python"/>
	<link rel="alternate" type="text/html" href="https://mscneuro.neuro.uni-bremen.de/index.php?title=Hello,_Python&amp;action=history"/>
	<updated>2026-06-16T16:38:40Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://mscneuro.neuro.uni-bremen.de/index.php?title=Hello,_Python&amp;diff=308&amp;oldid=prev</id>
		<title>Davrot at 15:45, 17 October 2025</title>
		<link rel="alternate" type="text/html" href="https://mscneuro.neuro.uni-bremen.de/index.php?title=Hello,_Python&amp;diff=308&amp;oldid=prev"/>
		<updated>2025-10-17T15:45:54Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:45, 17 October 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== The goal ==&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This is the first step in running something in Python.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This is the first step in running something in Python.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki:diff:1.41:old-130:rev-308:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Davrot</name></author>
	</entry>
	<entry>
		<id>https://mscneuro.neuro.uni-bremen.de/index.php?title=Hello,_Python&amp;diff=130&amp;oldid=prev</id>
		<title>Davrot: Created page with &quot; == The goal == This is the first step in running something in Python.  Questions to [mailto:davrot@uni-bremen.de David Rotermund]  == These are the same stings == &lt;syntaxhighlight lang=&quot;python&quot;&gt;some_string = &quot;this is a string&quot; some_string = &#039;this is a string&#039;&lt;/syntaxhighlight&gt;&lt;syntaxhighlight lang=&quot;python&quot;&gt;print(some_string)​&lt;/syntaxhighlight&gt;Output:&lt;syntaxhighlight lang=&quot;python&quot;&gt;this is a string​&lt;/syntaxhighlight&gt;  == These are comments == &lt;syntaxhighlight lang=&quot;py...&quot;</title>
		<link rel="alternate" type="text/html" href="https://mscneuro.neuro.uni-bremen.de/index.php?title=Hello,_Python&amp;diff=130&amp;oldid=prev"/>
		<updated>2025-10-14T15:58:09Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; == The goal == This is the first step in running something in Python.  Questions to [mailto:davrot@uni-bremen.de David Rotermund]  == These are the same stings == &amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;some_string = &amp;quot;this is a string&amp;quot; some_string = &amp;#039;this is a string&amp;#039;&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;print(some_string)​&amp;lt;/syntaxhighlight&amp;gt;Output:&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;this is a string​&amp;lt;/syntaxhighlight&amp;gt;  == These are comments == &amp;lt;syntaxhighlight lang=&amp;quot;py...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
== The goal ==&lt;br /&gt;
This is the first step in running something in Python.&lt;br /&gt;
&lt;br /&gt;
Questions to [mailto:davrot@uni-bremen.de David Rotermund]&lt;br /&gt;
&lt;br /&gt;
== These are the same stings ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;some_string = &amp;quot;this is a string&amp;quot;&lt;br /&gt;
some_string = &amp;#039;this is a string&amp;#039;&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;print(some_string)​&amp;lt;/syntaxhighlight&amp;gt;Output:&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;this is a string​&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== These are comments ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;# This is comment​&lt;br /&gt;
a = 1  # This is a comment too! (not the a=1)​&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== [https://docs.python.org/3/library/functions.html#print​ print] ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;print(*objects, sep=&amp;#039; &amp;#039;, end=&amp;#039;\n&amp;#039;, file=None, flush=False)&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;blockquote&amp;gt;Print objects to the text stream file, separated by sep and followed by end. sep, end, file, and flush, if present, must be given as keyword arguments.&lt;br /&gt;
&lt;br /&gt;
All non-keyword arguments are converted to strings like str() does and written to the stream, separated by sep and followed by end. Both sep and end must be strings; they can also be None, which means to use the default values. If no objects are given, print() will just write end.&lt;br /&gt;
&lt;br /&gt;
The file argument must be an object with a write(string) method; if it is not present or None, sys.stdout will be used. Since printed arguments are converted to text strings, print() cannot be used with binary mode file objects. For these, use file.write(…) instead.&lt;br /&gt;
&lt;br /&gt;
Output buffering is usually determined by file. However, if flush is true, the stream is forcibly flushed.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== [https://docs.python.org/3/library/functions.html#help Help!] ==&lt;br /&gt;
&lt;br /&gt;
=== Help for a function ===&lt;br /&gt;
Here the function round() as an example. Please note that () is missing with the help function:&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;help(round)&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;Help on built-in function round in module builtins:&lt;br /&gt;
&lt;br /&gt;
round(number, ndigits=None)&lt;br /&gt;
    Round a number to a given precision in decimal digits.&lt;br /&gt;
    &lt;br /&gt;
    The return value is an integer if ndigits is omitted or None.  Otherwise&lt;br /&gt;
    the return value has the same type as the number.  ndigits may be negative.&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Help for a keyword ===&lt;br /&gt;
Keywords are build-in core instructions.&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;help(&amp;quot;for&amp;quot;)&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;The &amp;quot;for&amp;quot; statement&lt;br /&gt;
*******************&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;for&amp;quot; statement is used to iterate over the elements of a sequence&lt;br /&gt;
(such as a string, tuple or list) or other iterable object:&lt;br /&gt;
&lt;br /&gt;
   for_stmt ::= &amp;quot;for&amp;quot; target_list &amp;quot;in&amp;quot; expression_list &amp;quot;:&amp;quot; suite&lt;br /&gt;
                [&amp;quot;else&amp;quot; &amp;quot;:&amp;quot; suite]&lt;br /&gt;
&lt;br /&gt;
The expression list is evaluated once; it should yield an iterable&lt;br /&gt;
object.  An iterator is created for the result of the&lt;br /&gt;
[...]&amp;lt;/syntaxhighlight&amp;gt;In the case when you are not sure if something is a keyword, you can check it like [https://docs.python.org/3/library/keyword.html this]:&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;import keyword&lt;br /&gt;
print(keyword.kwlist)&lt;br /&gt;
print(keyword.softkwlist)&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;[&amp;#039;False&amp;#039;, &amp;#039;None&amp;#039;, &amp;#039;True&amp;#039;, &amp;#039;and&amp;#039;, &amp;#039;as&amp;#039;, &amp;#039;assert&amp;#039;, &amp;#039;async&amp;#039;, &amp;#039;await&amp;#039;, &amp;#039;break&amp;#039;, &amp;#039;class&amp;#039;, &amp;#039;continue&amp;#039;, &amp;#039;def&amp;#039;, &amp;#039;del&amp;#039;, &amp;#039;elif&amp;#039;, &amp;#039;else&amp;#039;, &amp;#039;except&amp;#039;, &amp;#039;finally&amp;#039;, &amp;#039;for&amp;#039;, &amp;#039;from&amp;#039;, &amp;#039;global&amp;#039;, &amp;#039;if&amp;#039;, &amp;#039;import&amp;#039;, &amp;#039;in&amp;#039;, &amp;#039;is&amp;#039;, &amp;#039;lambda&amp;#039;, &amp;#039;nonlocal&amp;#039;, &amp;#039;not&amp;#039;, &amp;#039;or&amp;#039;, &amp;#039;pass&amp;#039;, &amp;#039;raise&amp;#039;, &amp;#039;return&amp;#039;, &amp;#039;try&amp;#039;, &amp;#039;while&amp;#039;, &amp;#039;with&amp;#039;, &amp;#039;yield&amp;#039;]&lt;br /&gt;
[&amp;#039;_&amp;#039;, &amp;#039;case&amp;#039;, &amp;#039;match&amp;#039;]&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Davrot</name></author>
	</entry>
</feed>