I have the following:
OS = RedHat
ImagMagick installed.
Python v2.5
---------------------
When I run the following command:
[EMAIL PROTECTED] david.huggins]# identify -format %w
'/someDIR/images/david.huggins/100_0264.JPG'
I get the following result
2304
--------------------
However, when I try to set this value to a variable, ie
w= os.system("identify -format %w
'/someDIR/images/david.huggins/100_0264.JPG'")
print w
I get
TypeError: argument 1 must be string or read-only buffer, not int
NOTE: This is coming from a Python Servlet Page.
As always, any input is GREATLY appreciated.
Thanks
Dave
--
http://mail.python.org/mailman/listinfo/python-list