Re: [Tutor] server / client program

2014-07-01 Thread Alan Gauld
On 01/07/14 01:12, Ant Parris wrote: Hi, I am new to python and i am stuck on a lab I am working on. below is the lab instructions for creating a server and client program. 1) Both server and client program run continually 2) until no me ssage is coming in the server. It means if a client hits t

Re: [Tutor] How can I let the Python Console display more decimal precision?

2014-07-01 Thread James Chapman
You could just initialise your variables with float() >>> float(26)/float(12) 2.1665 >>> varA = float(26) >>> varB = float(12) >>> varA/varB 2.1665 And so on... In fact, you only need to initialise one variable with float for this to work: >>> varA = float(26) >>> varB

[Tutor] A beginner having problems with inheritance

2014-07-01 Thread Sydney Shall
I am a beginner and I have always had problems with inheritance. I can get inheritance to work with very simple classes. But with more complex classes, I find that inheritance seems to work for simple variables, but I cannot get it to work with lists or arrays. Specifically my problem is to acce

Re: [Tutor] A beginner having problems with inheritance

2014-07-01 Thread Alan Gauld
On 01/07/14 18:04, Sydney Shall wrote: But with more complex classes, I find that inheritance seems to work for simple variables, but I cannot get it to work with lists or arrays. Specifically my problem is to access a numpy array in the parent class, from within the derived class. Caveat: I k

[Tutor] learning to programming questions part 2

2014-07-01 Thread keith papa
Hi am leaning to program in python with the book "think python" I have read both chapters 1 and 2 about string and variables and keywords., so I decide to look online for some practice to help me and I found something on http://www.pyschools.com/ 1.Write the function countA(word) that takes

[Tutor] Installation Aborts

2014-07-01 Thread Ted Gillam
I’m trying to install 3..4.1. I downloads OK but about ¾ the way through it aborts. I’m new to this can anyone give me any help? Since the above is happening I downloaded 2.7.7. It seems to install OK but when I try to run the GUI interface nothing happens. Any help here? Thanks in advance,

[Tutor] Please excuse and ignore prior message.

2014-07-01 Thread Ted Gillam
___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] learning to programming questions part 2

2014-07-01 Thread Alan Gauld
On 01/07/14 20:39, keith papa wrote: read both chapters 1 and 2 about string and variables and keywords., so I decide to look online for some practice to help me and I found something on http://www.pyschools.com/ 1.Write the function countA(word) that takes in a word as argument and returns th

Re: [Tutor] Installation Aborts

2014-07-01 Thread Alan Gauld
On 01/07/14 20:06, Ted Gillam wrote: I’m trying to install 3..4.1. I downloads OK but about ¾ the way through it aborts. I’m new to this can anyone give me any help? Since the above is happening I downloaded 2.7.7. It seems to install OK but when I try to run the GUI interface nothing happens. A

Re: [Tutor] What are your favourite unofficial resources

2014-07-01 Thread Danny Yoo
Yikes, I completely forgot about Dive Into Python! http://www.diveintopython.net/ ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor

[Tutor] Image Upload FalconFramework

2014-07-01 Thread Peter Romfeld
Hi, I try to make a simple image upload function, in django i just used: for feature phones: file = request.body rest: file = request.FILES['image'].read() with falcon i tried but not working req.stream.read() Their Freenode Channel is quite empty and it seems unused, so i hope i could find so