Re: [Tutor] TypeError: generatePersonID() takes exactly 1 argument (0 given)

2013-11-15 Thread Suhas Bhairav
Hello, In your program, when you're calling generatePersonID(), you need to pass an argument to the function i.e. the value of fullName.This is because when you're defining the function generatePersonID(), it is generatePersonID(fullName) and not just generatePersonID(). So you have pass an argu

Re: [Tutor] Removing Unnecessary Indentation and other problems

2013-11-15 Thread Alan Gauld
On 15/11/13 22:44, harvey trasmontero wrote: I have two problems. First one is, using and downloading tkinter. I have searched about it and it led me to a download page. But then, I didnt know which one to download so I chose the first one on the right. It led me to a zip file and its saying ext

Re: [Tutor] Removing Unnecessary Indentation and other problems

2013-11-15 Thread Steve Willoughby
On your first question, make sure you have the right version of Tcl/Tk for your system (usually a tar.gz file is for Unix-like systems, although some programs like WinZip can read those files too). You may be able to get help from a Tcl/Tk forum on specifics of building that. However, doesn't

[Tutor] Removing Unnecessary Indentation and other problems

2013-11-15 Thread harvey trasmontero
Good day, I have two problems. First one is, using and downloading tkinter. I have searched about it and it led me to a download page. But then, I didnt know which one to download so I chose the first one on the right. It led me to a zip file and its saying extract the'.tar.gz files for tcl and

Re: [Tutor] Need help on Python API programmig

2013-11-15 Thread Amit Saha
Hello Sourav, On 16/11/2013 6:53 AM, "Sourav Biswas" wrote: > > Hi All, > > This is my first post. I want to learn API programming with Python. I have basic knowledge of Python Programming. Could you please let me know the starting points for this programming. Since your question is fairly vague

[Tutor] Need help on Python API programmig

2013-11-15 Thread Sourav Biswas
Hi All, This is my first post. I want to learn API programming with Python. I have basic knowledge of Python Programming. Could you please let me know the starting points for this programming. -- Thanks, Sourav Biswas Hyderabad ___ Tutor maillist - T

Re: [Tutor] Help merge files using python

2013-11-15 Thread Peter Otten
jarod...@libero.it wrote: > Hi I want to merge many files like this: > #file1 > A 10 > B 20 > C 30 > #file2 > B 45 > Z 10 > #file1 > A 60 > B 70 > C 10 > > I want to obtain > > A 10 0 60 > B 20 45 70 > C 30 0 10 > Z 0 10 0 > > I try to do like this: > f = os.lis