Ive been messing around alot with python, and Im getting pretty good...
But Im now needing to learn OOP, Cant find anything about it on Youtube/google.
And I dont know how to use your HTTP Class.. Im still pretty noobie at the advanced stuff
Thanks for the help in advance.
Results 1 to 7 of 7
- 21 May. 2010 08:45pm #1
[Help Me] OOP In Python, and Your HTTP Class. :
Shh, I'm watching My little pony.
- 22 May. 2010 12:17am #2
Iv also been messing around with python today.
Using classes is simple as well as functions. There is no real way to 'end' the function or 'end' the class. It stops when you de-indepent >.<
Here, for example:
Code:class ExampleClass: def ExampleFunction(self, text): printFunction("text") def printFunction(self, text): print "text"
- 22 May. 2010 12:45am #3
Yea I've figured that out
I forgot to delete it from the title.
I was wondering How I can use riddles HTTP Class, I cant really figure it out to the Tee.Shh, I'm watching My little pony.
- 22 May. 2010 01:13am #4
- 22 May. 2010 01:16am #5
Mkay well, Im understanding it a bit. Maybe when He gets on he will help us out
Riddle is a python gawd.Shh, I'm watching My little pony.
- 22 May. 2010 01:21am #6
- 22 May. 2010 03:40am #7Code:
import HTTP if __name__ == "__main__": http = HTTP.HTTP() print (http.GET("www.google.com"))