[Tutor] Word to Sound

2010-08-07 Thread Chris King
Dear Tutors, How do you convert a string into a sound object. Sincerely, Chris ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] LOCATION ISSUES

2010-08-07 Thread Chris King
On 7/13/2010 2:13 AM, Dipo Elegbede wrote: Hello All, Kindly help me with the location for the files created by this codes. I have already compiled the codes and it has no error. I copied the code from the following url: http://www.pythonware.com/library/pil/handbook/image.htm This is supposed

[Tutor] Mutable Properties

2010-09-08 Thread Chris King
Dear Tutors, I noticed that when you use a property to represent a mutable value, I you try to use its methods, it will directly change the value returned. I know this happens because I'm not really assigning it to something new, but changing whats already there, which won't fire off the

Re: [Tutor] Random list exercise

2010-09-10 Thread Chris King
On 9/10/2010 5:22 AM, lists wrote: you could try random.shuffle and save a lot of time, it takes a mutable sequence (like a list) and shuffles it Hey there, For the few exercises I've been doing, I think the author has been attempting to make the reader do things 'the difficult way' so that th

Re: [Tutor] Random list exercise

2010-09-10 Thread Chris King
On 9/10/2010 5:22 AM, lists wrote: you could try random.shuffle and save a lot of time, it takes a mutable sequence (like a list) and shuffles it Hey there, For the few exercises I've been doing, I think the author has been attempting to make the reader do things 'the difficult way' so that th

[Tutor] Mutable Properties

2010-09-30 Thread Chris King
Dear Tutors, I noticed that when you make a property to represent a mutable value *class Obj(object): def get(self): print 'Get' return self.prop def set(self, new): print 'Set' self.prop = new prop = propert

Re: [Tutor] Mutable Properties

2010-09-30 Thread Chris King
On 9/30/2010 8:43 PM, Steven D'Aprano wrote: On Fri, 1 Oct 2010 10:24:50 am Chris King wrote: Dear Tutors, I noticed that when you make a property to represent a mutable value *class Obj(object): def get(self): print 'Get'

[Tutor] Networking

2010-10-02 Thread Chris King
Dear Tutors, I have attached my 2 programs for networking. It uses socket and SocketServer, but it just simplifies it even more. The problem is it won't work. The Client raises the error, (with trace back) Traceback (most recent call last): File "G:\My Dropbox\My Dropbox\Chris\Not done\c

Re: [Tutor] Networking

2010-10-03 Thread Chris King
On 10/2/2010 3:40 PM, Evert Rol wrote: Dear Tutors, I have attached my 2 programs for networking. It uses socket and SocketServer, but it just simplifies it even more. The problem is it won't work. The Client raises the error, (with trace back) Traceback (most recent call last): File "

Re: [Tutor] Networking

2010-10-11 Thread Chris King
On 10/3/2010 7:20 PM, Chris King wrote: On 10/2/2010 3:40 PM, Evert Rol wrote: Dear Tutors, I have attached my 2 programs for networking. It uses socket and SocketServer, but it just simplifies it even more. The problem is it won't work. The Client raises the error, (with trace

[Tutor] File transfer

2010-10-30 Thread Chris King
Dear Tutors, How would I send a file from one computer to another. I have modules which can send simple objects, such as dictionaries with simple objects in it. They can't send files thou. Please help. Sincerely, Me import SocketServer, cPickle def echo(self): #the default handling f

Re: [Tutor] File transfer

2010-10-31 Thread Chris King
On 10/31/2010 12:03 PM, Corey Richardson wrote: On 10/31/2010 11:51 AM, Chris King wrote: On 10/30/2010 10:08 PM, Corey Richardson wrote: If you can send a list, have the list [name, data] where name is the file name and data is the raw binary of the file, contained in a string. On 10/30

[Tutor] Complete Shutdown

2010-11-01 Thread Chris King
Dear Tutors, How do I completely shutdown a computer without administrative rights using a simple python script. Sincerely, Me, Myself, and I ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.py

[Tutor] rights

2010-11-01 Thread Chris King
Dear Tutors, How do you give a script right to read a folder? ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

