On 01/06/2012 03:04 AM, Andres Soto wrote:
Please, see my comments between your lines. Thank you very much for
your explanation!
*
*
*From:* Lie Ryan
*To:* python-list@python.org
*Sent:* Thursday, January 5, 2012 2:30 AM
*Subject:* Re: a little help
On 01/05
Please, see my comments between your lines. Thank you very much for your
explanation!
>
>
>From: Lie Ryan
>To: python-list@python.org
>Sent: Thursday, January 5, 2012 2:30 AM
>Subject: Re: a little help
>
>On 01/05/2012 11:29 AM, Andres Soto wrote:
>> my mistake i
could you be a little bit more explicit. I am a begginer and I don't understand
you quite well
Thanks
Andres Soto
>
> From: 8 Dihedral
>To: python-list@python.org
>Cc: python-list@python.org
>Sent: Thursday, January 5, 2012 2:48 AM
&g
Chris Angelico於 2012年1月5日星期四UTC+8上午7時29分21秒寫道:
> On Thu, Jan 5, 2012 at 10:25 AM, Andres Soto wrote:
> > My situation is the following: I am developing some code. I use the IDLE
> > Editor to write it down. Then, I save it and import it from the command line
> > interface, so it is already availab
On 01/05/2012 11:29 AM, Andres Soto wrote:
my mistake is because I have no problem to do that using Prolog which
use an interpreter as Python. I thought that the variables in the main
global memory space (associated with the command line environment) were
kept, although the code that use it could
On 1/4/2012 7:29 PM, Andres Soto wrote:
As you explain me, Python behave like a compiled language: any time I
make a change in the code, I have to "compile" it again, and re-run (and
re-load the data).
While you are developing a program and expect to make changes, you can
try working with a s
>To: python-list@python.org
>Sent: Wednesday, January 4, 2012 6:02 PM
>Subject: Re: a little help
>
>I think you meant to send that to the list; hope you don't mind my
>replying on-list.
>
>On Thu, Jan 5, 2012 at 10:56 AM, Andres Soto wrote:
>> the problem is tha
On Thu, Jan 5, 2012 at 11:29 AM, Andres Soto wrote:
> my mistake is because I have no problem to do that using Prolog which use an
> interpreter as Python. I thought that the variables in the main global
> memory space (associated with the command line environment) were kept,
> although the code t
I think you meant to send that to the list; hope you don't mind my
replying on-list.
On Thu, Jan 5, 2012 at 10:56 AM, Andres Soto wrote:
> the problem is that if I re-run the program, every time I change some
> instructions, I have to read (load) again the data and that is what I want
> to avoid.
On Thu, Jan 5, 2012 at 10:25 AM, Andres Soto wrote:
> My situation is the following: I am developing some code. I use the IDLE
> Editor to write it down. Then, I save it and import it from the command line
> interface, so it is already available from the prompt.
> Then I load (read) some data from
> Piet van Oostrum (PvO) wrote:
[snip]
>PvO> You can also consider using paramiko instead of pexpect.
[snip]
> chan = t.open_session()
> chan.exec_command('cat')
> chan.send('abcdefghijklmn\n')
In a real program it is better to use sendall here, as send may decide
to send only pa
> Hussein B (HB) wrote:
>HB> Hey,
>HB> I'm trying to execute a command over a remore server using pexpect
>HB> +
>HB> url = 'ssh internalserver'
>HB> res = pexpect.spawn(url)
>HB> print '1'
>HB> res.expect('.*ssword:')
>HB> print '2'
>HB> res.sendline('mypasswd')
>HB> print '3
thanks
--
http://mail.python.org/mailman/listinfo/python-list
iminal wrote:
> what i have so far is :
>
> # Get values needed to make time calculations
> CT = input("input your chronometer time (ex. 07:21:46): ")
> CE = input("input your chronometer correction (ex. 00:01:32): ")
> CEfastslow = raw_input("is your chronometer correction fast or
what i have so far is :
# Get values needed to make time calculations
CT = input("input your chronometer time (ex. 07:21:46): ")
CE = input("input your chronometer correction (ex. 00:01:32): ")
CEfastslow = raw_input("is your chronometer correction fast or
slow: ")
#decide eit
iminal wrote:
> I am trying to make a very simple program and am very new to the whole
> programming thing. my program is supposed to ask a user for any time in
> the for format XX:XX:XX and then ask for a time corrrection to add or
> subtract to this. my only problem is that once the user inputs t
iminal wrote:
> I am trying to make a very simple program and am very new to the whole
> programming thing. my program is supposed to ask a user for any time in
> the for format XX:XX:XX and then ask for a time corrrection to add or
> subtract to this. my only problem is that once the user inputs t
17 matches
Mail list logo