On 1/6/2019 6:20 PM, Avi Gross wrote:
I suspect there is some python tool that can go through a directory
structure of python code and produce appropriate byte code files in one
sweep.
import compileall
help(compileall)
The Windows installer optionally runs it. It is usually needed if one
d
Peter,
I suspect there is some python tool that can go through a directory
structure of python code and produce appropriate byte code files in one
sweep. That would not be at run time. And, in any system where the average
user does not have write permission on those folders, that would be a good
i
Martin v. Löwis a écrit :
>> Is there a way to make the bsddb module compile against db>=4.7 for python <
>> 2.6
>> (2.4.6, 2.5.4)?
>
> I don't think so, no.
>
>> I didn't find something on it.
>
> If you don't want to use pybsddb either, for fear of incompatible API,
> your only choice is to p
> Is there a way to make the bsddb module compile against db>=4.7 for python <
> 2.6
> (2.4.6, 2.5.4)?
I don't think so, no.
> I didn't find something on it.
If you don't want to use pybsddb either, for fear of incompatible API,
your only choice is to port _bsddb.c to the newer db versions. BSD
In article <51c556a8-7277-474d-821f-190adf155...@f16g2000vbf.googlegroups.com>,
Amit wrote:
>
>THen I decided to compile python 2.5.4 on my AIX box. I downloaded the
>python source code from www.python.org and tried to compile on my AIX
>both using gcc.
>
> case $MAKEFLAGS in *-s*) CC='gc