Download Maya Python for Games and Film: A Complete Reference for by Adam Mechtley, Ryan Trowbridge PDF

By Adam Mechtley, Ryan Trowbridge

ISBN-10: 0123785790

ISBN-13: 9780123785794

Maya Python for video games and Film is the 1st booklet to concentration solely on how you can enforce Python with Maya. Written via depended on gurus within the box, this in-depth advisor might help you grasp Maya Python, no matter if you're a pro technical artist trying to make the transition from MEL to Python or an aspiring artist no longer eager to scramble for info.

Show description

Read Online or Download Maya Python for Games and Film: A Complete Reference for Maya Python and the Maya Python API PDF

Best python books

Learning Python: Powerful Object-Oriented Programming (4th Edition)

Google and YouTube use Python simply because it's hugely adaptable, effortless to take care of, and makes it possible for swift improvement. so that it will write top of the range, effective code that's simply built-in with different languages and instruments, this hands-on publication can assist you be efficient with Python quick -- no matter if you're new to programming or simply new to Python.

Real Python: An Introduction to Python Through Practical Examples

An book to educate programming via hands-on, fascinating examples which are invaluable and fun!

Python is a smart programming language. It's loose, strong, more straightforward to learn than so much languages, and has extensions on hand to do virtually whatever you'll think automatically.

But how do you definitely use it? There are a whole bunch assets available in the market for studying Python, yet none of them are very useful or fascinating - in its place, they move over every one inspiration one after the other, by no means tying something jointly, yet spending lots of time misplaced in technical language, discussing the twenty other ways to complete every one simple job. ..

I are looking to write an booklet that at last offers a concise advent to every little thing you could truly are looking to do with Python.

We'll begin with a short yet thorough evaluation of the entire fundamentals, so that you don't even want any previous event with programming. however the majority of the booklet should be spent build up instance code to resolve fascinating real-world problems.

Python is amazing for automating repetitive projects that will another way take you hours - for example, fast collecting info from the net, or renaming enormous quantities of documents. the various subject matters that I'm making plans to cover:

Collecting info from webpages (web scraping)
Interacting with PDF records - examining info, growing PDFs, editing pages, including passwords. ..
Interacting with Excel documents (less performance in OS X)
Calling different outdoor courses from inside Python
Files - read/write/modify, unzip, rename, circulation, etc.
Basic video game development
Interacting with SQL databases (internal and ODBC connections)
GUI (Graphical consumer Interface) layout - developing uncomplicated point-and-click courses that any one can use
Any different issues that you simply, my backers, are so much in!
Update: via renowned call for, I'll be including net program development

All similar path fabrics downloadable at: http://www. psychotix. com/share/Real_Python. zip

Python Algorithms: Mastering Basic Algorithms in the Python Language

Python Algorithms explains the Python method of set of rules research and layout.

Written by means of Magnus Lie Hetland, writer of starting Python, this ebook is sharply inquisitive about classical algorithms, however it additionally supplies a high-quality figuring out of primary algorithmic problem-solving ideas.

The booklet bargains with one of the most very important and tough components of programming and laptop technology, yet in a hugely pedagogic and readable manner.

The ebook covers either algorithmic thought and programming perform, demonstrating how conception is mirrored in actual Python programs.

Well-known algorithms and information buildings which are equipped into the Python language are defined, and the consumer is proven tips on how to enforce and review others himself.

Testing Python: Applying Unit Testing, TDD, BDD and Acceptance Testing

Basic trying out methodologies utilized to the preferred Python language

Testing Python; making use of Unit trying out, TDD, BDD and attractiveness trying out is the main complete publication on hand on checking out for one of many best software program programming languages on this planet. Python is a ordinary selection for brand spanking new and skilled builders, and this hands-on source is a far wanted consultant to enterprise-level trying out improvement methodologies. The booklet will exhibit you why Unit checking out and TDD can result in cleanser, extra versatile programs.

Unit trying out and Test-Driven improvement (TDD) are more and more must-have talents for software program builders, it doesn't matter what language they paintings in. In firm settings, it's severe for builders to make sure they consistently have operating code, and that's what makes checking out methodologies so appealing. This publication will train you the main common trying out ideas and should introduce to you to nonetheless others, overlaying functionality checking out, non-stop checking out, and more.

Learn Unit checking out and TDD—important improvement methodologies that lie on the middle of Agile development
Enhance your skill to paintings with Python to enhance strong, versatile purposes with fresh code
Draw at the services of writer David Sale, a number one united kingdom developer and tech commentator
Get prior to the gang by means of studying the underappreciated international of Python testing
Knowledge of software program checking out in Python may set you except Python builders utilizing superseded methodologies. Python is a average healthy for TDD and checking out Python is a must-read textual content for someone who desires to improve services in Python programming.

Extra resources for Maya Python for Games and Film: A Complete Reference for Maya Python and the Maya Python API

Example text

Result: [u'pSphere2', u'polySphere2'] Apart from printing results, there are two important things worth noting about the previous step. First, highlighting a portion of code and then pressing Ctrl + Return will execute only the highlighted code. Second, highlighting code in this way before executing it prevents the contents of the Input Panel from emptying out. Another useful feature of the Script Editor is that it has support for marking menus. Marking menus are powerful, context-sensitive, gesture-based menus that appear throughout the Maya application.

You should see a new set of options in the bottom part of the marking menu. 4. Move your mouse over the Command Documentation option in the bottom of the marking menu and release the RMB. Maya should now open a web browser displaying the help documentation for the polySphere command. As you can see, the Script Editor is a very useful tool not only for creating and executing Python scripts in Maya, but also for quickly pulling up information about commands in your script. We will look at the command documentation later in this chapter.

Use mathematical operators with numeric types. ■ Use logical and bitwise operators with Boolean variables. ■ Use common operators with sequence types. ■ Manipulate nested lists. ■ Create Unicode and raw strings. ■ Format strings that contain variable values. ■ Compare and contrast sets and dictionaries with sequence types. In Chapter 1, we covered executing commands in Maya using Python. To do anything interesting, however, we need more tools to create programs. In this chapter we will explore some of the basics for working with variables in Python.

Download PDF sample

Rated 4.55 of 5 – based on 26 votes