New submission from Eyal Lotem [EMAIL PROTECTED]:
When using either the ext_package keyword argument to setup, or when
using the pkg.name module name notation to Extension instances,
distutils installs the compiled extensions into the appropriate package
directory.
However, distutils does
Arnaud Delobelle wrote:
On Feb 8, 5:20 pm, Reedick, Andrew [EMAIL PROTECTED] wrote:
-Original Message-
From: [EMAIL PROTECTED] [mailto:python-
[EMAIL PROTECTED] On Behalf Of c james
Sent: Friday, February 08, 2008 12:10 PM
To: [EMAIL PROTECTED]
Subject: keyword 'in' not
How can I find where exactly the current python script is running?
...
That means sys.argv[0] doesn't always contain the full path of
running script.
sys.path[0] is the script directory, combined with sys.argv[0] you can
find the full path to the script.
(Note that in some rare cases
MrBlueSky wrote:
Hi,
I've got a Python application that (as well as lots of other stuff!)
has to translate time_t values into strings in the TZ of the users
choice. Looking at the Python Library Reference, I can see no platform
independent way of setting the TZ that time.localtime() returns
[EMAIL PROTECTED] wrote:
Hi Everyone
I want to run a python script in all the machines that are connected
through local network and collect the information about that machine
such as HDD size, RAM capacity(with number of slots) ,processer speed
etc.
But i want to run a script from just
Scott David Daniels wrote:
Eyal Lotem wrote:
By the way, the real problem here is referencing by name, rather than
using true references. Which is the result of using a textual language.
The real solution would be to store real-references to the function and
only present the name
Steven D'Aprano wrote:
On Sun, 26 Mar 2006 10:19:36 +1000, Ben Finney wrote:
James Thiele [EMAIL PROTECTED] writes:
I'd like to access the name of a function from inside the function.
A function, like most other objects in Python, can have any number of
names bound to it without the
Adam DePrince wrote:
On Sat, 2006-03-25 at 03:08 +0200, Eyal Lotem wrote:
Hey.
I have a problem in some network code. I want to send my packets
compressed, but I don't want to compress each packet separately (via
.encode('zlib') or such) but rather I'd like to compress it with regard
Hey.
I have a problem in some network code. I want to send my packets compressed,
but I don't want to compress each packet separately (via .encode('zlib') or
such) but rather I'd like to compress it with regard to the history of the
compression stream. If I use zlib.compressobj and flush it to