On Feb 20, 4:13 pm, MRAB wrote:
> northof40 wrote:
> > I'm using the subroutine module to run run python script A.py from
> > B.py (this is on windows fwiw).
>
> > A.py is not my script and it may raise arbitary errors before exiting.
> > How can I determine
I'm using the subroutine module to run run python script A.py from
B.py (this is on windows fwiw).
A.py is not my script and it may raise arbitary errors before exiting.
How can I determine what's happened before A.py exited ?
To simulate this I've got this script (which is meant to simulate
A.py
On Dec 5, 6:23 pm, Paul Rubin wrote:
> northof40 writes:
> > I'm thinking of some logic where a raw_input call is executed and then
> > if more than X seconds elapses before the prompt is replied to the
> > process writes a message "Sorry too slow" (or simil
On Dec 5, 2:44 pm, Maxim Khitrov wrote:
> On Fri, Dec 4, 2009 at 6:55 PM, northof40 wrote:
> > On Dec 5, 12:52 pm, northof40 wrote:
> >> Hi - I'm writing a *very* simple program for my kids. It asks the user
> >> to give it the answer to a maths question and say
On Dec 5, 12:52 pm, northof40 wrote:
> Hi - I'm writing a *very* simple program for my kids. It asks the user
> to give it the answer to a maths question and says "right" or "wrong"
>
> They now want a timed version where they would only get so long to
> r
Hi - I'm writing a *very* simple program for my kids. It asks the user
to give it the answer to a maths question and says "right" or "wrong"
They now want a timed version where they would only get so long to
respond to the question.
I'm thinking of some logic where a raw_input call is executed an
On Aug 20, 11:06 am, Christian Heimes wrote:
> northof40 wrote:
> > Given an arbitary package is there some programmatic way to 'ask' what
> > file the method/function is implemented in ?
>
> Indeed, the inspect module contains several useful functions
Hi - I think this is a pretty basic question but it's never worried me
before.
To improve my skills I'm reading the source code of a library written
by someone else.
I've come across a problem doing that.
Commonly a function is called like this:
thepackage.theclass.foo
The problem is that 'the
Ignore this question. Managed to get Amazon Web Services going and
have installed Python 2.6 on there. Thanks for your eyeballs time.
On Jul 31, 7:09 pm, northof40 wrote:
> Hi - I'd really like to have access to Python 2.6 to try something
> out. It needs to be on Linux/Unix machi
Hi - I'd really like to have access to Python 2.6 to try something
out. It needs to be on Linux/Unix machine. I don't mind paying but
whichever way I turn I find Python 2.4 is the standard installation.
Anyone know of anyone who offers this out of the box ? Or got any
smart way of achieving it ?
10 matches
Mail list logo