Re: [Tutor] The proper use of classes

2013-04-15 Thread frank ernest
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

Re: [Tutor] Proper uses of classes

2013-04-04 Thread frank ernest
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

[Tutor] Proper uses of classes

2013-04-03 Thread frank ernest
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

[Tutor] Proper useage of "open"

2012-12-12 Thread frank ernest
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

[Tutor] I'm trying to wrap my head around defs

2012-12-04 Thread frank ernest
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

[Tutor] On understanding defintions

2012-12-04 Thread frank ernest
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

[Tutor] insufficient control of ossaudiodev and or wave modules

2012-12-04 Thread frank ernest
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

[Tutor] I am learning python3 and would like some more python3 modules/programs on my...

2012-10-09 Thread frank ernest
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