Ira Krakow's Python 3 Tutorial Part 1 (Expressions)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
6,251
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 6, 2010

Discuss this video, and read the script for it, at: http://forum.irakrakow.com/viewtopic.php?f=31&t=311

The goal of this tutorial is to introduce Blender users, whether or not they are programmers, to Python 3. Blender 2.5 supports Python 3 scripts, which can let you program Blender behavioer very precisely. Of course, before you can create Blender scripts, you need to know Python 3. We will use the Blender 2.5 Scripting environment, which includes a Python console that supports most (but not all) of Python 3, as well as a fully featured text editor, with advanced features such as autocomplete and automatic indenting of code. I will point out where Blender's Python implementation differs from the standard Python 3 distribution. There are minor differences, none that should prevent you from writing fully featured scripts in Blender 2.5.

Before working through the examples in this tutorial, you need to download Blender 2.5. You can do this at: http://www.blender.org/download/get-25-alpha/

This series is based on the Python 3 tutorial, at: http://docs.python.org/dev/3.0/tutorial/. It is not meant to cover all aspects of Python 3. I will cover enough so that you should be able to write Python scripts in Blender 2.5. This tutorial, the first in my Python 3 Programming series, will cover the Blender 2.5 Python console, how to create simple expressions and assignments, and how to use the Python 3 console as a calculator. We'll go into more depth in further tutorials.

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (irakrakow)

  • This is so helpful for a complete newbie to programming. It's hard to find a video tutorial on 101 Python. Please continue with this series as this would greatly help someone who knows nothing about programming to understand Blender better and add to its functionality as required by the individual.

    A huge thanks!

  • That's exactly why I wrote it.  There's a tremendous amount of creativity that can be unleashed if you know both Blender and Python. I fully intend to cover all aspects of Python 3 that will help people who have written Blender 2.4x scripts to convert to 2.5.

  • Blender 2.49 will not run Python 3 scripts. Use Python 2 for blender 2.4x and Python 3 for Blender 2.5.

see all

All Comments (16)

Sign In or Sign Up now to post a comment!
  • Thanks !

  • if u know q basic or any other basic language , then it is a piece of cake

  • I like your tutorials. I just wish that you would use an IDE like Eclipse. I would also like it if you were to pan in to where you're writing to make it easier to read. Other then those, you're doing a great job.

  • You are awesome! thanks for this great vid

  • if i knew u i would give u a cola and a cookie! THX :D

  • I have long been afraid of learning programming. I have also been frustrated with the GUI of many programs. I think a quick efficient set of tutorials like this is the answer to my problem. Keep up the good work!!!!

    THANKS!

  • Very cool, I know I have a few scripts that need converting.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more