Hello all,
I am now trying to access the csv file using dictreader.
import csv
r25 = csv.DictReader(open('Report_25', 'rb'), delimiter=',')
rownum = 1
for row in r25:
# Save header row.
if rownum == 0:
header = row
else:
colnum = 0
for col in row:
This only
Hi,
--- On Wed, Nov 4, 2009 at 1:06 AM, Sudhir Gandotra
wrote:
| In my system, I do not have /dev/ttyACM (0 to 4) ports.
| Tata broadband photon usb needs this port.
| How do I create/generate this port ?
\--
You shouldn't have to.
After you plugin the device, can you please post the output of:
On Wed, Nov 4, 2009 at 9:58 AM, Kenneth Gonsalves
wrote:
> it distinguishes between opinions and facts (and if you use words like
> 'asinine' on mailing lists you will become unpopular)
>
You're right. I see where you're coming from. Sorry about that, but
I was saying that I don't have a proble
On Wednesday 04 Nov 2009 9:41:16 am Roshan Mathews wrote:
> On Wed, Nov 4, 2009 at 9:20 AM, Kenneth Gonsalves
>
> wrote:
> > no real need - was surfing channels and came across it. And since I am
> > banned from #li ... this could be a chance to chat to you
>
> Ah, right. :P
>
> Still thanks fo
On Wednesday 04 Nov 2009 9:37:35 am Roshan Mathews wrote:
> On Wed, Nov 4, 2009 at 8:46 AM, Kenneth Gonsalves
>
> wrote:
> > well, 'I personally am not enamoured with postfix's license' is better
> > than 'postfix license is bad'
>
> That's equally asinine, "Postfix's license sucks big time, I w
On Wed, 2009-11-04 at 07:19 +0530, Girish Venkatachalam wrote:
> With mutt you can send attachments from the command line like this:
>
> $ mutt -a /tmp/attach.pdf -s "testing attachments" recipi...@target.org
>
You can also use mpack - pack a file in MIME format
in either of the two forms below
On Wed, Nov 4, 2009 at 9:20 AM, Kenneth Gonsalves
wrote:
> no real need - was surfing channels and came across it. And since I am banned
> from #li ... this could be a chance to chat to you
>
Ah, right. :P
Still thanks for the heads up, didn't know it was a channel you could
get banned from. Ti
On Wed, Nov 4, 2009 at 8:52 AM, Mano wrote:
> But when others respond with their own strong opinions and the OP thinks its
> 'pettiflogging', we can only conclude that the OP only likes to dish out
> strong opinions while he himself cannot stomach any :-)
>
Don't let that stop you. :)
Although I
On Wed, Nov 4, 2009 at 8:46 AM, Kenneth Gonsalves
wrote:
> well, 'I personally am not enamoured with postfix's license' is better than
> 'postfix license is bad'
That's equally asinine, "Postfix's license sucks big time, I would
like to be able to do like I could with , , or but
instead restri
On Wednesday 04 Nov 2009 8:52:34 am Mano wrote:
> > On Wed, Nov 4, 2009 at 8:18 AM, Kapil Hari Paranjape
> >
> > wrote:
> > > Please distinguish opinion from facts.
> >
> > FWIW, opinions are good when substantiated with facts.
> > If not good, atleast more fun to read.
>
> But when others respo
On Wednesday 04 Nov 2009 8:47:36 am Roshan Mathews wrote:
> On Tue, Nov 3, 2009 at 9:03 PM, Kenneth Gonsalves
>
> wrote:
> > On Tuesday 03 Nov 2009 8:14:45 pm Parthan SR wrote:
> >> There is a #ilug-chennai channel in freenode.
> >
> > there wasnt one - I just made one.
>
> Is #linux-india overc
On Wed, Nov 4, 2009 at 8:41 AM, Roshan Mathews wrote:
> On Wed, Nov 4, 2009 at 8:18 AM, Kapil Hari Paranjape
> wrote:
> > Please distinguish opinion from facts.
> >
> FWIW, opinions are good when substantiated with facts.
> If not good, atleast more fun to read.
>
>
But when others respond with
On Wednesday 04 Nov 2009 8:41:47 am Roshan Mathews wrote:
> On Wed, Nov 4, 2009 at 8:18 AM, Kapil Hari Paranjape
wrote:
> > Please distinguish opinion from facts.
>
> FWIW, opinions are good when substantiated with facts.
> If not good, atleast more fun to read.
>
well, 'I personally am not e
On Tue, Nov 3, 2009 at 9:03 PM, Kenneth Gonsalves
wrote:
> On Tuesday 03 Nov 2009 8:14:45 pm Parthan SR wrote:
>> There is a #ilug-chennai channel in freenode.
>>
> there wasnt one - I just made one.
>
Is #linux-india overcrowded? Why have a chennai specific channel?
--
Roshan Mathews
http://t
On Wed, Nov 4, 2009 at 8:18 AM, Kapil Hari Paranjape wrote:
> Please distinguish opinion from facts.
>
FWIW, opinions are good when substantiated with facts.
If not good, atleast more fun to read.
--
Roshan Mathews
http://teamtalk.im
___
To unsubscrib
Hello,
I almost decided not to respond to this but later thought that someone
might confuse restraint with acquiescence!
On Wed, 04 Nov 2009, Girish Venkatachalam wrote:
> For now please stick to Postfix or Sendmail. Both are bad. Postfix
> does not have a good license
> and sendmail is too comp
வணக்கம்,
கடந்த வாரம் ஞாயிற்றுகிழமை மாலை 4 மணி முதல் 6 மணி வரை உபுண்டு தமிழ் குழுவின்
வாராந்திர கூட்டம் நடைப்பெற்றது.
இதில் ஸ்ரீனிவாசன், இரவி ஜெயா, இராஜீ மற்றும் தங்மணி அருண் ஆகியோர்
கலந்துக்கொண்டனர்.
கூட்டத்தில் உபுண்டுவின் புதிய பதிப்பான 9.10 கார்மிக் கோஆலா வரவை முன்னிட்டு
வட்டு வெளியீட்டு விழா
Hello,
On Wed, 04 Nov 2009, Girish Venkatachalam wrote:
> Gilles Chehade is
> developing a SMTPD implementation but it will take around 6 more months I
> think.
> For now please stick to Postfix or Sendmail. Both are bad. Postfix
> does not have a good license
> and sendmail is too complex. Exi
If you setup your machine to do postfix or sendmail then you can send e-mails
from the command line. Also use a script. Even for this gmail account.
I am not getting into the details of configuration. OpenBSD developer
Gilles Chehade is
developing a SMTPD implementation but it will take around 6 m
> 2. If I have the C_ID of the customers in a separate csv, is it
> possible to compare the C_ID with that of the C_ID in the dump and
> determine the sum of stat1, vol2, amount3⦠(sum of the fields
> only for a set of customers and not for the ID_NOs in whole)
If you looking for throw away scr
On Tue, Nov 03, 2009 at 07:45:42PM +0530, steve wrote:
>> f = open('Customer_IDs', 'r')
>> customer_ids = f.read().strip().split('\n') # Assuming each ID is present in
>> a separate line.
>>
> small bug in the line above. The line above only strip()s the last
> newline. So, all lines except the l
On Wednesday 04 Nov 2009 7:19:21 am Girish Venkatachalam wrote:
> For now please stick to Postfix or Sendmail. Both are bad. Postfix
> does not have a good license
>
what is wrong with postfix license?
--
regards
kg
http://lawgon.livejournal.com
___
To
Hi,
--- On Tue, Nov 3, 2009 at 3:58 PM, Raman.P wrote:
| require DBI;
\--
Also to include:
use strict;
use warnings;
---
| my $dbh = DBI->connect("DBI:CSV:");
\--
Need to always check for connection failure:
my $dbh = DBI->connect( "DBI:CSV:" )
or die "Couldn't connect to
Hello,
In my system, I do not have /dev/ttyACM (0 to 4) ports.
Tata broadband photon usb needs this port.
How do I create/generate this port ?
Thanks.
Sudhir.
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with
"unsubscribe "
in the subject or
Hello,
On Wed, 04 Nov 2009, Kapil Hari Paranjape wrote:
> If you run "udev"
I should have said:
If your system runs "udev" ...
Kapil.
--
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with
"unsubscribe "
in the subject or body of the message
Hello,
On Wed, 04 Nov 2009, Sudhir Gandotra wrote:
> In my system, I do not have /dev/ttyACM (0 to 4) ports.
> Tata broadband photon usb needs this port.
> How do I create/generate this port ?
If you run "udev" and your system autoloads the module "cdc-acm" then
this device node will be automatic
On Wednesday 04 Nov 2009 1:06:47 am Sudhir Gandotra wrote:
> In my system, I do not have /dev/ttyACM (0 to 4) ports.
> Tata broadband photon usb needs this port.
> How do I create/generate this port ?
>
plug in the device - the port will be created
--
regards
kg
http://lawgon.livejournal.com
___
On Tue, Nov 3, 2009 at 11:40 PM, Shakthi Kannan wrote:
> Need to always check for connection failure:
>
> my $dbh = DBI->connect( "DBI:CSV:" )
> or die "Couldn't connect to database: " . $dbh->errstr;
Or be lazy and use RaiseError and get DBI to automatically
die whenever any method fails.
h
On Tuesday 03 Nov 2009 8:14:45 pm Parthan SR wrote:
> Kenneth Gonsalves wrote:
> > On Tuesday 03 Nov 2009 6:34:49 pm Kenneth Gonsalves wrote:
> >
> >
> >> noticed that there is a #ilugc on freenode - who owns it?
> >>
> >>
> >
> > apparently prav33 founded it about 4 years back. If he is st
Kenneth Gonsalves wrote:
On Tuesday 03 Nov 2009 6:34:49 pm Kenneth Gonsalves wrote:
noticed that there is a #ilugc on freenode - who owns it?
apparently prav33 founded it about 4 years back. If he is still around we can
reactivate the channel.
There is a #ilug-chennai channel in fr
On 11/03/2009 06:54 PM, Kumar Appaiah wrote:
On Tue, Nov 03, 2009 at 12:57:40PM -, Siva Subramanian wrote:
[...snip...]
The following code reads the customer numbers alone:
f = open('Customer_IDs', 'r')
customer_ids = f.read().strip().split('\n') # Assuming each ID is present in a
separate
Hi Siva,
On 11/03/2009 06:27 PM, Siva Subramanian wrote:
Thanks Steve and Raman Found a better alternative. Python. :)
Excellent !! I debated with myself whether I should just recommend python before
I sent out my reply and finally decided against it (or at least defer suggesting
it until/
On Tue, Nov 3, 2009 at 6:27 PM, Siva Subramanian
wrote:
> The trouble's different. How do i open two files, the Report_2_5 above
> and also another one with the Customer IDs alone and look for rows
> only for in Report_2_5 for it and process them alone
Insert all Customer IDs into a new hash tabl
On Tue, Nov 03, 2009 at 12:57:40PM -, Siva Subramanian wrote:
> The trouble's different. How do i open two files, the Report_2_5
> above and also another one with the Customer IDs alone and look for
> rows only for in Report_2_5 for it and process them alone
>
> for example,
>
> Report_2_5 ha
On Tuesday 03 Nov 2009 6:34:49 pm Kenneth Gonsalves wrote:
> noticed that there is a #ilugc on freenode - who owns it?
>
apparently prav33 founded it about 4 years back. If he is still around we can
reactivate the channel.
--
regards
kg
http://lawgon.livejournal.com
_
hi,
noticed that there is a #ilugc on freenode - who owns it?
--
regards
kg
http://lawgon.livejournal.com
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with
"unsubscribe "
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailma
On Tuesday 03 Nov 2009 6:27:40 pm Siva Subramanian wrote:
> Thanks Steve and Raman Found a better alternative. Python. :)
>
I thought of suggesting that ...
--
regards
kg
http://lawgon.livejournal.com
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac
hi,
I was using the translation memory of poedit to pull in all the Tamil
translations available in my system for automatic translation. The results are
horrifying. It is not just a problem of using high flown words - most of the
translations are completely wrong. People have been translating wi
Thanks Steve and Raman Found a better alternative. Python. :)
import csv
ifileR25 = open('Report_2_5, "rb")
readerR25 = csv.reader(ifileR25)
rownum = 0
for row in readerR25:
if rownum == 0:
header = row
else:
colnum = 0
for col in row:
if rownum > 1:
if colnum == 0:
<< do all my proce
On Tuesday 03 Nov 2009 6:05:38 pm Kenneth Gonsalves wrote:
> On Tuesday 03 Nov 2009 5:57:15 pm sankar.k wrote:
> > mouse only con't working
> >
>
> change the mouse to another port and try. I used to get this error long
> ago when I had 3 serial ports - if I added an extra modem, mouse stopped
On Tuesday 03 Nov 2009 5:57:15 pm sankar.k wrote:
> mouse only con't working
>
change the mouse to another port and try. I used to get this error long ago
when I had 3 serial ports - if I added an extra modem, mouse stopped working.
This was because 2 serial ports had the same irq. The card is p
mouse only con't working
On Tue, Nov 3, 2009 at 12:14 PM, Kenneth Gonsalves
wrote:
> On Tuesday 03 Nov 2009 12:14:01 pm sankar.k wrote:
> > when ever i connect my memory card adapter,my computer desktop is locked
> > that time mouse can't work properly
> >
>
> only mouse?
> --
> regards
> kg
> ht
Dear All,
I would like to know from the group about TOGAF (
http://www.opengroup.org/togaf/). Anybody completed the certification or
trying to complete?
For those who are new to this, I would suggest to go thro' the link and I
hope it will quite exciting to know more about this.
Regards
Ravi Ku
Hi,
On 11/03/2009 02:50 PM, Siva Subramanian wrote:
Hello,
I am into my 1st BSc Statistics and into a project for an MNC. I am
trying my first hand at linux and was recently introduced to gawk.
Welcome to linux ! I hope your experience is pleasant and you're here to stay :)
I am having tro
--- On Tue, 3/11/09, Raman.P wrote:
>
> There are specialised modules for csv at cpan.org. Million
> records should not be a problem at all.
>
http://search.cpan.org/~adamk/Parse-CSV-1.00/lib/Parse/CSV.pm
seems to be tuned for large files
Raman.P
blog:http://ramanchennai.wordpress.com/
--- On Tue, 3/11/09, Siva Subramanian wrote:
> I am into my 1st BSc Statistics and into a project for an
> MNC. I am
> trying my first hand at linux and was recently introduced
> to gawk.
>
>
>
> I am having trouble processing a statistical dump that is
> provided to us in the
> form of a csv
Hello,
I am into my 1st BSc Statistics and into a project for an MNC. I am
trying my first hand at linux and was recently introduced to gawk.
I am having trouble processing a statistical dump that is provided to us in the
form of a csv file. The format of the file is given below
C_ID,
checkout
http://share.skype.com/sites/linux/2009/11/skype_open_source.html
- balachandar muruganantham
உலகம்.net - இலவச தமிழ் வலைப்பதிவுச் சேவை - http://ulagam.net
எனது தமிழ் பக்கங்கள் - http://www.balachandar.net/pakkangal
Beyond Work - http://beyondwork.wordpress.com/
"கண்டார் உயிருண்ணும் தோற்றத
Hai,
It looks pretty decent. Will talk to them.
Thanks
On Tue, Nov 3, 2009 at 2:08 PM, Bhuvaneswaran A wrote:
> On Tue, Nov 3, 2009 at 1:52 PM, Pandian R wrote:
> > Hai,
> > Can anybody suggest me a cost effective tomcat/mysql/linux hosting
> provider?
>
> The mochahost.com offer this package a
On Tue, Nov 3, 2009 at 1:52 PM, Pandian R wrote:
> Hai,
> Can anybody suggest me a cost effective tomcat/mysql/linux hosting provider?
The mochahost.com offer this package at a pretty decent rate. I hosted
a website with them in the past. Their control panel is cool, using
which we can administer
Hai,
Can anybody suggest me a cost effective tomcat/mysql/linux hosting provider?
--
Pandian R
---
*Free* software is a matter of liberty not price. You should think of "free"
as in "free speech".
http://blog.grassfield.org
On 10/30/09, Arun Venkataswamy wrote:
> On Fri, Oct 30, 2009 at 1:09 PM, Mohan Sundaram wrote:
>
> > On 30/10/2009 13:02, Arun Venkataswamy wrote:
> >
> >> Has anybody in this group tried to port Linux into a phone?
while we are at it:
I have a samsung beat serie phone. It runs java how does on
52 matches
Mail list logo