Re: JH Conway memorial Life program

2020-04-28 Thread ast
Le 12/04/2020 à 23:40, Paul Rubin a écrit : You might have heard by now that John Horton Conway died yesterday at age 82, of complications from the SARS-Cov2 aka Corona virus. Among his many cool accomplishments was inventing the Game of Life, which was one of my first exercises as a beginning

Re: Conway's game of Life, just because.

2020-04-28 Thread ast
(0,1),(0,2),(1,2),(-1,1)]) # R-pentomino for i in range(1,1110): # it should stabilize at generation 1104 print (i,len(r)) # show generation number and population r = update(r) I found in a Game Of Life program (not mine) a very clever method to update a board of

Re: Conway's game of Life, just because.

2019-05-08 Thread songbird
rules to be layered and there to be levels stacked (so you could have different rules apply to different scales of things - much like life/biology and ecological systems function). i never designed anything though. i started learning python with this sort of project in mind, but

Re: Conway's game of Life, just because.

2019-05-08 Thread Paul Moore
Golly supports both bounded and unbounded universes. I don't know how it does it, and (obviously) it will hit limits *somewhere*, but I consider support of unbounded universes to mean that any failure modes will not be attributable to limits on the value of co-ordina

Re: Conway's game of Life, just because.

2019-05-08 Thread Richard Damon
On 5/8/19 4:26 AM, Paul Moore wrote: > On Wed, 8 May 2019 at 03:39, Richard Damon wrote: >> My experience is that the wrap around is common, as otherwise the hard >> edge causes a discontinuity in the rules at the edge, so any pattern >> that reaches the edge no longer has a valid result. The toru

Re: Conway's game of Life, just because.

2019-05-08 Thread Paul Moore
On Wed, 8 May 2019 at 03:39, Richard Damon wrote: > My experience is that the wrap around is common, as otherwise the hard > edge causes a discontinuity in the rules at the edge, so any pattern > that reaches the edge no longer has a valid result. The torus effect > still perturbs the result, but

Re: Conway's game of Life, just because.

2019-05-07 Thread Richard Damon
? >>> >> I've never seen a version of Conway's Game of Life where the board >> doesn't wrap around. > I don't think I've ever seen one where it does. My experience is that the wrap around is common, as otherwise the hard edge causes a discontinuity

Re: Conway's game of Life, just because.

2019-05-07 Thread Ian Kelly
[-1,0,1] for j in [-1,0,1] if i or j) > > > [snip] > > > > Elijah > > -- > > is the torus game board unintentional? > > > I've never seen a version of Conway's Game of Life where the board > doesn't wrap around. I don't think I've ever seen one where it does. -- https://mail.python.org/mailman/listinfo/python-list

Re: Conway's game of Life, just because.

2019-05-07 Thread Eli the Bearded
In comp.lang.python, MRAB wrote: > I've never seen a version of Conway's Game of Life where the board > doesn't wrap around. The one I wrote in vi macros doesn't. It's a design choice you can make. (Thanks for the explainations everyone.) Elijah -- the vi m

Re: Conway's game of Life, just because.

2019-05-07 Thread MRAB
cell neighbors x, y = cell # a cell is just an x,y coordinate pair return ((x+i,y+j) for i in [-1,0,1] for j in [-1,0,1] if i or j) [snip] Elijah -- is the torus game board unintentional? I've never seen a version of Conway's Game of Life where the b

Re: Conway's game of Life, just because.

2019-05-07 Thread Chris Angelico
On Wed, May 8, 2019 at 4:31 AM Eli the Bearded <*@eli.users.panix.com> wrote: > > In comp.lang.python, Paul Rubin wrote: > > Thanks for posting this. I'm learning python and am very familiar with > this "game". > > > #!/usr/bin/python3 > > from itertools import chain > > > > def adjacents(cell):

Re: Conway's game of Life, just because.

2019-05-07 Thread Eli the Bearded
In comp.lang.python, Paul Rubin wrote: Thanks for posting this. I'm learning python and am very familiar with this "game". > #!/usr/bin/python3 > from itertools import chain > > def adjacents(cell):# generate coordinates of cell neighbors > x, y = cell # a cell

