Message146309
| Author |
sjdv1982 |
| Recipients |
Arfrever, eric.araujo, georg.brandl, ncoghlan, sjdv1982 |
| Date |
2011年10月24日.17:00:49 |
| SpamBayes Score |
4.9563972e-05 |
| Marked as misclassified |
No |
| Message-id |
<1319475649.8.0.862930515877.issue12618@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Hi Éric,
There you go, adapted from http://effbot.org/librarybook/py-compile.htm :
############
# File: py-compile-example-1.py
import py_compile
# explicitly compile this module
py_compile.compile("py-compile-example-1.py","py-compile-example-1.pyc")
############
Also, I tested and this bug is present neither on 3.1 nor on 2.x
cheers
Sjoerd |
|