Question about python 3.2 distutils

2012-03-16 Thread Collin Day
Hi all, I have a question about python 3.2 distutils on a Gentoo amd64 system. When I open an ipython session and import distutils.unixcompiler and then check the shared library extension with UnixCCompiler.shared)lib_extension, it returns '.so', as I would expect. When I run a setup.py in

PIL for py3k not picking up external libraries

2012-03-16 Thread Collin Day
Hi all, I am using python 3.2 on an amd64 Gentoo system. I was trying to compile an unofficial version of PIL to work in 3.2 that I found here: http://www.lfd.uci.edu/~gohlke/pythonlibs Anyway, when I run the setup.py to compile the source, it doesn't pick up tkinter, zlib, or freetype. Wh

Factoring Polynomials

2008-12-18 Thread collin . day . 0
I am trying to write a simple application to factor polynomials. I wrote (simple) raw_input lines to collect the a, b, and c values from the user, but I dont know how to implement the quadratic equation x = (-b +or- (b^2 - 4ac)^1/2) / 2a into python. Any ideas? -- http://mail.python.org/mailman/l