Problem executing string In 2.79 I was using exec() with a string to run operators, however in 2.8 copying from the info panel into exec() gives an error with the constraint_matrix:

exec("bpy.ops.transform.translate(value=(29.2064, -10.7433, 26.947), constraint_matrix=(1, 0, 0, 0, 1, 0, 0, 0, 1))")




Traceback (most recent call last):
  File "&lt;blender_console&gt;", line 1, in &lt;module&gt;
  File "&lt;string&gt;", line 1, in &lt;module&gt;
  File "C:\Program Files\Blender Foundation\Blender 2-8\2.80\scripts\modules\bpy\ops.py", line 200, in __call__
    ret = op_call(self.idname_py(), None, kw)
TypeError: Converting py args to operator properties:  expected a sequence of float, not int


Is there any way to be able to exec() from a string copied straight from the info panel?
Seems it's not a issue with the way you're doing it. It also throws a error if you run it like this.

import bpy

bpy.ops.transform.translate(value=(29.2064, -10.7433, 26.947), constraint_matrix=(1, 0, 0, 0, 1, 0, 0, 0, 1))


or if you changed the numbers like this.

import bpy

bpy.ops.transform.translate(value=(29.2064, -10.7433, 26.947), constraint_matrix=(1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0))


I reported as bug ,but it got closed. If you look at docs you can do something like this. https://docs.blender.org/api/blender2.8/bpy.ops.transform.html#bpy.ops.transform.translate

import bpy

exec("bpy.ops.transform.translate(value=(29.2064, -10.7433, 26.947), constraint_matrix=((1, 0, 0), (0, 1, 0), (0, 0, 1)))")


Looks like it doesn't get everything printed in Info window and causes the error.