emergent/swarm/evolutionary systems etc

Peter MacKenzie peter9547 at btinternet.com
Sun Apr 4 16:07:25 EDT 2004


Looking at it, I don't think it's for me.  I'll keep it in mind for future
tasks, but this dissertation would be better served by text coding and a
raster display.  The flow chart code and vector graphics output of LabVIEW
might be useful if I was doing sociological work, as that uses a lot of flow
chart stuff to model the inter-linkages between people, but I'm not really a
people person.  Another minute, another thing I've learned.  It's not quite
as exciting as following the 'thinking' tutorial though.

>>> fruit = "bannana"
>>> bakedfood = " nut bread"
>>> fruit + bakedfood
'bannana nut bread'

>>>message = "What's up, doc?"

>>> fruit *len(fruit)
'bannanabannanabannanabannanabannanabannanabannana'
>>> fruit *len(message)
'bannanabannanabannanabannanabannanabannanabannanabannanabannanabannanabanna
nabannanabannanabannanabannana'

It took me a bit to figure out this one:

>>>fruit * pow(len(message),1)
'bannanabannanabannanabannanabannanabannanabannanabannanabannanabannanabanna
nabannanabannanabannanabannana'

(I won't take it to >>>fruit * pow(len(message),2))  There's such a thing a
too much fibre. :-)

Cameron Laird <claird at lairds.com> wrote in message
news:1070gv5586u8mc2 at corp.supernews.com...
> In article <dqednXF6-IRI3e3dRVn-ug at powergate.ca>,
> Peter Hansen  <peter at engcorp.com> wrote:
> .
> .
> .
> >> LISP brought it to mind.  Although LISP doesn't look that much better
than
> >> Python code, are there any programs out there that let you program, um,
> >> programs, using various shapes, colours etc?  Just thinking about it
brings
> >> up all manner of difficulties that would be encountered if you tried to
> >> create such a thing, but it would be nice if there was some immediately
> >> obvious graphical connection between pieces of code [...]
> >
> >Using the "G" graphical language of LabVIEW, all code ends up
> >_literally_ looking like spaghetti...  would that help?  ;-)
> >
> >-Peter
>
> LabVIEW's the first example that came to my mind, although
> perhaps Prograph or JavaBeans (!) could be argued as more
> commercially successful.
>
> I've worked on VPLs a couple of cycles in my career already,
> in process-control contexts.  My enthusiasm is tepid--but
> then I've exceedingly text-oriented.
> --
>
> Cameron Laird <claird at phaseit.net>
> Business:  http://www.Phaseit.net





More information about the Python-list mailing list