Re: Help with report

2005-07-12 Thread ChrisH
 You know, this is the most concise example of feature-creep in a 
 specification that I've ever seen.
 
You're right. I'm afraid it's from too much work and too little sleep.

I'll try to be more precise next time.

Thanks to everyone for their help.
Chris
-- 
http://mail.python.org/mailman/listinfo/python-list


Help with report

2005-07-11 Thread ChrisH
I have some data in the following format:

Fred Flintstone,445553454,47634565
Wilma Flintstone,74857346,27576847
Barney Rubble,73487346,27576435

I need to convert this data into a report with the user's name and 
difference between the 2 numbers.

Can someone recommend a good way to do this?

BTW, it would be best if I can have it up and running by tomorrow. Also, 
html would be the preferred format, but not required.

Any help would be greatly appreciated!!
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Help with report

2005-07-11 Thread Grant Edwards
On 2005-07-11, ChrisH [EMAIL PROTECTED] wrote:
 I have some data in the following format:

 Fred Flintstone,445553454,47634565
 Wilma Flintstone,74857346,27576847
 Barney Rubble,73487346,27576435

 I need to convert this data into a report with the user's name and 
 difference between the 2 numbers.

 Can someone recommend a good way to do this?

 BTW, it would be best if I can have it up and running by tomorrow.

You really oughtn't put off homework assignments until the last
minute.  Especially if you don't know how to do them.

 Also, html would be the preferred format, but not required.

 Any help would be greatly appreciated!!

Hints:

The string object's split method: 
http://docs.python.org/lib/string-methods.html
  
for line in file('inputfile.txt','r')

the built-in int()

the string formatting operator %: 
http://docs.python.org/lib/typesseq-strings.html
  
-- 
Grant Edwards   grante Yow!  All right, you
  at   degenerates! I want this
   visi.complace evacuated in 20
   seconds!
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Help with report

2005-07-11 Thread ChrisH
I should have been more specific. The report needs to be presentable to 
my users and needs to have rich text type properties (multiple colors, 
tables, etc) Therefore, I would like to use html if possible.

I didn't know if there was already a report writing type of utility 
already built using python, so I won't have to reinvent the wheel.

Oh. The one other thing I forgot to mention is that the data needs to be 
already updated every 10 minutes or so automatically.


In article [EMAIL PROTECTED], [EMAIL PROTECTED] says...
 On 2005-07-11, ChrisH [EMAIL PROTECTED] wrote:
  I have some data in the following format:
 
  Fred Flintstone,445553454,47634565
  Wilma Flintstone,74857346,27576847
  Barney Rubble,73487346,27576435
 
  I need to convert this data into a report with the user's name and 
  difference between the 2 numbers.
 
  Can someone recommend a good way to do this?
 
  BTW, it would be best if I can have it up and running by tomorrow.
 
 You really oughtn't put off homework assignments until the last
 minute.  Especially if you don't know how to do them.
 
  Also, html would be the preferred format, but not required.
 
  Any help would be greatly appreciated!!
 
 Hints:
 
 The string object's split method: 
 http://docs.python.org/lib/string-methods.html
   
 for line in file('inputfile.txt','r')
 
 the built-in int()
 
 the string formatting operator %: 
 http://docs.python.org/lib/typesseq-strings.html
   
 
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Help with report

2005-07-11 Thread ChrisH
HTMLgen looks like it might fit the bill.

In article [EMAIL PROTECTED], 
[EMAIL PROTECTED] says...
 I should have been more specific. The report needs to be presentable to 
 my users and needs to have rich text type properties (multiple colors, 
 tables, etc) Therefore, I would like to use html if possible.
 
 I didn't know if there was already a report writing type of utility 
 already built using python, so I won't have to reinvent the wheel.
 
 Oh. The one other thing I forgot to mention is that the data needs to be 
 already updated every 10 minutes or so automatically.
 
 
 In article [EMAIL PROTECTED], [EMAIL PROTECTED] says...
  On 2005-07-11, ChrisH [EMAIL PROTECTED] wrote:
   I have some data in the following format:
  
   Fred Flintstone,445553454,47634565
   Wilma Flintstone,74857346,27576847
   Barney Rubble,73487346,27576435
  
   I need to convert this data into a report with the user's name and 
   difference between the 2 numbers.
  
   Can someone recommend a good way to do this?
  
   BTW, it would be best if I can have it up and running by tomorrow.
  
  You really oughtn't put off homework assignments until the last
  minute.  Especially if you don't know how to do them.
  
   Also, html would be the preferred format, but not required.
  
   Any help would be greatly appreciated!!
  
  Hints:
  
  The string object's split method: 
  http://docs.python.org/lib/string-methods.html

  for line in file('inputfile.txt','r')
  
  the built-in int()
  
  the string formatting operator %: 
  http://docs.python.org/lib/typesseq-strings.html

  
 
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Help with report

2005-07-11 Thread Christopher Subich
ChrisH wrote:
 Oh. The one other thing I forgot to mention is that the data needs to be 
 already updated every 10 minutes or so automatically.

You know, this is the most concise example of feature-creep in a 
specification that I've ever seen.
-- 
http://mail.python.org/mailman/listinfo/python-list