Standalone Python/Sage Scripts
The tutorial example from
http://doc.sagemath.org/html/en/tutor...
is working only for integers. It does not work for symbolic expressions. It becomes working by renaming the script from "factor" to "factor.sage" and replacing the last line by
print factor(sage_eval(sys.argv[1],locals={'x':x}))
Is there anything wrong in my configuration of Sage?