I am developing a python application as a contractor.
I would like to know if someone can provide me with some insight into the
problems that then infrastructure team has been having.
The scope of the project was to install python 2.7.8 and 4 modules/site
packages on a fresh linux build.
The f
Hello There:
I am using Python 2.7.6 and Paramiko module (on a Linux server) to connect to a
Windows server and send some commands and get output. I have a connect function
which takes IP, username and password of the remote Windows server and I get an
sshobj when that happens. How do I use it
On Sunday, May 31, 2015 at 5:18:53 AM UTC-7, Peter Otten wrote:
> Pythonista wrote:
>
> > Hello There:
> >
> > I am using Python 2.7.6 and Paramiko module (on a Linux server) to connect
> > to a Windows server and send some commands and get output. I have a
>
On Sunday, May 31, 2015 at 6:20:19 PM UTC-7, Dennis Lee Bieber wrote:
> On Sun, 31 May 2015 13:12:24 -0700 (PDT), Pythonista
> declaimed the following:
>
> >
> >Thanks Peter but I got no output from your suggestion either.!
>
> From Windows viewpoint, I suspe
Using paramiko's exec_command(), i would like to send a command, process its
output and do it for several other commands. I notice that its not quick enough
or something like that.
How would I handle that scenario AND also providing multiple commands together
(there is 1 post on stackoverflow f
Hello,
I have a date string looking like the following:
"Sun May 30 07:25:17 2010"
With Python 2.6, the %f is supported (it parses the microseconds), so
that this statement works:
dt = datetime.strptime(s, "%a %b %d %H:%M:%f %Y")
However, with Python 2.5, (which is supported on the live We
You know why it looks like it has seconds and not microseconds?
Because it does, and I'm on something.
Thank you
>
> The date string looks like it has hours, minutes and seconds, not hours,
> minutes and microseconds.
--
http://mail.python.org/mailman/listinfo/python-list
Hello, all!
This post is to announce a new Python-oriented blog. See my .sig for the
URL.
I also have a question: is there any "official" method for getting listed
on Planet Python?
Thanks!
A fellow Pythonista
--
code.py: A blog about life, the universe, and Py
I've been wondering for a while about whether assigning to __class__ is
bad form or not. Specifically, I mean doing so when some other method of
implementing the functionality you're after is available (i.e. using an
adapter, or something like the strategy pattern).
To give an example and a no
I remember the interactive interpreter used to define the name _ to
return the value of the last expression that was evaluated. However, I
tried it just today and got a NameError. Is this a change in the
interpreter or is there a configuration option I need to set to enable it?
Thanks!
--
c
On Thu, 05 Jun 2008 23:42:07 -0400, John Salerno wrote:
> Is it possible to write a list comprehension for this so as to produce a
> list of two-item tuples?
>
> base_scores = range(8, 19)
> score_costs = [0, 1, 1, 1, 1, 1, 1, 2, 2, 3, 3] print zip(base_scores,
> score_costs)
>
score_costs = [(
It's always been my understanding that you can't forcibly kill a thread
in Python (at least not in a portable way). The best you can do is
politely ask it to die, IIRC.
--
code.py: A blog about life, the universe, and Python
http://pythonista.wordpress.com
** Posted from http://www.teranews.c
On Fri, 06 Jun 2008 11:36:13 -0700, Gary Herron wrote:
> Try again. I think you'll find it's still there -- although you have to
> execute a something that returns a value before it's set for the first
> time.
That was, indeed the problem. Boy do I feel silly now. :-)
Thanks
--
code.py: A
On Tue, 24 Jun 2008 14:23:12 +0800, oyster wrote:
> that is an html editor with text and picture, while the picture is
> linked to the local image file.
>
> for wxPython, the richtextcontrol save the image as en embedded object,
> so it is not my choice
>
> is there any other GUI lib and/or samp
Yesterday, I was hacking around a bit, trying to figure out how to
implement the semantics of call/cc in Python. Specifically, I wanted to
translate this Scheme code to equivalent Python:
(define theContinuation #f)
(define (test)
(let ((i 0))
(call/cc (lambda (k) (set! theCont
First of all, I apologize if this would be more appropriate for python-
dev, but I don't normally subscribe to that list, and felt it would also
be of general use, so
I'm having problems building the latest Python 2.6 and 3.0 from
subversion, and I'm not sure how to resolve the problem. In
On Tue, 12 Aug 2008 07:04:41 +0200, Martin v. Löwis wrote:
> For some reason, the getopt module in your host's python cannot process
> the command line options to asdl_c.py correctly.
>
> What Python version do you have installed in PATH?
Martin,
Thank you so much! In fact, I did have a python
17 matches
Mail list logo