print works with Python shipped with Softimage, because we re-compiled something Python stuff with VC 2010. It doesn't work with the Python installed on your system.
From: [email protected] [mailto:[email protected]] On Behalf Of Eric Turman Sent: May-01-12 1:24 PM To: [email protected] Subject: Re: Beginners Guide to Python I could be wrong, but I believe that they had to deprecate "print" in Softimage for release 2013. On Tue, May 1, 2012 at 11:59 AM, Michal Doniec <[email protected]<mailto:[email protected]>> wrote: print works in Softimage, since v. 2010 I believe, On Tue, May 1, 2012 at 4:44 PM, Peter Agg <[email protected]<mailto:[email protected]>> wrote: > There's certainly an element of truth to that, yeah. On the other hand the > biggest thing with leaning Python in practice - and using it in a program > you use every day is the best way to do that. If you every have to do > anything more than 3 times then there's really no excuse not to work with a > Script Editor always open, and if you have one open anyway, you might as > well learn how to write it better! > > There's certainly a lot of... oddities to using it in XSI (having to use 2.5 > in Linux, having to live with no print statement on the PC, modules being a > bit of a faff etc) but if that's the difference between using it every day > and using it a couple of times a week I'd say that's a good compromise to > make. You just have to make sure you to keep pushing yourself to learn > Python as opposed to 'Python in XSI'. > > > > On 1 May 2012 16:30, Bradley Gabe > <[email protected]<mailto:[email protected]>> wrote: >> >> I'd helped to train a bunch of people into Python for XSI over a range of >> time, so my advice would be with respect to the process of learning. >> >> First learn Python. >> Then work on Python in the context of XSI. >> >> Why? >> >> It's important for you to understand the syntax and logic structure of >> Python as its own entity before you inject the idiosyncrasies of XSI, with >> ActiveX, and the Object Model. >> >> You want to review each data type in Python, learn about their built in >> methods, learn how to convert between them. During this process you will >> quickly come to realize how powerful Python is compared to VBscript, and how >> Python rewards you for being clever which makes it more fun to work with. >> The O'Reilly book on learning basic Python is excellent for learning in this >> structure. >> >> From personal experience, I had been tinkering with Python in XSI for >> about a year (after many years of coding in jscript) before I shifted into >> building a pipeline using a Python-based web development language that had >> nothing to do with XSI. It was only after my experience dealing with >> building custom data structures, and eventually messing around with the guts >> of Python to manipulate information at the core that I really developed an >> appreciation and love for the language, and ultimately progressed towards >> being a power user once back in XSI. >> >> -B > > -- ---------- Michal http://uk.linkedin.com/in/mdoniec -- -=T=-
<<attachment: winmail.dat>>

