[BangPypers] [ANN][OT][X-Post] CodeRetreat in India on global CodeRetreat day - 3rd December

2011-11-16 Thread Niranjan Paranjape
[cross posting as it is relevant to a wider audience ]

Hi,

Bangalore, Chennai, Delhi and Pure are participating in the Global Day of
Coderetreat 2011!

Coderetreat is a day-long, intensive practice event focused on the
fundamentals of software development and design.The unique coderetreat
format (which eliminates the pressure of 'getting things done' and focuses
on practicing basic principles of good design) has proven to be a highly
effective (and fun) means of skill improvement. Check out to Corey Haines's
coderetreat site (http://coderetreat.com) if you want further details on
what to expect.

On December 3rd, Coderetreats will be held at cities all over the world.
It's going to be a lot of fun!

You can register at:

Bangalore: http://blr-global-coderetreat-11.doattend.com/
Chennai: http://chennai-global-coderetreat-11.doattend.com/
Delhi: http://delhi-global-coderetreat-11.doattend.com/
Pune: http://pune-global-coderetreat-11.doattend.com/

You only need to bring a laptop with the development tools you require to
write code using your chosen programming languages. A breakfast and lunch
will be provided.

Please spread the word amongst other developers and mailing lists.

This event is hosted by ITT (Innovation Technology Trust) and co-sponsored
by ThoughtWorks and C42 Engineering. If you have any problems registering,
or have any other questions, feel free to contact me (niran...@c42.in).

Regards,
Niranjan.
C42 Engineering.
g-talk: niran...@c42.iny!: niranja...@yahoo.combusiness:
niran...@c42.in
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


[BangPypers] Dynamic color for table column (color stored in model)

2011-11-16 Thread Asif Jamadar

I have model called TestResults

models.py
--

Class TestResults(models)

   chemical_name charfield
   valuefloatfield
   unit  charfield
   method  charfield
   normal_limit charfield
   caution_limit charfield
   color charfield


Now,

The below code will generate the table for oils, which has following fields.

views.py
-
fields = ('Test Name', 'Value', 'Unit', 'Method',
   'Normal Limit', 'Caution Limit')

all_oils = [(test.chemical_name, test.value, test.unit, test.method,
 test.normal_limit, test.caution_limit)

for test in TestResult.objects.all())]

oil_table = Table([fields] + all_oils

oil_table.setStyle(TableStyle([('BACKGROUND', (0, 0), (-1, 0), '#a7a5a5'),
  ('FONTSIZE', (0, 0), (-1, 0), 6),
  ('GRID', (0, 0), (-1, -1), 2, '#a7a5a5'),
  ('FONTSIZE', (0, 0), (-1, -1), 8),
  ('FONTNAME',(1,1),(1,-1),'Times-Bold')]))


Now how can I provide dynamic color for each column. Suppose my TestResult 
model is having field for color (I,e color=red)

In report i want dynamic color for second column which comes from model objects

How can I achieve this?
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


[BangPypers] Dynamic color for table column (color stored in model)

2011-11-16 Thread Asif Jamadar
 I have model called TestResults

models.py
--

Class TestResults(models)

   chemical_name charfield
   valuefloatfield
   unit  charfield
   method  charfield
   normal_limit charfield
   caution_limit charfield
   color charfield


Now,

The below code will generate the table for oils, which has following fields.

views.py
-
fields = ('Test Name', 'Value', 'Unit', 'Method',
   'Normal Limit', 'Caution Limit')

all_oils = [(test.chemical_name, test.value, test.unit, test.method,
 test.normal_limit, test.caution_limit)

for test in TestResult.objects.all())]

oil_table = Table([fields] + all_oils

oil_table.setStyle(TableStyle([('BACKGROUND', (0, 0), (-1, 0), '#a7a5a5'),
  ('FONTSIZE', (0, 0), (-1, 0), 6),
  ('GRID', (0, 0), (-1, -1), 2, '#a7a5a5'),
  ('FONTSIZE', (0, 0), (-1, -1), 8),
  ('FONTNAME',(1,1),(1,-1),'Times-Bold')]))


Now how can I provide dynamic color for each column. Suppose my TestResult 
model is having field for color (I,e color=red)

In report i want dynamic color for second column which comes from model objects

How can I achieve this?
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


[BangPypers] Reportlab: Dynamic color for table column (color stored in model) in reportlab

2011-11-16 Thread Asif Jamadar
 I have model called TestResults

models.py
--

Class TestResults(models)

   chemical_name charfield
   valuefloatfield
   unit  charfield
   method  charfield
   normal_limit charfield
   caution_limit charfield
   color charfield


Now,

The below code will generate the table for oils, which has following fields.

views.py
-
fields = ('Test Name', 'Value', 'Unit', 'Method',
   'Normal Limit', 'Caution Limit')

all_oils = [(test.chemical_name, test.value, test.unit, test.method,
 test.normal_limit, test.caution_limit)

for test in TestResult.objects.all())]

