Hi Chris,
I solved the problem some other way round but thanx for your
suggestion, I'll review it also.
Best Regards,
Subhabrata.
Chris wrote:
> On Jun 27, 9:51�am, [EMAIL PROTECTED] wrote:
> > Dear All,
> > I am trying to write the following code:
> >
> > def try1(n):
> > � � � � a1="God Godess B
Dear All,
I am trying to write the following code:
def try1(n):
a1="God Godess Borother Sister Family"
a2=a1.split()
a3=raw_input("PRINT A WORD")
a4=a1.find(a3)
print a4
a5=[]
if a4>0:
a5=a2.index(a3)
a6=a5+1
This problem is solved with time.gmtime
[EMAIL PROTECTED] wrote:
> Dear Members of the group,
> I have one function
> def sum1(n):
> a1=5
> a2=6
> a3=a1+a2
> a4=a3+8
> print "The First sum is"
> print a3
> print "The Second sum is"
> print a4
>
> Now
Dear Members of the group,
I have one function
def sum1(n):
a1=5
a2=6
a3=a1+a2
a4=a3+8
print "The First sum is"
print a3
print "The Second sum is"
print a4
Now, I want to do it in a way, a4 is calculated after a given time
interval of a3 -this is eas
Hi Diez,
Thanx for the suggestion. I am checking if anything helpful I can find
there.
Regards,
Subhabrata.
Diez B. Roggisch wrote:
> [EMAIL PROTECTED] schrieb:
> > Dear Members of the group,
> > I have a small question, if you can help me to find the answer.
> > I have one function:
> > def add_s
You can see the file whether it is loaded in C:\Python and you entered
it correctly. Problem should not occur.
Else you may refer Python docs for Error and Exception handling.
Regs,
Subhabrata.
[EMAIL PROTECTED] wrote:
> Hi,
> I am new to python.I have installed Biopython in Windows.I am working
>
Islam is a nice religion if you read The quran. Militancy is their in
every religion. But unfortunately, Islam is getting a bad name. It is
good to see that some one like you is trying to let us know the good
part of it. But this may not be a room for that. You might have been
wrongly directed here
Dear Members of the group,
I have a small question, if you can help me to find the answer.
I have one function:
def add_string(n):
print “Print Two strings”
print “Print the First String”
a1=raw_input(“PRINT THE FIRST STRING”)
a2=raw_input(“PRINT THE SECOND STRING”)
You can think of doing with import time module and time.sleep(n) but
you have to calculate n in seconds.
Subhabrata.
Alexnb wrote:
> I am wondering what is the best way to create a timer, like an alarm, once it
> reaches a time, it triggers an event. I have a way of doing this but it
> seems like
Dear Members of the group,
If I open a url by urlopen in the urllib, the file is either opening a
file or if no url is there it would give error. The error is generated
can be handled by IOError handling schemes.
But if there are thousands or millions of URLs and I do not know who
will open and who
Dear Members of the group,
py2exe does not seem to be integrating with 2.5 or later versions.
I was trying to run it but requested only for 2.3.
How can I run it?
If any one can kindly help.
Regards,
Subhabrata Banerjee.
--
http://mail.python.org/mailman/listinfo/python-list
Dear Mike,
Thanx your solutions came to the very point. And you understood the
problem so nicely. It is just perfect.
Great.
Regards,
Subhabrata Banerjee.
Mike Driscoll wrote:
> On May 27, 9:25�am, [EMAIL PROTECTED] wrote:
> > Dear Members of the group,
> > If any one can help me with an idea how
I am getting the comments. So any one can post any comment like
Steve knows nothing of Python.
California has still lot to catch up to be at par with Mesopatamia.
comp.lang.python seems a group of fools.
Anyhow, all I learnt take whichever suits and ignore rest many people
have lot of time to carr
Hi Steve,
comp.lang.python is supposed to be a serious group not anyone knowing
nothing and giving comment. Well, original code snippet I don't know
why an expert person like you fails to understand, I told it almost
can't you guess the next portion? Tough indeed, then. I've to take
permission from
Dear Sir,
Thank you for taking time out to answer.
For (i) It is happening. On trial it ran so well that when on
demonstration I got questions from tester, I felt amazed.
For (ii) For answer no.2 I'll check str.find.
For (iii) Well I said you most of crawler's algorithm. It works like a
MS IE synch
I am using Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.
1310 32 bit (Intel)] on win32 with IDLE 1.2.1
My O/S is Windows XP SP2 I use 512 MB RAM.
I am encountering the following problems:
(i) a1=1
a2=2
a3=a1+a2
print a3
# The result is coming sometimes as 3 sometimes as vague
16 matches
Mail list logo