Forum: Python Jul 22nd, 2008 |
| Replies: 1 Views: 492 Dear Group,
I am getting some questions on doing Web Pages in Python.
I have some interactive codes in python for which I like to make web pages.
I am trying to use kid.
Kid I learnt, and is... |
Forum: Python Jul 18th, 2008 |
| Replies: 2 Views: 362 Dear Group,
I am trying the following code line:
def try2(n):
a1=raw_input("PRINT A STRING:")
a2=a1.split()
a3="God Godess Heaven Sky"
for x in a2:
a4=a3.find(x)
if a4>-1: |
Forum: Python Jun 27th, 2008 |
| Replies: 2 Views: 458 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")
... |
Forum: Python May 16th, 2008 |
| Replies: 2 Views: 406 Yes, thanx for your suggestion I was thinking to use HTML Parser or VBScript and then transform into Python. |
Forum: Python May 15th, 2008 |
| Replies: 2 Views: 406 If I write a code like:
def addstring(n):
a1=raw_input("PRINT THE FIRST STRING:")
a2=raw_input("PRINT THE SECOND STRING:")
a3=" "
a4=a1+a3+a2
print "THE TWO STRINGS YOU... |
Forum: Python May 15th, 2008 |
| Replies: 3 Views: 491 Dear Sir,
Just thanx. I was thinking to create a blank list and appending it there but somehow it was not working.
Thank you for giving me the time,
Subhabrata Banerjee. |
Forum: Python May 15th, 2008 |
| Replies: 3 Views: 491 If we write a code like:
a=['city','village','town','capital']
a1=len(a)
a2=range(a1)
for x in a2:
a3=a[x]
print a3
In this code if we want to store the value of a3 it would store... |
Forum: Python Apr 30th, 2008 |
| Replies: 2 Views: 1,090 Thank you Sir. I was thinking and tried it. Problem looks resolved.
Thank you for giving me your valuable time.
Regards,
Subhabrata Banerjee.
IISC,
Bangalore.
INDIA. |
Forum: Python Apr 29th, 2008 |
| Replies: 2 Views: 1,090 I am using a while loop like
while a>0:
a=a+1
a1=open("/python25/file1.txt","r+")
a2=str(a)
a3=a1.write(a2)
It is storing only the last value of a, but how can I... |
Forum: Python Apr 29th, 2008 |
| Replies: 6 Views: 1,501 I am using a while loop like
while a>0:
a=a+1
a1=open("/python25/file1.txt","r+")
a2=str(a)
a3=a1.write(a2)
It is storing only the last value of a, but how can I... |