Thanks, I think I have an understanding of what they are, but now am still a
little confused on how one goes about using it: how am I supposed to know how
to use an API in python? or in any other language for that matter? If an API is
defining rules in C, is all hope lost for trying to use it in
I don't understand how APIs work to save my life. I am a complete beginner. In
fact, I am a bit confused on what API even means and what the meaning entails.
I am fairly competent with python, though I do lack some real world experience.
Regardless, any tutorials/books/guides that deal with API
Thank you Chris. And thank you to everyone else. This has tremendously helped
me. This google group is definitely the best place for python
questions/discussion.
PS: Chris, I will be looking at that tutorial now.
--
https://mail.python.org/mailman/listinfo/python-list
On Thursday, February 20, 2014 12:54:54 AM UTC-8, Chris Angelico wrote:
>Calling a class will create a new instance of it. [1] What you do with
>it afterwards is separate.
Okay. So what you are saying is that return(Athlete(temp1.pop(0),temp1.pop(0),
temp1)) IS in fact creating an instance of
Thanks for pointing out the missing parenthesis, it makes sense now why there
was an error.
I suppose my question now is (and forgive my ignorance about classes, this is
my first time learning them) why is it calling Athlete with some arguments? In
order to make a class object, don't you need t
I have two questions that come along with the following code:
--
from __future__ import print_function
def sanitize(time):
if '-' in time:
splitter = '-'
(mins,secs) = time.split(splitter,