[Tutor] pythonpath

2010-11-01 Thread Chris King
Dear Tutors, When I try to import a module, how can I make it look in certain directories for them easily. Sincerely, Chris ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/l

Re: [Tutor] pythonpath

2010-11-01 Thread Chris King
On 11/1/2010 5:47 PM, Vince Spicer wrote: On Mon, Nov 1, 2010 at 3:41 PM, Chris King <http://g.nius.ck>@gmail.com <http://gmail.com>> wrote: Dear Tutors, When I try to import a module, how can I make it look in certain directories for them easily. Sincerel

Re: [Tutor] pythonpath

2010-11-01 Thread Chris King
On 11/1/2010 5:57 PM, Vince Spicer wrote: On Mon, Nov 1, 2010 at 3:54 PM, Chris King <http://g.nius.ck>@gmail.com <http://gmail.com>> wrote: On 11/1/2010 5:47 PM, Vince Spicer wrote: On Mon, Nov 1, 2010 at 3:41 PM, Chris King http://g.nius.ck>@gmail.com <htt

Re: [Tutor] Complete Shutdown

2010-11-01 Thread Chris King
On 11/1/2010 5:20 PM, Alan Gauld wrote: "Chris King" wrote How do I completely shutdown a computer without administrative rights using a simple python script. If you have such a computer get rid of it, it fails the most basic test of a secure operating system. No program

Re: [Tutor] rights

2010-11-01 Thread Chris King
On 11/1/2010 5:21 PM, Alan Gauld wrote: "Chris King" wrote How do you give a script right to read a folder? You give the user account executing the script rights to read the folder. HTH, It was a folder on my desktop, which I can always read, right, and destroy. I ran

Re: [Tutor] pythonpath

2010-11-01 Thread Chris King
On 11/1/2010 6:13 PM, Walter Prins wrote: On 1 November 2010 21:58, Chris King <http://g.nius.ck>@gmail.com <http://gmail.com>> wrote: the first way with work for Window, the second is for Linux or posix systems Sorry I can't help with PYTHONPATH on

[Tutor] Server

2010-11-04 Thread Chris King
Dear Tutors, May server and client programs aren't working. They basically simplify socket and SocketServer. Run them directly to test them. They do work locally. They don't work from one computer to the next on the same network. Please Help. Sincerely, Me, Myself, and I P.S. How to

Re: [Tutor] Server

2010-11-05 Thread Chris King
On 11/4/2010 9:46 PM, Corey Richardson wrote: On 11/4/2010 8:43 PM, Chris King wrote: Dear Tutors, May server and client programs aren't working. They basically simplify socket and SocketServer. Run them directly to test them. They do work locally. They don't work from one c

Re: [Tutor] Server

2010-11-08 Thread Chris King
On 11/5/2010 8:10 PM, Alan Gauld wrote: "Chris King" wrote If you are using Windows, turn off the built-in firewall. That's what fixed my problems. ~Corey also, it is on the same network, so the server shouldn't be a problem I think Corey means the firewall on you

Re: [Tutor] Server

2010-11-08 Thread Chris King
On 11/8/2010 8:20 PM, Alan Gauld wrote: "Chris King" wrote I think Corey means the firewall on your PC if you have one. It could be blocking outgoing traffic to uncommon port numbers or somesuch. The firewall pops up and I click allow. It has nothing to do with the firewall a

Re: [Tutor] Networking

2010-11-08 Thread Chris King
On 10/14/2010 9:28 PM, James Mills wrote: On Fri, Oct 15, 2010 at 11:22 AM, chris wrote: But what if I want it to serve one client, go to another and then go back. How does that work? You do some I/O multi-plexing or multi-processing/threading. You might want to do some reading on this. che

Re: [Tutor] (no subject)

2011-04-23 Thread Chris King
On 4/22/2011 6:48 PM, Brad Desautels wrote: Ya, I did try to run it and I am getting a syntax error before it runs. -Original Message- From: tutor-bounces+outsideme99=live@python.org [mailto:tutor-bounces+outsideme99=live@python.org] On Behalf Of R. Alan Monroe Sent: Friday, Apr