[Tutor] python idle file couldn't start

2019-07-24 Thread siva
I have tried to start python through idle .but the software didn’t start.it displays “subprocess error”.tell me some solution. Thank you. Sent from Mail for Windows 10 ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription optio

[Tutor] taking a tuple with input

2013-10-26 Thread Siva Cn
p1 = tuple([float(ele) for ele in input('Please type ...').split()]) p2 = tuple([float(ele) for ele in input('Please type ...').split()]) # input format is : 25.0 30.0 ----- *Siva Cn* *Python Developer* *h

[Tutor] Tutor] string list in alphabetical!

2013-10-21 Thread Siva Cn
en(file2, 'w') as fp: fp.write(out_content) sort_file1_to_file2('file1.txt', 'file2.txt') ---- *-- Regards --* * * * Siva Cn* *Python Developer* * * *http://www.cnsiva.com* --

Re: [Tutor] Tutor Digest, Vol 116, Issue 37

2013-10-17 Thread Siva Cn
st[i][0] for i in xrange(n)] def print_unique_words(self): """.""" print "Unique words:", [self.sorted_list[i][0] for i in xrange(len(self.sorted_list))] if __name__ == "__main__": """."""