On 10/11/16 13:08, Brian Schindler wrote:
> I'm trying to convert the following code from MEL (Maya Embedded Language)
> to Python
You'll probably get better support fromthe Maya community than here
since most of us don;'t know anything about Maya's language.
> and having trouble with syntax
On Thu, Nov 10, 2016 at 08:08:14AM -0500, Brian Schindler wrote:
> I'm trying to convert the following code from MEL (Maya Embedded
> Language) to Python and having trouble with syntax errors in the
> conditional statement. Could you help me out?
Only if you help us to help you. I don't know
Brian Schindler wrote:
> I'm trying to convert the following code from MEL (Maya Embedded Language)
> to Python and having trouble with syntax errors in the conditional
> statement.
What did you try?
> Could you help me out?
>
> float $pos[3] = `xform -q -rp $obj`;
> if ($pos[0] != 0 ||
I'm trying to convert the following code from MEL (Maya Embedded Language) to
Python and having trouble with syntax errors in the conditional statement.
Could you help me out?
float $pos[3] = `xform -q -rp $obj`;
if ($pos[0] != 0 || $pos[1] != 0 || $pos[2] != 0)
Brian Schindler
On 09/11/16 22:30, Bryon Adams wrote:
> Hello,
> Working on a simple function to get an IP address and make it look
> pretty for the PyNet course. I'm wondering if there's way to evenly
> space text with the string.format() method similar to how I'm doing it
> with the % operator.
Yes,
On 10/11/16 00:18, Jordan Trudell wrote:
> Hello, I need help running a script, as I am getting an error.
OK, But we need to know what version of Python and which OS you use.
Also post the script and the full error message you get.
(Don't send attachments because they usually get stripped
by
Bryon Adams wrote:
> Hello,
> Working on a simple function to get an IP address and make it look
> pretty for the PyNet course. I'm wondering if there's way to evenly
> space text with the string.format() method similar to how I'm doing it
> with the % operator. The last two prints keep