On 07/11/12 03:31, Prasad, Ramit wrote:
Steven D'Aprano wrote:
The isdigit method doesn't only work on a single character
at a time, it works on an entire string:
py> "12345".isdigit()
True
py> "12345a".isdigit()
False
I just want to point to the OP (Frank) that this only works for "digit
Steven D'Aprano wrote:
> On 30/10/12 12:36, Frank Pontius wrote:
> > Hello,
> > I have code that works. Then tried to move some of it into function
> > IncrementAndRebuildInput, then result changes, I no longer have same result
> > as when code in function was inline - why?
>
> Have you tried run
On 30/10/12 12:36, Frank Pontius wrote:
Hello,
I have code that works. Then tried to move some of it into function
IncrementAndRebuildInput, then result changes, I no longer have same result
as when code in function was inline - why?
Have you tried running it in isolation to see what it does?
On 30 October 2012 01:36, Frank Pontius wrote:
> Hello,
Hi,
It would be good if you could remove unnecessary debug code before
posting since it makes it harder for others to read your actual code.
Also why is there an empty line between each two lines of code? I
think this makes it much harder t
Hello,
I have code that works. Then tried to move some of it into function
IncrementAndRebuildInput, then result changes, I no longer have same result
as when code in function was inline - why?
(Function version way below)
Inline version: (this correctly adds 1 to all numbers in text string,
You are right. When I switch to python23 folder, it works.On 5/5/06, Danny Yoo <[EMAIL PROTECTED]
> wrote:On Fri, 5 May 2006, linda.s wrote:> I have two drives. The python24 is installed in c: and the code is in d:
> drive (d:\data).> so what I did is:> d:\data> c:\python24\python test.pyHi Linda,C
On Fri, 5 May 2006, linda.s wrote:
> I have two drives. The python24 is installed in c: and the code is in d:
> drive (d:\data).
> so what I did is:
> d:\data> c:\python24\python test.py
Hi Linda,
Can you copy and paste the code to test.py? I suspect that the code does
not contain a necessar
I have two drives. The python24 is installed in c: and the code is in d: drive (d:\data).
so what I did is:
d:\data> c:\python24\python test.py
On 5/5/06, Liam Clarke <[EMAIL PROTECTED]> wrote:
Hi,Can you please copy and paste the code here? Also, can you pleaseclick on Start, select Run, and type
Hi,
Can you please copy and paste the code here? Also, can you please
click on Start, select Run, and type cmd.exe, and in the new window
that opens type the following command:
C:\>echo %PATH%
and then right click, select Mark, select the text that was outputted
and press enter to copu it and pa
I run a code, which import Numeric module. When I run the code from PythonWin, it is OK.
But when I run it from the command line, it reported "Importerror: No Module named Numeric."
Why the systems perform differently?
Linda
___
Tutor maillist - Tutor@
10 matches
Mail list logo