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:
>> 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 ca
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() ret
[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 fr
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
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
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')
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 ge
I think I have a much simpler solution for you guys..
Assuming you can run arbitrary code on the proprietary
server.
I wrote PyInvoke, and I use it as a much-easier-to-use
replacement for telnet control of computers.
It does require installing Python on the target server
though.
You simple have