Fredrik Lundh wrote:
> haishan chang wrote:
>
> > How to execute a linux command by python?
> > for example: execute "ls" or "useradd oracle"
> > Who can help me?
>
> start here:
>
> http://www.python.org/doc/lib/
>
>
After reading the matl. pointed to by the many links listed here,
you ca
Hi,
I'm trying to cross compile a C extension - on a i686 linux box,
targeting a ppc-linux box.
get_config_vars(*args):
global _config_vars
if _config_vars is None:
...
else:
...
...
What I don't understand is, on the first invocation of
get_config_vars(), _
Hi folks,
On i686 Linux, I would like to place my python modules as:
/src/py-modules/*.py
and use the cmd from :
...base_dir]$ python src/py-modules/setup.py install
--prefix=/usr
so the .py files and the corresponding compiled .pyc files are at:
/usr/lib/python2.4/site-packacges/*.py[
Hi all,
I have python2.4 running on ppc-linux 2.6.17. I'm attempting to get
a TurboGears 0.9a9 (using CherryPy 2.2.1) based app running on
it.
During the TG-app startup sequence, it reaches the point where it
imports cherrypy, which eventually causes py2.4's system file,
compiler/transformer.py,
> I'd like to disable the inclusion of tk graphics lib in my py build.
> Looked around but couldn't find a clear answer. Which one of
> the following would I need to use in the configure step:
> --disable-tkbuild
> --without-tk
In case anyone is intereted, as it turns out, one way of achieving
Hi Fredrick,
> since _tkinter.so is only built if it's found by the setup script,
> and if built, it's only loaded if you actually use it, why bother
> "disabling" it ?
I don't want it to build tk into the py dist, even if it finds it on
the build box - its not needed in the deployment. Keeping i
Hi folks,
I'd like to disable the inclusion of tk graphics lib in my py build.
Looked around but couldn't find a clear answer. Which one of
the following would I need to use in the configure step:
--disable-tkbuild
--without-tk
Thanks,
/venkat
--
http://mail.python.org/mailman/listinfo/pyth
Hi folks,
I'm trying to get lighttpd, fastcgi & python working on a 2.4.21.x i686
linux system. I tried following the steps in:
http://www.cleverdevil.org/computing/24/python-fastcgi-wsgi-and-lighttpd
Some of the lighttpd.conf setting are slightly different from those in
that article - fixing som
Hi folks,
Of TurboGers & Django WAF candidates, which one would be easier to use
in an environment where the data/content doesn't come an RDBMS, but
from other server-side apps... If these are not good candidates, could
you suggest appropriate ones...
TIA,
/venkat
--
http://mail.python.org/mail
Hi Sebastian,
Thanks for that link and your notes.
I was under the impression, that the .pyc files will be used (if found)
by python to speed up execution of scripts... and so we packaged,
deployed and installed the .py/.pyc files on to the ppc-target system.
That package includes, site.py(c), ty
Terry Reedy wrote:
> ...
> I am under the impression that .pyc files are system independent.
> Have you tried simply copying them over?
>
> tjr
Hi Terry,
It appears that python on the target ppc system is expecting to see
ppc-related info in the .pyc files. These .pyc were generated at cross
com
Hi all,
We've managed to cross-compile (from i686 targeting ppc) python (2.4.2)
binaries and
extension modules.
However we cannot figure out how to cross-compile the .py (of
distribution) files and
generate the .pyc files for the target ppc from an i686 system. Is it
possible to cross
compile .p
12 matches
Mail list logo