Python 3.3.7rc1 now available prior to Python 3.3 end-of-life

2017-09-06 Thread Ned Deily
On behalf of the Python development community and the Python 3.3 release teams, I would like to announce the availability of Python 3.3.7rc1, the release candidate of Python 3.3.7. It is a security-fix source-only release. Python 3.3.0 was released 5 years ago on 2012-09-29 and has been in sec

Re: Python, VIM: namespace, scope, life of a python object stuck in a << HERE

2014-11-04 Thread Peter Otten
Veek M wrote: > If i have two functions: > > function! foo() > python3 << HERE > import mylib > pass > HERE > > function! bar() > python3 << HERE > import mylib > pass > HERE > > The src says: > > 1. Python interpreter main program > 3. Implementation of the Vim module for Python > > So

Python, VIM: namespace, scope, life of a python object stuck in a << HERE

2014-11-04 Thread Veek M
If i have two functions: function! foo() python3 << HERE import mylib pass HERE function! bar() python3 << HERE import mylib pass HERE The src says: 1. Python interpreter main program 3. Implementation of the Vim module for Python So, is the python interpreter embedded in vim AND additio

Re: real-life example LC_CTYPE effects?

2014-10-21 Thread random832
On Mon, Oct 20, 2014, at 16:33, Albert-Jan Roskam wrote: > Hi, > > The locale category LC_CTYPE may affect character classification and case > conversion. > > That's the theory. Can you give a practical example where this locale > setting matters? Eg.: > locale.setlocale(locale.LC_CTYPE, loc) > m

real-life example LC_CTYPE effects?

2014-10-21 Thread Albert-Jan Roskam
Hi, The locale category LC_CTYPE may affect character classification and case conversion. That's the theory. Can you give a practical example where this locale setting matters? Eg.: locale.setlocale(locale.LC_CTYPE, loc) m = re.match("\d+", s, re.I | re.L) So with two different values for loc

The Purpose Of Life & Muslim Spoken Word & The Daily Reminder

2014-04-15 Thread bv4bv4bv4
The Purpose Of Life & Muslim Spoken Word & The Daily Reminder http://www.youtube.com/watch?v=Wdhk2y6zFg4 Thank you -- https://mail.python.org/mailman/listinfo/python-list

new life at comp.misc

2014-02-21 Thread RS Wood
If you weren't already aware, a bunch of people who usually read slashdot.org got frustrated and went back to Usenet, partly because of the new slashdot beta interface Dice Media is imposing, partly because we all suddenly remembered how much we love Usenet. We all landed at comp.misc. If you lo

Re: Modeling life on Earth –- an object-oriented (Python?) challenge

2013-08-04 Thread David Hutto
You basically have, currently, widgets,data,data manipulation through variables and widget utilization to call the functions,and data visualization. Next step would be algorithm, and pseudo code, plus a prototyped mockup of the GUI. -- http://mail.python.org/mailman/listinfo/python-list

Re: Modeling life on Earth –- an object-oriented (Python?) challenge

2013-07-30 Thread Luigi Ponti
[...forgot to reply to the list...] Dear David, Thanks for your feedback -- you got right to the point: ...python would be more of a prototyping language, and later translated > into another language for faster maneuvering of data > exactly! I was hoping that, since the modeling framework is co

Re: Modeling life on Earth –- an object-oriented (Python?) challenge

2013-07-30 Thread David Hutto
Never used pascal, and python might not be the fastest way to implement a program such as this. In a previous discussion, this was taken place by someone using a predator prey brain class.. The simulation will vary, until a full refinement of forecast is above a certainty percentage level. Visua

Modeling life on Earth –- an object-oriented (Python?) challenge

2013-07-30 Thread quartese
Dear List, I have to start this email by saying that I have recently attended EuroPython in Florence, and it was the best and better organized conference I have ever attended in 14 years of international meetings. I apologize if this is off topic, but I read in the list's description that “[p]

ISLAM and the AIM of LIFE

2013-02-14 Thread BV BV
ISLAM and the AIM of LIFE What is your purpose in life? What is the rationale behind our life? Why do we live in this life? These questions frequently intrigue people who try to find accurate answers. People provide different answers to these questions. Some people believe the purpose of life is

