On 11/27/07, jim stockford ([EMAIL PROTECTED]) wrote:
>I'd love to know scott's definition of "framework", especially
>contrasting with full-blown CMS.
Yes, when one compares something like Quixote to Zope, there is a _lot_ of
middle-ground. They are all frameorks, just with incrementally lar
On 11/27/07, Richard Querin ([EMAIL PROTECTED]) wrote:
>After reading it all I'm wondering if maybe a templating system like
>Cheetah might be the way to go for us. I'll have to do a lot more
>reading and exploring.
Sure. Be wary of any system that allows the template to freely call python i.e.
What you want is a set of entries. Unfortunately, python lists are not
"hashable" which means you have to convert them to something hashable
before you can use the python set datatype.
What you'd like to do is add each to a set while converting them to a
tuple, then convert them back out of the se
I'd love to know scott's definition of "framework", especially
contrasting with full-blown CMS.
Frameworks for Python:
CherryPy · Django · Karrigell · Nevow · Porcupine · Pylons · Spyce ·
TurboGears · TwistedWeb · Webware · Zope
per http://en.wikipedia.org/wiki/Django_(web_framework)
Richard Querin wrote:
> While we have less than 50 entries at the moment, adding each one is
> still quite a hack. I've written a small wxpython app to take away
> some of the pain of it, but it's still prone to corruption and still
> too much work.
Have you looked at Firedrop2? It makes it prett
Whoa!. Lots of very good advice here. Thanks to all.
After reading it all I'm wondering if maybe a templating system like
Cheetah might be the way to go for us. I'll have to do a lot more
reading and exploring. I'd love to learn something like Django but
like it has been said, that's really a fram
bob gailer wrote:
> 2 - Sort the list. Create a new list with an entry for the first name,
> project, workcode. Step thru the list. Each time the name, project,
> workcode is the same, accumulate hours. When any of those change, create
> a list entry for the next name, project, workcode and agai
Richard Querin wrote:
> I'm trying to process a list and I'm stuck. Hopefully someone can help
> me out here:
>
> I've got a list that is formatted as follows:
> [Name,job#,jobname,workcode,hours]
>
> An example might be:
>
> [Bob,07129,projectA,4001,5]
> [Bob,07129,projectA,5001,2]
> [Bob,07101,pr
Latasha Marks wrote:
> Design a program to keep track of the scores of bowlers as they bowl a
> game. The program must prompt each bowler to bowl. The program begins
> by allowing the bowlers to enter their names. Each frame is tracked
> and properly displayed as the game progresses.
I agree wit
On 28/11/2007, Richard Querin <[EMAIL PROTECTED]> wrote:
> I've got a list that is formatted as follows:
> [Name,job#,jobname,workcode,hours]
[...]
> Now I'd like to consolidate entries that are duplicates. Duplicates
> meaning entries that share the same Name, job#, jobname and workcode.
> So for
I'm trying to process a list and I'm stuck. Hopefully someone can help
me out here:
I've got a list that is formatted as follows:
[Name,job#,jobname,workcode,hours]
An example might be:
[Bob,07129,projectA,4001,5]
[Bob,07129,projectA,5001,2]
[Bob,07101,projectB,4001,1]
[Bob,07140,projectC,3001,3
First-off, I have to appologize to the list for an accidental re-send of my
original post. I didn't want to spam the list with an 'oops' message, but it
seems appropriate now. If the other version gets caught by a moderator, it can
be deleted - thanks!
On 11/27/07, jim stockford ([EMAIL PROTECT
On Nov 27, 2007, at 9:40 AM, Scott SA wrote:
> On 11/27/07, jim stockford ([EMAIL PROTECTED]) wrote:
>
>> IMO:
>> my experience with cms systems is that there's a big
>> learning curve. you might have more fun (and be more
>> productive and maybe more creative) if you use the
>> available appropr
On 11/27/07, jim stockford ([EMAIL PROTECTED]) wrote:
>IMO:
>my experience with cms systems is that there's a big
>learning curve. you might have more fun (and be more
>productive and maybe more creative) if you use the
>available appropriate python modules and cobble
>together your own site.
Woa
Latasha Marks wrote:
> Design a program to keep track of the scores of bowlers as they bowl a
> game. The program must prompt each bowler to bowl. The program begins by
> allowing the bowlers to enter their names. Each frame is tracked and
> properly displayed as the game progresses..
This is o
On 11/27/07, jim stockford ([EMAIL PROTECTED]) wrote:
>IMO:
>my experience with cms systems is that there's a big
>learning curve. you might have more fun (and be more
>productive and maybe more creative) if you use the
>available appropriate python modules and cobble
>together your own site.
Woa
Design a program to keep track of the scores of bowlers as they bowl a game.
The program must prompt each bowler to bowl. The program begins by allowing the
bowlers to enter their names. Each frame is tracked and properly displayed as
the game progresses..
Click Here for a see what the printed
On Tue, Nov 27, 2007 at 09:52:26AM -0500, Richard Querin wrote:
> Hi,
>
> I've got a site that is currently a static site. While not unmanageable at
> the moment (it's still pretty young), we've been entertaining thoughts of
> converting it to a CMS system. I'm looking for some good suggestions ba
IMO:
my experience with cms systems is that there's a big
learning curve. you might have more fun (and be more
productive and maybe more creative) if you use the
available appropriate python modules and cobble
together your own site.
maintenance, especially by some one else, would
be an area t
Hi,
I've got a site that is currently a static site. While not unmanageable at
the moment (it's still pretty young), we've been entertaining thoughts of
converting it to a CMS system. I'm looking for some good suggestions based
on some simple criteria:
- Python based - I have a rudimentary knowle
Hi,
Python can't run Javascript functions. Note that "HTTPCookieProcessor"
is a HTTP thing, so it can handle "http:" links, not "javascript:"
links.
Your best bet would probably be to download all the Javascript files
mentioned in the original HTML file, and try to find out what the
toggleBackpa
"Luis N" <[EMAIL PROTECTED]> wrote
> I'd like the below to be a single line if possible.
Beware compression for the sake of it. However we can simplify
a bit using divmod()
> hours = metrics.totaltime/360
> minutes = (metrics.totaltime - 360*hours)/6
> seconds = (metrics.totaltime -
I'd like the below to be a single line if possible.
hours = metrics.totaltime/360
minutes = (metrics.totaltime - 360*hours)/6
seconds = (metrics.totaltime - 360*hours - 6*minutes)/1000
Would it be possible to simplify this with a generator expression e.g.
total_time = tuple((
Hello,
> If you show us what you have done so far it would be easier to make
> suggestions.
The thing is that I am working a lot with time series data and need to write
criteria based filters for that data.
There's already a start in SciPy Time Series package:
http://www.scipy.org/SciPyPackages/Tim
24 matches
Mail list logo