I may have your problem:
if prime < 0:
primes.append(x)
else:
print x, "is not prime. " # highlights the final
"
you have to separate each output with a comma, so try adding one after
x.
--
http://mail.python.org/mailman
On Mar 11, 9:24 pm, [EMAIL PROTECTED] wrote:
> Hi, I searched for this on google and in this group, but my awesome
> google-fu powers failed me. Is there a way to open any file using
> default program that'd open it? In other words, to do the same action
> as double-clicking in windows explorer? An
print "hello"
py_compile.compile("test_compile.py", "C:\test_compile.pyc")
The manual page for py_compile.compile() can be found on this page:
http://www.python.org/doc/2.5.2/lib/module-pycompile.html
Hope that helps.
Cheers,
Wubbulous
--
http://mail.python.org/mailman/listinfo/python-list
Yes, apologies, I overlooked that detail. If using a different version
of the binary, (i.e. 3.0 vs 2.6) you will have to re-compile the
source code.
--
http://mail.python.org/mailman/listinfo/python-list