would u wanna details about ur life partner.click here free registration.

2012-02-08 Thread vetri vijay
http://123maza.com/46/river834/ -- http://mail.python.org/mailman/listinfo/python-list

[OT] One click, one (buggy) life...

2011-06-21 Thread DavCori80
Hi everyone, I would like to share a youtube clip...one click costs nothing while can save lives sometimes (especially mine). http://www.youtube.com/watch?v=PiCeqtGHpJI Thanks a lot and cheers. DavCori http://www.ar4tro.com/welcome.html -- http://mail.python.org/mailman/listinfo/python-list

Re: Life

2011-04-27 Thread Kelly James
Only an experienced person can tell about life in this great way. http://www.insurancesos.co.uk/articles/life-insurance/index.html"; rel="dofollow">Life Insurance UK -- http://mail.python.org/mailman/listinfo/python-list

Life

2010-09-22 Thread saruviel
Life By Daniel Daly A series of, perhaps random thoughts, or if you take the time to try and make some coherent sense of the whole, perhaps something deeper. But probably not. I was inspired to start this task by the book ‘By the Waters of Galilee’ by Fr Luke Fay of Catholic faith

Re: ImportError: DLL load failed: The specified module could notbe found, SWIG, life, etc

2010-07-05 Thread Bill Davy
"Thomas Jollans" wrote in message news:mailman.265.1278342154.1673.python-l...@python.org... > On 07/05/2010 04:35 PM, Bill Davy wrote: >> I am struggling :-( > > smile! > >> >> I have used SWIG to build a module called SHIP. So I have a directory >> containing SHIP.py and _SHIP.pyd, as follows:

Re: ImportError: DLL load failed: The specified module could not be found, SWIG, life, etc

2010-07-05 Thread Thomas Jollans
On 07/05/2010 04:35 PM, Bill Davy wrote: > I am struggling :-( smile! > > I have used SWIG to build a module called SHIP. So I have a directory > containing SHIP.py and _SHIP.pyd, as follows: > > [ ...] > > Python appears to find H:\Viper\HostPC\V1\SHIP\Release\_SHIP.pyd but for > some reas

ImportError: DLL load failed: The specified module could not be found, SWIG, life, etc

2010-07-05 Thread Bill Davy
I am struggling :-( I have used SWIG to build a module called SHIP. So I have a directory containing SHIP.py and _SHIP.pyd, as follows: H:\Viper\HostPC\V1\SHIP\Release>dir Volume in drive H has no label. Volume Serial Number is B83B-76F2 Directory of H:\Viper\HostPC\V1\SHIP\Release

insurance, life insurance, home insurance and their benefits www.autoinsurance-2010.blogspot.com

2010-02-22 Thread karthiga madhan
insurance, life insurance, home insurance and their benefits www.autoinsurance-2010.blogspot.com -- http://mail.python.org/mailman/listinfo/python-list

[ANN] Python testing client for Second Life virtual world

2009-05-01 Thread Lawson English
If anyone is curious, I'm working on a GUI shell for the python second life client, pyogp. Temp home for pyogp intro: https://wiki.secondlife.com/wiki/Pyogp/Client_Lib Basically the [first] plan is to have a GUI wrapper around the sample code with a batch file option, and to allow mul

Python Client for Second Life

2009-04-02 Thread Lawson English
hey all, a reminder for anyone interested in the python second life client, pyogp, we have our own irc channel on freenode called pyogp, and our own in-world discussion group, also called pyogp. Lawson (Saijanai in Second Life) ___ mmox mailing list

free download - breve 2.7.2 : a 3D Simulation Environment for Multi-Agent Simulations and Artificial Life

2009-01-22 Thread Nick
www.filecub.com What is breve? breve is a free, open-source software package which makes it easy to build 3D simulations of multi-agent systems and artificial life. Using Python, or using a simple scripting language called steve, you can define the behaviors of agents in a 3D world and observe

Free Domain Name for life. supports for CNAME, A, MX, NS records! - Full DNS control - URL forwarding

2008-12-04 Thread srimo
Register A Domain Name Free for life. Up to 2 free domain names. - You can transfer ownership of you domain to another person. Get a cool, simple and FREE domain! No Ads supports for CNAME, A, MX, NS records! Search for the domain you want - if it's available, register it today for FREE!

tax is importent life in after we family

2008-08-24 Thread [EMAIL PROTECTED]
http://www.moneymaking4.blogspot.com/ -- http://mail.python.org/mailman/listinfo/python-list

ISLAM and the AIM of LIFE

2008-08-21 Thread aassime abdellatif
ISLAM and the AIM of LIFE What is your purpose in life? What is the rationale behind our life? Why do we live in this life? These questions frequently intrigue people who try to find accurate answers. People provide different answers to these questions. Some people believe the purpose of life is

ISLAM and the AIM of LIFE

2008-08-21 Thread aassime abdellatif
ISLAM and the AIM of LIFE What is your purpose in life? What is the rationale behind our life? Why do we live in this life? These questions frequently intrigue people who try to find accurate answers. People provide different answers to these questions. Some people believe the purpose of life is

ISLAM and the AIM of LIFE

2008-08-21 Thread aassime abdellatif
ISLAM and the AIM of LIFE What is your purpose in life? What is the rationale behind our life? Why do we live in this life? These questions frequently intrigue people who try to find accurate answers. People provide different answers to these questions. Some people believe the purpose of life is

How to be successful in life

2008-08-21 Thread aassime abdellatif
everyone wants, and these are the ways in which people can have a good life and find complete happiness and joy. There are religious means of achieving that, and natural and practical means, but no one can combine all of them except the believers; although other people may achieve some of them, they will

How to be successful in life

2008-08-21 Thread aassime abdellatif
everyone wants, and these are the ways in which people can have a good life and find complete happiness and joy. There are religious means of achieving that, and natural and practical means, but no one can combine all of them except the believers; although other people may achieve some of them, they will

[ANN] Update on Python-based Second Life client library (pyogp)

2008-06-28 Thread Lawson English
Pyogp is the Python-based library being developed by Linden Lab, makers of Second Life, and the programming community of the users of Second Life under the auspices of the SL Architecture Working Group, in order to test and implement open protocols designed to allow anyone to create their own

ANN: A Primer on Python for Life Science Researchers

2007-11-30 Thread Sebastian Bassi
I'm happy to report the release of a PLOS paper: "A Primer on Python for Life Science Researchers". It is a six page education paper introducing Python. If you have a friend that is a researchers in a biological area and you think that he may need to know Python, please send him th

Re: Portrait of a "real life" __metaclass__

2007-11-11 Thread Mark Shroyer
and all that ;). But as for the rest of this statement, I thoroughly disagree. This object-oriented "syntactic sugar" is, in this case, a means of organizing my application's behavior into meaningful, simply understood, and easily adapted units. A monolithic "match" func

Re: Portrait of a "real life" __metaclass__

2007-11-10 Thread Jonathan Gardner
. In fact, by writing classes for all these branches in the program logic, you are doing yourself a disservice. When you return to this code 3 weeks from now, you'll find all the class declarations and metaclass and syntactic sugar is getting in your way of seeing what is really happening.

Re: Portrait of a "real life" __metaclass__

2007-11-10 Thread Mark Shroyer
>> I've been working on, and I ended up doing a sort of write-up on it, >> as an example of what a "real life" __metaclass__ might do for those >> who may never have seen such a thing themselves. >> >> http://markshroyer.com/blog/2007/11/09/tilting-

Re: Portrait of a "real life" __metaclass__

2007-11-09 Thread Jonathan Gardner
it, > as an example of what a "real life" __metaclass__ might do for those > who may never have seen such a thing themselves. > > http://markshroyer.com/blog/2007/11/09/tilting-at-metaclass-windmills/ > > So what's the verdict? Incorrect? Missed the point comp

Portrait of a "real life" __metaclass__

2007-11-09 Thread Mark Shroyer
I guess this sort of falls under the "shameless plug" category, but here it is: Recently I used a custom metaclass in a Python program I've been working on, and I ended up doing a sort of write-up on it, as an example of what a "real life" __metaclass__ might do for thos

Re: Life-time of temporary variables in list comprehensions

2007-10-23 Thread beginner
On Oct 23, 12:02 pm, beginner <[EMAIL PROTECTED]> wrote: > Hi All, > > If I have a list comprehension: > > ab=["A","B"] > c = "ABC" > [1.0 if c=='A' else c='B' for c in ab] > print c > > >>"B" > > My test shows that if c is not defined before the list comprehension, > it will be created in the list

Re: Life-time of temporary variables in list comprehensions

2007-10-23 Thread Steven D'Aprano
On Tue, 23 Oct 2007 17:02:48 +, beginner wrote: > My test shows that if c is not defined before the list comprehension, it > will be created in the list comprehension; if it is defined before the > list comprehension, the value will be overwritten. In other words, temp > variables are not loca

Re: Life-time of temporary variables in list comprehensions

2007-10-23 Thread Diez B. Roggisch
beginner schrieb: > Hi All, > > If I have a list comprehension: > > ab=["A","B"] > c = "ABC" > [1.0 if c=='A' else c='B' for c in ab] > print c > >>> "B" > > My test shows that if c is not defined before the list comprehension, > it will be created in the list comprehension; if it is defined be

Re: Life-time of temporary variables in list comprehensions

2007-10-23 Thread Carsten Haese
On Tue, 2007-10-23 at 17:02 +, beginner wrote: > Hi All, > > If I have a list comprehension: > > ab=["A","B"] > c = "ABC" > [1.0 if c=='A' else c='B' for c in ab] "c='B'" is invalid syntax. Maybe you mean "c=='B'". That doesn't make much sense, but at least it's correct syntax. > print c >

Life-time of temporary variables in list comprehensions

2007-10-23 Thread beginner
Hi All, If I have a list comprehension: ab=["A","B"] c = "ABC" [1.0 if c=='A' else c='B' for c in ab] print c >>"B" My test shows that if c is not defined before the list comprehension, it will be created in the list comprehension; if it is defined before the list comprehension, the value will

Re: the secret life of zombies

2007-10-12 Thread jsnx
I fixed it myself -- I had to install a signal handler and use nested 'try-expect' stuff. The link points to the new version. -- http://mail.python.org/mailman/listinfo/python-list

Re: the secret life of zombies

2007-10-11 Thread jsnx
Oh, by the way -- I apologize for the poor formatting of this post, I guess my linewrap setting is wrong for nntp. -- http://mail.python.org/mailman/listinfo/python-list

the secret life of zombies

2007-10-11 Thread jsnx
I'd like a program, call it 'pipe-fitter', that connects and interactive app to three named pipes. The program will filter out EOF from the input pipe, to keep the interactive program alive for multiple commands. When the interactive app dies, by receiving 'exit', say, then we are done with it -- p

the secret life of zombies

2007-10-11 Thread jsnx
I'd like a program, call it 'pipe-fitter', that connects and interactive app to three named pipes. The program will filter out EOF from the input pipe, to keep the interactive program alive for multiple commands. When the interactive app dies, by receiving 'exit', say, then we are done with it -- p

Re: Tracking memory usage and object life time.

2007-09-26 Thread Istvan Albert
On Sep 26, 8:06 am, Berteun Damman <[EMAIL PROTECTED]> wrote: > that have been created after I don't need them anymore. I furthermore > don't really see why there would be references to these larger objects > left. (I can be mistaken of course). This could be tricky because you have a graph that

Re: Tracking memory usage and object life time.

2007-09-26 Thread Berteun Damman
On Sep 26, 2:31 pm, Bjoern Schliessmann wrote: > Did you check the return value of gc.collect? Also, try using > other "insight" facilities provided by the gc module. gc.collect states it cannot find any unreachable objects. Meanwhile the number of objects the garbage collector has to keep track o

Re: Tracking memory usage and object life time.

2007-09-26 Thread Bjoern Schliessmann
Berteun Damman wrote: > When I run a test, I disable the garbage collection during the > test run (as is adviced), but just before starting a test I > instruct the garbage collector to collect. Running the test > without disabling the garbage collect doesn't show any difference > though. Did you

Tracking memory usage and object life time.

2007-09-26 Thread Berteun Damman
Hello, I have programmed some python script that loads a graph (the mathemical one with vertices and edges) into memory, does some transformations on it, and then tries to find shortest paths in this graph, typically several tens of thousands. This works fine. Then I made a test for this, so I co

the AIM of LIFE

2007-09-24 Thread abdo911
Allow me to share with you here some information about the AIM of LIFE . What is your purpose in life? What is the rationale behind our life? Why do we live in this life? These questions frequently intrigue people who try to find accurate answers. People provide different answers to these

Income for life

2007-09-19 Thread GDI groups
Hi, all I'm recommended GDI website http://www.globalrichonline.com/ You can make the money online 100% Good day. -- http://mail.python.org/mailman/listinfo/python-list

Twisted Life version 1.0.0 (stable) released

2007-09-11 Thread Paul Reiners
Version 1.0.0 of Twisted Life has just been released. Twisted Life is a video game that uses a variant of Conway's Life cellular automaton as its universe. In Twisted Life, you try to navigate to the center of the Twisted Life universe without colliding into any of the malevolent, evil Life

very important for your life...

2007-06-17 Thread asm
Hi there ... Thank you for reading this message . Did you here about Islam? I mean the real Islam... Do you have some questions in your religion and you don't have the answers for them? Do you know that you have to condemns in Islam? Ok... just visit these sites, read and download any thing you

Re: What's the life time of the variable defined in a class function?

2007-04-30 Thread 人言落日是天涯,望极天涯不见家
gt;         n = 200 > >         if True: > >             j = 200 > >         m = j > >         k = A() > >         print m, j > > > a = X() > > # ?? what about the m, n and j? is it still alive? > > del a > > > -- >

Re: What's the life time of the variable defined in a class function?

2007-04-30 Thread Diez B. Roggisch
int m, j > > a = X() > # ?? what about the m, n and j? is it still alive? > del a > > -- > In C/C++, the life time of m,n and j was the nearest block. but > obviously, python doen't have this syntax, but I would like to know > that whether the

What's the life time of the variable defined in a class function?

2007-04-30 Thread 人言落日是天涯,望极天涯不见家
-- In C/C++, the life time of m,n and j was the nearest block. but obviously, python doen't have this syntax, but I would like to know that whether the life time of m, n, j is base on function range or the object range. We can not access the m, n, and j from the outside of class X

American Expertise in Science and China, amazing good life at the end

2007-02-22 Thread stj911
http://www.newsreview.com/sacramento/Content?oid=oid%3A16418 Google search for Robert Hanson accidentally led to the amazing story in the link above -- http://mail.python.org/mailman/listinfo/python-list

Re: consequence and life

2006-12-24 Thread marika
Lester Mosley wrote: > I alway wondered if you are smelling a flower in a dream while on some > crazy herbal medication. are you smelling the flower that is in the > drug or a a flower that you once smelled when you were three years old > on your daddy's knee ofr when you were bent over in the par

Re: consequence and life

2006-12-24 Thread Lester Mosley
I alway wondered if you are smelling a flower in a dream while on some crazy herbal medication. are you smelling the flower that is in the drug or a a flower that you once smelled when you were three years old on your daddy's knee ofr when you were bent over in the park looking for your lost keys.

sEcOnD LIfe; Be wHaT eVeR u wAnt To bE!!!!

2006-12-15 Thread checoo
Second Life is a 3-D virtual world entirely built and owned by its residents. Since opening to the public in 2003, it has grown explosively and today is inhabited by a total of 2,007,546 people from around the globe. YOU LIVE IN A VIRTUAL WORLD, WHERE YOU CHOOSE HOW YOU LOOK AND WHAT YOU WANT TO

Re: OO on python real life tutorial?

2006-09-03 Thread bearophileHUGS
Patrick Thomson: > After all, GvR said that > "wxPython is the best and most mature cross-platform GUI toolkit, > given a number of constraints. The only reason wxPython isn't the > standard Python GUI toolkit is that Tkinter was there first." > > The Wax toolkit (http://zephyrfalcon.org/labs/wax.h

Re: OO on python real life tutorial?

2006-09-03 Thread Claudio Grondi
Patrick Thomson wrote: >>I personally don't like wxPython because the way it works is very >>counter intuitive for me and appear to me somehow non-Pythonic > > > While Claudio has a point (wxPython is a C++ library at heart), I > believe that wxPython is the best solution for Python GUI's out the

Re: OO on python real life tutorial?

2006-09-02 Thread Robert Hicks
filippo wrote: > Claudio Grondi ha scritto: > > (megasnip) > > I caught your point of view. I start reading a book on wxpython to > understand if it can help to solve my problems. At the same time I will > port my program to Python/Tk in order to have a faster first beta > release. > > Thanks for

Re: OO on python real life tutorial?

2006-09-02 Thread Patrick Thomson
> I personally don't like wxPython because the way it works is very > counter intuitive for me and appear to me somehow non-Pythonic While Claudio has a point (wxPython is a C++ library at heart), I believe that wxPython is the best solution for Python GUI's out there. TK may be a lot easier, but

Re: OO on python real life tutorial?

2006-09-02 Thread Ron Adam
filippo wrote: > Hello, > > I coded my +10k lines app using Perl/Tk. It is something like a hotel > software manager, it has a bunch of windows to manage the arrivals, > bills etc etc. I want to port this on Python/WxPython but I'd like to > get benefit of python, not just doing a row by row raw p

Re: OO on python real life tutorial?

2006-09-02 Thread filippo
Claudio Grondi ha scritto: (megasnip) I caught your point of view. I start reading a book on wxpython to understand if it can help to solve my problems. At the same time I will port my program to Python/Tk in order to have a faster first beta release. Thanks for your explanation. Filippo -- h

Re: OO on python real life tutorial?

2006-09-01 Thread Claudio Grondi
filippo wrote: > thanks Fredrik and Claudio, > > probably structured coding paradigm is what I need. Claudio, could you > explain better your sentence below? > > Claudio Grondi ha scritto: > >>Python/Tk for it in order to avoid programming in wxPython if not really >>necessary (wxPython has its

Re: OO on python real life tutorial?

2006-09-01 Thread filippo
Diez B. Roggisch ha scritto: > I've been doing an online hotel reservation system, btw, and I assure > you: OO was very helpful, even in its crappy PHP incarnation. thanks Diez, I'll keep trying OO paradigm. Probably the advantages will be clearer to me porting to python my app. Best regards, Fi

Re: OO on python real life tutorial?

2006-09-01 Thread Diez B. Roggisch
filippo schrieb: > thanks Fredrik and Claudio, > > probably structured coding paradigm is what I need. Claudio, could you > explain better your sentence below? > > Claudio Grondi ha scritto: >> Python/Tk for it in order to avoid programming in wxPython if not really >> necessary (wxPython has its

Re: OO on python real life tutorial?

2006-09-01 Thread filippo
Fredrik Lundh ha scritto: > How many do you need ? ;-) (snip) thanks Fredrik, I know there are plenty of tutorials and manuals. I know what classes, inheritance and polymorphism are. My problem is that I cannot figure out how they can help me in my practical problem (my software). The only things

Re: OO on python real life tutorial?

2006-09-01 Thread filippo
thanks Fredrik and Claudio, probably structured coding paradigm is what I need. Claudio, could you explain better your sentence below? Claudio Grondi ha scritto: > Python/Tk for it in order to avoid programming in wxPython if not really > necessary (wxPython has its strengths with growing project

Re: OO on python real life tutorial?

2006-09-01 Thread Claudio Grondi
filippo wrote: > Hello, > > I coded my +10k lines app using Perl/Tk. It is something like a hotel > software manager, it has a bunch of windows to manage the arrivals, > bills etc etc. I want to port this on Python/WxPython but I'd like to > get benefit of python, not just doing a row by row raw p

Re: OO on python real life tutorial?

2006-09-01 Thread Fredrik Lundh
"filippo" wrote: > I coded my +10k lines app using Perl/Tk. It is something like a hotel > software manager, it has a bunch of windows to manage the arrivals, > bills etc etc. I want to port this on Python/WxPython but I'd like to > get benefit of python, not just doing a row by row raw porting. >

OO on python real life tutorial?

2006-09-01 Thread filippo
Hello, I coded my +10k lines app using Perl/Tk. It is something like a hotel software manager, it has a bunch of windows to manage the arrivals, bills etc etc. I want to port this on Python/WxPython but I'd like to get benefit of python, not just doing a row by row raw porting. My problem is that

Re: Conway's Life Implementation

2006-08-27 Thread Andrew Trevorrow
"Putty" <[EMAIL PROTECTED]> wrote: > Hi. I was going to write an implementation of John Conway's Life game > using Python and Tk, but I soon found that Tk just didn't cut the > mustard for memory usage, management, and the like for such a project, > so I&#

Re: Conway's Life Implementation

2006-08-27 Thread [EMAIL PROTECTED]
Putty wrote: > Do you think it would be reasonable to use wxGrid to make the game > area? > > [EMAIL PROTECTED] wrote: > > Putty wrote: > > > Hi. I was going to write an implementation of John Conway's Life game > > > using Python and Tk, but

Re: Conway's Life Implementation

2006-08-27 Thread Putty
Do you think it would be reasonable to use wxGrid to make the game area? [EMAIL PROTECTED] wrote: > Putty wrote: > > Hi. I was going to write an implementation of John Conway's Life game > > using Python and Tk, but I soon found that Tk just didn't cut the >

Re: Conway's Life Implementation

2006-08-27 Thread [EMAIL PROTECTED]
Putty wrote: > Hi. I was going to write an implementation of John Conway's Life game > using Python and Tk, but I soon found that Tk just didn't cut the > mustard for memory usage, management, and the like for such a project, > so I've found my best GUI bet for my

Conway's Life Implementation

2006-08-27 Thread Putty
Hi. I was going to write an implementation of John Conway's Life game using Python and Tk, but I soon found that Tk just didn't cut the mustard for memory usage, management, and the like for such a project, so I've found my best GUI bet for my project is wxPython and not pygame. A

Re: Life + Python = Golly

2006-06-25 Thread Michel Claveau
Cool ! Thanks ! -- @-salutations Michel Claveau -- http://mail.python.org/mailman/listinfo/python-list

Life + Python = Golly

2006-06-25 Thread Andrew Trevorrow
Golly is an open source, cross-platform Life app which features an unbounded universe and uses Gosper's hashlife algorithm to allow the exploration of patterns at unprecedented scales and speeds. We've just released version 1.0 and Python fans might be interested to hear that we&#x

VIAGRRÁ-Good for your life

2005-08-19 Thread Xavier Burger
Hello,   Welto PharmcyByMail ST0RE - Save huge 70% on all the 0rders with us.come    We are there whi only stoch gives this great deal to you!   VlALLlS VALy other drugplAGRRA ClUUM and mans in our sho   r NEW PRlCESCheck out ou   Have a nice day. -- http://mail.python.org/mailman/listinfo/pyth

Re: Life of Python

2005-06-30 Thread ABO
> Okay. This makes sense if the software is: > > 1) Designed by one institution. > 2) Designed almost entirely before deployment. > 3) Not designed to be worked on by users and > semi-trained developers. > > In other words --- proprietary software. In my experience, it doesn't work well even i

Re: Life of Python

2005-06-27 Thread Terry Hancock
oftware advantage, then it is absolutely in your best interest to make the way as easy as possible for the people who follow you. > > this should be expanded further, i.e. more build-in decorators > for > > interfaces, abstract classes, parameter and return value > restrictions.

Re: Life of Python

2005-06-27 Thread Alan Gauld
re! I certainly didn't find us rewriting Lisp code rather than enhancing what was there, and Lisp shares much of Python's approach to life. -- Alan G Author of the Learn to Program web tutor http://www.freenetpages.co.uk/hp/alan.gauld -- http://mail.python.org/mailman/listinfo/python-list

Re: Life of Python

2005-06-25 Thread Chris Lambacher
On the accessor function topic. Here is a good description of why you don't need accessors in python (among other things) written by the main PEAK(http://peak.telecommunity.com/) developer (Phillip J. Eby): http://dirtsimple.org/2004/12/python-is-not-java.html Some other useful articles in a simi

Re: Life of Python

2005-06-25 Thread Benji York
Uwe Mayer wrote: > con: If you are planning larger applications (for a reasonable value of > "large") you have to discipline yourself to write well structured code. This is definitely true, no matter the language you use. > Then you will want to specify interfaces, If you're really interested i

  1   2   >