Re: turtle ?

2008-12-23 Thread sai
On Tue, Dec 23, 2008 at 2:29 AM, Gerhard Häring wrote: > sai wrote: >> python newbie here :-) >> >> I am trying to get turtle to run but got stuck here: >> >> $ python >> Python 2.5.2 (r252:60911, Aug 5 2008, 16:17:28) >> [GCC 4.2.2 20071128 (prerelease) (4.2.2-3.1mdv2008.0)] on linux2 >> Type "

Multi-dimension list

2008-12-23 Thread Steven Woody
Hi, In the book Python Essential Reference, Chapter 3, I see an example: -- http://mail.python.org/mailman/listinfo/python-list

Re: Multi-dimension list

2008-12-23 Thread Steven Woody
Hi, In the book Python Essential Reference, Chapter 3, when talking about extended slicing, it gives an example: a = m[0:10, 3:20]. But I don't understand how the 'm' was defined. What should it looks like? Thanks. - narke -- http://mail.python.org/mailman/listinfo/python-list

earn more then,15,989$/-

2008-12-23 Thread kela
THE REAL ONLINE JOB from,USA. earn more then,15,989$/- per month,if you want more detail,on No investment. http://onlinejob4ind.homestead.com/ -- http://mail.python.org/mailman/listinfo/python-list

www.iofferkicks.com china cheap wholesale nike shoes,air jordan shoes,air force one shoes.

2008-12-23 Thread www.iofferkicks.com
Get Nike Shoes at Super Cheap Prices Discount Nike air jordans (www.iofferkicks.com) Discount Nike Air Max 90 Sneakers (www.iofferkicks.com) Discount Nike Air Max 91 Supplier (www.iofferkicks.com) Discount Nike Air Max 95 Shoes Supplier (www.iofferkicks.com) Discount Nike Air Max 97 Trainers (

Re: Multi-dimension list

2008-12-23 Thread Carl Banks
On Dec 23, 10:29 pm, "Steven Woody" wrote: > Hi, > > In the book Python Essential Reference, Chapter 3, when talking about > extended slicing, it gives an example:  a = m[0:10, 3:20].  But I > don't understand how the 'm' was defined.  What should it looks like? I suspect what the book is saying

socket send help

2008-12-23 Thread greyw...@gmail.com
Hi everyone, New guy here. I'm trying to figure out sockets in order to one day do a multiplayer game. Here's my problem: even the simplest examples don't work on my computer: A simple server: from socket import * myHost = '' myPort = 21500 s = socket(AF_INET, SOCK_STREAM)# create a TCP

Re: socket send help

2008-12-23 Thread Chris Rebert
On Tue, Dec 23, 2008 at 9:59 PM, greyw...@gmail.com wrote: > Hi everyone, > > New guy here. I'm trying to figure out sockets in order to one day do > a multiplayer game. Here's my problem: even the simplest examples > don't work on my computer: > > A simple server: > > from socket import * > my

Re: socket send help

2008-12-23 Thread Gabriel Genellina
En Wed, 24 Dec 2008 03:59:42 -0200, greyw...@gmail.com escribió: New guy here. I'm trying to figure out sockets in order to one day do a multiplayer game. Here's my problem: even the simplest examples don't work on my computer: A simple server: from socket import * myHost = '' Try with

Strategy for determing difference between 2 very large dictionaries

2008-12-23 Thread python
I'm looking for suggestions on the best ('Pythonic') way to determine the difference between 2 very large dictionaries containing simple key/value pairs. By difference, I mean a list of keys that are present in the first dictionary, but not the second. And vice versa. And a list of keys in common b

Re: Python's popularity

2008-12-23 Thread Steven D'Aprano
On Tue, 23 Dec 2008 08:06:35 -0800, the anonymous troll known only as "r" replied to Thorsten Kampe and said: > Thats "Thurstan", thank you very much! :) I think Thorsten knows how to spell his own name. -- Steven -- http://mail.python.org/mailman/listinfo/python-list

Re: no sign() function ?

2008-12-23 Thread Steven D'Aprano
On Tue, 23 Dec 2008 14:36:53 +0100, Pierre-Alain Dorange wrote: > Steven D'Aprano wrote: > >> But this is just duplicating what timeit already does. Trust me, learn >> to use it, you won't be sorry. Here's a trick that took me a long time >> to learn: instead of copying your functions into the s

Re: Strategy for determing difference between 2 very large dictionaries

2008-12-23 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 pyt...@bdurham.com wrote: > Feedback on my proposed strategies (or better strategies) would be > greatly appreciated. Both strategies will work but I'd recommend the second approach since it uses already tested code written by other people - the chanc

GIDS 2009 Java:: Save Big, Win Big, Learn Big: Act Before Dec 29 2008

2008-12-23 Thread Shaguf
--- Great Indian Developer Summit 2009 - GIDS.Java 24 April 2009 J N Tata Auditorium, IISc, Bangalore http://www.developersummit.com --

Most efficient way to build very large dictionaries

2008-12-23 Thread python
I'm working with some very large dictionaries (about 25M items per dictionary) that get filled based on data parsed from text based log files. I'm using Python dictionaries to track the frequency of specific combinations of events, eg, I build a key and then add various timing info from the current

Re: Strategy for determing difference between 2 very large dictionaries

2008-12-23 Thread Gabriel Genellina
En Wed, 24 Dec 2008 05:16:36 -0200, escribió: I'm looking for suggestions on the best ('Pythonic') way to determine the difference between 2 very large dictionaries containing simple key/value pairs. By difference, I mean a list of keys that are present in the first dictionary, but not the seco

Re: Strategy for determing difference between 2 very large dictionaries

2008-12-23 Thread Chris Rebert
On Tue, Dec 23, 2008 at 11:46 PM, Gabriel Genellina wrote: > > Yes; but isn't a dict comprehension more adequate? > > [key: (dict1[key], dict2[key]) for key in common_keys if > dict1[key]!=dict2[key]} That initial [ should be a { of course. Cheers, Chris -- Follow the path of the Iguana...

Re: Why MyHDL?

2008-12-23 Thread Jan Decaluwe
Stef Mientki wrote: hello Jan, Jan Decaluwe wrote: Hello: MyHDL is a Python package for using Python as a Hardware Description Language. A new release is upcoming, and on this occasion we have prepared a page about why MyHDL may be useful to you: http://www.myhdl.org/doku.php/why Very

<    1   2