Thanks guys! I've got my class up and running and am having a fine time
programming in python... again.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Sorry about the indentation guys my mail service atomatically removed it when I
pasted the text (I tried to fix it by hand but it was hard to tell if I was
sucessful.)
I was tring to create a list object (self) and change it using the list methods
and some additional ones I will define in my cla
Hi guys, it's been a while since I posted and I've learned a lot since then.
Today I have a question on classes, I can't get mine to work.
class alist(list):
def __init__(self, b, a):
self = list()
self.append(b)
a = a + b
def appendit(self):
self.append(a)
print(alist(2,4))
[]
#It's blank
I want to open a file so I read the library useage because I could not recall
the propor useage.
I typed in to my script:
a = open (dupli, r)
and got an error stating that "dupli" is not deffined.
I started the script from within to same directorie that the file "dupli" was
in. Perhaps it nee
Opensuse 12.2 python3.2
I'm having trouble understanding them.
Python is my first language... excluding English.
I've already read ALL OF THE PYTHON Language Referance and I still don't "get
it."
What do they do?
How do they work?
How do you define self?
Is self an object, a variable, or wh
Opensuse 12.2 python3.2
I discoverd that some of the examples for definitions in the tutorial are not
valid. I am reporting this as a bug.
In the mean time I tried to look up definitions in the Language Referance part
of the python documentation but I'm still confused. The if, for, etc. are
st
Opensuse 12.2 python3.2
I would like to set the to get better control of the play back of wave files.
I would like to set the play back volume, send the audio out only one of the
two speakers and ajust the play back speed. I am completely blank on ideas of
how to accomplish this and reading the
version python3.2 linux
I am learning python3 and would like some more python3 modules/programs on my
computer to look at and work with to learn more about python3. I have read the
tutorial and some of the complete language reference. I can't tell from the
package index whats a python3 module/p