oil_table = Table([fields] + all_oils

oil_table.setStyle(TableStyle([('BACKGROUND', (0, 0), (-1, 0), '#a7a5a5'),
  ('FONTSIZE', (0, 0), (-1, 0), 6),
  ('GRID', (0, 0), (-1, -1), 2, '#a7a5a5'),
  ('FONTSIZE', (0, 0), (-1, -1), 8),
  ('FONTNAME',(1,1),(1,-1),'Times-Bold')]))


Now how can I provide dynamic color for each column. Suppose my TestResult 
model is having field for color (I,e color=red)

In report i want dynamic color for second column which comes from model objects

How can I achieve this?
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Dynamic color for table column (color stored in model)

2011-11-16 Thread Asif Jamadar
But the table is generated by reportlab tool. How I can integrate css with 
reportlab?
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


[BangPypers] Selenium with python training

2011-11-16 Thread Nirmal Kumar A S
Dear all,
Good morning.

This is Nirmal from Aditi technologies, and looking after a training request on 
Selenium with  python.
As I surfed, found your names interesting and suitable.

The training need has time constraint. (as early as this weekend).

Can you please help us here? Reach me on mails for quick response!

Thank you.

Regards,
Nirmal Kumar A S,
9901405193

___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Dynamic color for table column (color stored in model)

2011-11-16 Thread Asif Jamadar
Sorry my question is not clear. I want to implement the styling (dynamic color 
) for reportlab table.
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Selenium with python training

2011-11-16 Thread Senthil Kumaran
Are you sure, you found this email list?  Never mind, but I think it
is  good email for someone who is willing to take a training session
to contact Nirmal directly.
BTW, selenium is web functional testing, more like how user uses the
web app. It provides hooks to variety of languages, python being one.
Javascript knowledge would be more desirable for selenium than python.

Thanks,
Senthil


On Thu, Nov 17, 2011 at 3:03 PM, Nirmal Kumar A S nirma...@aditi.com wrote:
 Dear all,
 Good morning.

 This is Nirmal from Aditi technologies, and looking after a training request 
 on Selenium with  python.
 As I surfed, found your names interesting and suitable.

 The training need has time constraint. (as early as this weekend).

 Can you please help us here? Reach me on mails for quick response!

 Thank you.

 Regards,
 Nirmal Kumar A S,
 9901405193

 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers

___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Selenium with python training

2011-11-16 Thread Nirmal Kumar A S
Hi Senthil,
Good morning.

Thank you for the redirection. For me, this is a time critical requirement and 
wanted to have the session as early as this weekend.


Regards,
Nirmal Kumar A S,
9901405193

-Original Message-
From: Senthil Kumaran [mailto:sent...@uthcode.com] 
Sent: Thursday, November 17, 2011 12:38
To: Bangalore Python Users Group - India; Nirmal Kumar A S
Subject: Re: [BangPypers] Selenium with python training

Are you sure, you found this email list?  Never mind, but I think it is  good 
email for someone who is willing to take a training session to contact Nirmal 
directly.
BTW, selenium is web functional testing, more like how user uses the web app. 
It provides hooks to variety of languages, python being one.
Javascript knowledge would be more desirable for selenium than python.

Thanks,
Senthil


On Thu, Nov 17, 2011 at 3:03 PM, Nirmal Kumar A S nirma...@aditi.com wrote:
 Dear all,
 Good morning.

 This is Nirmal from Aditi technologies, and looking after a training request 
 on Selenium with  python.
 As I surfed, found your names interesting and suitable.

 The training need has time constraint. (as early as this weekend).

 Can you please help us here? Reach me on mails for quick response!

 Thank you.

 Regards,
 Nirmal Kumar A S,
 9901405193

 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers

___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Selenium with python training

2011-11-16 Thread Kenneth Gonsalves
On Thu, 2011-11-17 at 15:07 +0800, Senthil Kumaran wrote:
 BTW, selenium is web functional testing, more like how user uses the
 web app. It provides hooks to variety of languages, python being one.
 Javascript knowledge would be more desirable for selenium than
 python. 

javascript? not java? 
-- 
regards
Kenneth Gonsalves

___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers