﻿<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Doc%3A2.6%2FManual%2FExtensions%2FPython%2FIntro_to_Python</id>
	<title>Doc:2.6/Manual/Extensions/Python/Intro to Python - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Doc%3A2.6%2FManual%2FExtensions%2FPython%2FIntro_to_Python"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Doc:2.6/Manual/Extensions/Python/Intro_to_Python&amp;action=history"/>
	<updated>2026-05-17T02:45:52Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Doc:2.6/Manual/Extensions/Python/Intro_to_Python&amp;diff=94157&amp;oldid=prev</id>
		<title>Yamyam: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Doc:2.6/Manual/Extensions/Python/Intro_to_Python&amp;diff=94157&amp;oldid=prev"/>
		<updated>2018-06-28T18:45:53Z</updated>

		<summary type="html">&lt;p&gt;1版 をインポートしました&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2018年6月28日 (木) 18:45時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ja&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(相違点なし)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Yamyam</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Doc:2.6/Manual/Extensions/Python/Intro_to_Python&amp;diff=94156&amp;oldid=prev</id>
		<title>wiki&gt;Gregschlom: /* Video Turorials */ &lt;-- fix typo</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Doc:2.6/Manual/Extensions/Python/Intro_to_Python&amp;diff=94156&amp;oldid=prev"/>
		<updated>2014-03-26T22:56:07Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Video Turorials: &lt;/span&gt; &amp;lt;-- fix typo&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Page/Header|2.5|Doc:2.5/Manual/Extensions/Python/Add-Ons|Doc:2.5/Manual/Extensions/Python/Console}}&lt;br /&gt;
&lt;br /&gt;
{{review|partial=X|text=Just started. If you have any suggestions, please add them in the discussion page. Thank you.}}&lt;br /&gt;
&lt;br /&gt;
= Why another Python tutorial? =&lt;br /&gt;
&lt;br /&gt;
This page exists for two reasons.&lt;br /&gt;
&lt;br /&gt;
# To introduce Programming using Python 3.x quickly and efficiently.&lt;br /&gt;
# And most importantly teach inside of Blender's Console, so you can learn in context.&lt;br /&gt;
# See [[#External links|External links]] below&lt;br /&gt;
&lt;br /&gt;
= What is Programming? =&lt;br /&gt;
&lt;br /&gt;
Programming in simple terms is nothing more than manipulating data. Operations on the data either modifies it, or create new data.&lt;br /&gt;
&lt;br /&gt;
The simplest data is Numbers. Operations on Numbers are addition, Subtraction, multiplication etc., Its the simplest type of data imaginable.&lt;br /&gt;
&lt;br /&gt;
But for solving real world problems, we need have compound data, that is built from simpler data like numbers. A good example is Vector data type, that is built from 3 numbers.&lt;br /&gt;
&lt;br /&gt;
During the course of this tutorial, we will take a look at what data types that Python language provides and how you can create your own custom data for your programs and also write operations that work with that data.&lt;br /&gt;
&lt;br /&gt;
= What is Python? =&lt;br /&gt;
[http://www.python.org Python ] is an interpreted, interactive, object-oriented programming language. It incorporates modules, exceptions, dynamic typing, very high level dynamic data types, and classes. Python combines remarkable power with very clear syntax.&lt;br /&gt;
&lt;br /&gt;
Learning Python is also very easy, even if you have never programmed before.&lt;br /&gt;
&lt;br /&gt;
= Python Interpreter =&lt;br /&gt;
All the exercises in this tutorial will be using the built-in Console window type in Blender 2.6, which has a Python 3.2 interpreter embedded in it.&lt;br /&gt;
&lt;br /&gt;
Following is a video that shows how you can switch to the interpreter.&lt;br /&gt;
&amp;lt;center&amp;gt; &amp;lt;youtube&amp;gt;Ge2Kwy5EGE0&amp;lt;/youtube&amp;gt; &amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Manual-Part-XX-Manual-Extensions-Python-Console-Default-Console.png|600px]]&lt;br /&gt;
&lt;br /&gt;
You can start typing Python commands, expressions and statements at the interpreter prompt '''&amp;gt;&amp;gt;&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
= Hello World =&lt;br /&gt;
&lt;br /&gt;
Let's get started with the classical &amp;quot;Hello World&amp;quot; program.&lt;br /&gt;
&lt;br /&gt;
Type the following print statement at the interpreter prompt and press {{Shortcut|Enter}} key.&lt;br /&gt;
&lt;br /&gt;
[[File:Manual-Part-XX-Manual-Extensions-Python-Tutorial-Hello-World.jpg]]&lt;br /&gt;
&lt;br /&gt;
Let's break down the above statement.&lt;br /&gt;
# ''&amp;quot;Hello World&amp;quot;'' is a string [http://en.wikipedia.org/wiki/Literal_(computer_science) literal] in Python.&lt;br /&gt;
## A string is a sequence of characters (numbers, alphabets, special characters)&lt;br /&gt;
# ''print()'' is a built-in function in Python to print output.&lt;br /&gt;
# ''print(&amp;quot;Hello World&amp;quot;)'' outputs ''Hello World'' to the console.&lt;br /&gt;
&lt;br /&gt;
;'''Exercise''': Type the following commands and check the output&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
 print('&amp;quot;Hello World&amp;quot;')&lt;br /&gt;
 print(&amp;quot;'Hello \n World'&amp;quot;)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In Python, a string literal can be multiplied by a ''number''. By doing so we are repeating the string by the count specified by ''number''&lt;br /&gt;
* number * string literal&lt;br /&gt;
* string literal * number&lt;br /&gt;
* '''*''' is the multiplication operator in Python&lt;br /&gt;
&lt;br /&gt;
[[File:Manual-Part-XX-Manual-Extensions-Python-Tutorial-Hello-World2.jpg]]&lt;br /&gt;
&lt;br /&gt;
{{Note|Note|Check out [[Doc:2.6/Manual/Extensions/Python/Intro to Python/Examples|all the above examples in one place]]}}&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Webpages ==&lt;br /&gt;
&lt;br /&gt;
* http://www.sthurlow.com/python/&lt;br /&gt;
&lt;br /&gt;
== Video Tutorials ==&lt;br /&gt;
&lt;br /&gt;
* If you want to learn Python programming in general, have a look at this tutorials &amp;lt;playlist&amp;gt;EA1FEF17E1E5C0DA&amp;lt;/playlist&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Page/Footer|Doc:2.5/Manual/Extensions/Python/Add-Ons|Doc:2.5/Manual/Extensions/Python/Console}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Script]]&lt;/div&gt;</summary>
		<author><name>wiki&gt;Gregschlom</name></author>
		
	</entry>
</feed>