Re: [Tutor] large file

2010-06-13 Thread Steven D'Aprano
On Mon, 14 Jun 2010 07:45:45 am Hs Hs wrote: > hi: > > I have a very large file 15Gb. Starting from 15th line this file > shows the following lines: > > HWUSI-EAS1211_0001:1:1:977:20764#0 > HWUSI-EAS1211_0001:1:1:977:20764#0 > HWUSI-EAS1521_0001:1:1:978:13435#0 > HWUSI-EAS1521_0001:1:1:978:13435#0

Re: [Tutor] large file

2010-06-13 Thread Alan Gauld
"Hs Hs" wrote I have a very large file 15Gb. Every two lines are part of one readgroup. I want to add two variables to every line. HWUSI-EAS1211_0001:1:1:977:20764#0 RG:Z:2301 HWUSI-EAS1211_0001:1:1:977:20764#0RG:Z:2302 ... Since I cannot read the entire file, I wanted to cat the f

Re: [Tutor] large file

2010-06-13 Thread bob gailer
On 6/13/2010 5:45 PM, Hs Hs wrote: hi: I have a very large file 15Gb. Starting from 15th line this file shows the following lines: HWUSI-EAS1211_0001:1:1:977:20764#0 HWUSI-EAS1211_0001:1:1:977:20764#0 HWUSI-EAS1521_0001:1:1:978:13435#0 HWUSI-EAS1521_0001:1:1:978:13435#0 Every two lines a

[Tutor] large file

2010-06-13 Thread Hs Hs
hi: I have a very large file 15Gb. Starting from 15th line this file shows the following lines: HWUSI-EAS1211_0001:1:1:977:20764#0 HWUSI-EAS1211_0001:1:1:977:20764#0 HWUSI-EAS1521_0001:1:1:978:13435#0 HWUSI-EAS1521_0001:1:1:978:13435#0 Every two lines are part of one readgroup. I

Re: [Tutor] New to Programming

2010-06-13 Thread Kaushal Shriyan
On Sun, Jun 13, 2010 at 1:33 AM, Alan Gauld wrote: > > "Kaushal Shriyan" wrote > >> I am absolutely new to programming language. Dont have any programming >> experience. Can some one guide me please. is python a good start for >> novice. > > Yes, it is one of the best languages for an absolute be

Re: [Tutor] New to Programming

2010-06-13 Thread Kaushal Shriyan
On Sat, Jun 12, 2010 at 4:04 PM, Dave Angel wrote: > Kaushal Shriyan wrote: >> >> Hi, >> >> I am absolutely new to programming language. Dont have any programming >> experience. Can some one guide me please. is python a good start for >> novice. >> >> Thanks, >> >> Kaushal >> >> > > Like nearly al

Re: [Tutor] (no subject)

2010-06-13 Thread Steven D'Aprano
On Sat, 12 Jun 2010 07:12:27 am Advertising Department wrote: > #!/Library/Frameworks/Python.framework/Versions/Current/bin/pythonw > """still thinking in imperative" > """ There is absolutely nothing wrong with writing imperative code. Python makes it easy to mix imperative, functional and objec

Re: [Tutor] Linux webcam libraries?

2010-06-13 Thread Sander Sweers
On 12 June 2010 20:22, Wayne Werner wrote: > I want to be able to grab a webcam image via python. So I'm curious if > anyone has had any experience/luck in this particular area and/or knows of > any libraries I should take a look at. I know my webcam definitely works > under linux because I can us

Re: [Tutor] Linux webcam libraries?

2010-06-13 Thread Lie Ryan
On 06/13/10 04:22, Wayne Werner wrote: > Hi, > > I want to do something like this: > http://www.kulturblog.com/2007/11/marshie-attacks-halloween-interactive-driveway-activity/ > > I want to be able to grab a webcam image via python. So I'm curious if > anyone has had any experience/luck in this p