Hi All
Thankyou verymuch for ur inputs.
Hope u might have come across the string deprecation thought of in
Python 3.0 as a result of which we need to use all of these as some
objects
For example : string.lower(str) needs to be some thing like
str.lower().
Can u tell me whether such a change in
John McMonagle wrote:
> On Mon, 2006-07-24 at 22:19 -0700, Anoop wrote:
> > Hi All
> >
> > I am getting two different outputs when i do an operation using
> > string.digits and test.isdigit(). Is there any difference between the
> > two. I have given the sample program and the output
> >
> > Thanks
Anoop wrote:
> Hi All
>
> I am getting two different outputs when i do an operation using
> string.digits and test.isdigit(). Is there any difference between the
> two.
Your first sentence appears to answer that ..but yes, there's quite a
difference. Have you read the manual?
> I have given the
On Mon, 2006-07-24 at 22:19 -0700, Anoop wrote:
> Hi All
>
> I am getting two different outputs when i do an operation using
> string.digits and test.isdigit(). Is there any difference between the
> two. I have given the sample program and the output
>
> Thanks for ur inputs
>
> Anoop
>
> #1:
>
Hi All
I am getting two different outputs when i do an operation using
string.digits and test.isdigit(). Is there any difference between the
two. I have given the sample program and the output
Thanks for ur inputs
Anoop
#1:
~~
import string
test='121206'
if test not in string.digits:
prin