I use RealFlow, a dynamics/fluids simulation program, and it uses Python scripting. So, I got Python for Dummies ebook, I started to read it and I just couldn't grasp the idea. I am a Graphic Designer/2D and 3D Animator. I just couldn't see how Python would integrate into the RealFlow program.
Could someone tell me what I would be able to do with python in RealFlow?
I'm just curious. I think Python is the hardest program I've ever attemted to learn on my own.
I can't grasp why I would use something like this in RealFlow:
>>> 3.2 # canonical 3.2000000000000002 >>> str(3.2) # nice '3. 2' >>> repr(3.2) # canonical '3.2000000000000002' >>> print 3.2 # nice 3.2
and what the hell does this mean?:
>>> "monty python" # This is an expression and a literal. 'monty python' >>> x = 25 # This is a statement. 25 is a literal. >>> x # This is an expression. 25 >>> 2 in [1, 2, 3] # This is also an expression. True >>> def foo(): # This is a statement. ... return 1 # return is a statement; 1 is an expression. ... >>> foo() # foo is a name; foo() is an expression. 1