Re: [Tutor] Python Help

2013-01-26 Thread wrw
On Jan 23, 2013, at 4:37 PM, Grady Trexler grady...@gmail.com wrote: Below is my code. I am using python 2.4 It tells me I have a syntax error. Please help! (I think the first twenty lines have what you would be looking for. After that it just repeats itself.) #scenario maker

Re: [Tutor] Learning Python through automating web application testing.

2012-12-15 Thread wrw
On Dec 7, 2012, at 5:46 PM, marcusw4...@hotmail.co.uk wort...@googlemail.com wrote: Hello all, I'm new to posting on mailing lists so hopefully I've picked the correct one for my question(s). A little about my programming experience first. [byte] Because of this fear I've never

Re: [Tutor] LCM revisited + OOP

2012-11-27 Thread wrw
On Nov 27, 2012, at 8:13 PM, Ray Jones crawlz...@gmail.com wrote: Part I I am a good way through MIT's Introduction to Computer Science and Programming as offered through edX. I'm not certain I'm going to pass the course this first time through, the major hangup being the understanding of

Re: [Tutor] serial to parallel

2012-11-05 Thread wrw
On Nov 5, 2012, at 8:44 AM, Dave Angel d...@davea.name wrote: On 11/05/2012 06:53 AM, Bala subramanian wrote: [Huge byte] Thanks in advance, Bala Before you spend too much energy on this, I'd suggest that you'll probably see a substantial slowdown trying to write the two files in

Re: [Tutor] running multiple concurrent processes

2012-11-03 Thread wrw
On Nov 3, 2012, at 9:36 PM, Oscar Benjamin oscar.j.benja...@gmail.com wrote: [byte] Bill, I appreciate your comment and have given it much thought, Ramit made one much the same the other day. Here lies the potential problem, though it might not be one at all, I need to do some

Re: [Tutor] blackJack problem

2012-10-23 Thread wrw
On Oct 23, 2012, at 11:01 PM, Matthew D computer_dud...@hotmail.com wrote: Thanks Alan Gauld for your help. After taking a little break and coming back it all seemed to make sense...i understand why there is gonna be some really weird outputs to the interchanging of the player1.py

Re: [Tutor] managing memory large dictionaries in python

2012-10-19 Thread wrw
On Oct 16, 2012, at 12:57 PM, Abhishek Pratap abhishek@gmail.com wrote: Hi Guys For my problem I need to store 400-800 million 20 characters keys in a dictionary and do counting. This data structure takes about 60-100 Gb of RAM. I am wondering if there are slick ways to map the

Re: [Tutor] modulo

2012-10-07 Thread wrw
On Oct 7, 2012, at 6:49 PM, Esteban Izaguirre esteban...@gmail.com wrote: Hi, I'm following coursera's learn to program: the fundamentals, which teaches programming basics in python. Our first assignement involves the modulo operator with a negative divident, and while I've managed to get to

Re: [Tutor] how to print array without adding newline

2012-09-28 Thread wrw
On Sep 6, 2012, at 9:49 AM, vi...@thepenguin.org wrote: Thank you for your reply. I understand that it is odd, but my program is being called from a hubot and returning data to it as well. I have figured out how to make the changes to get it to output the correct data in the correct