Re: [Tutor] Problem with printing Python output to HTML Correctly

2011-05-10 Thread Spyros Charonis
A SOLUTION TO THE PROBLEM I POSTED: align_file_rmode = open('/Users/spyros/folder1/python/printsmotifs/alignfiles/' + query1, 'r') align_file_appmode = open('/Users/spyros/folder1/python/printsmotifs/alignfiles/' + query2, 'a+') finalmotifs = motif_file.readlines() seqalign = align_file_rmode.rea

Re: [Tutor] Problem with printing Python output to HTML Correctly

2011-05-10 Thread Stefan Behnel
Spyros Charonis, 10.05.2011 19:14: On Tue, May 10, 2011 at 5:11 PM, Spyros Charonis wrote: I know I posted the exact same topic a few hours ago and I do apologize for this, but my script had a careless error, and my real issue is somewhat different. I would have preferred an update to the init

Re: [Tutor] Problem with printing Python output to HTML Correctly

2011-05-10 Thread Spyros Charonis
Hi all, No need to post answers, I figured out where my mistake was. Spyros On Tue, May 10, 2011 at 5:11 PM, Spyros Charonis wrote: > Hello, > > I know I posted the exact same topic a few hours ago and I do apologize for > this, but my script had a careless error, and my real issue is somewhat

[Tutor] Problem with printing Python output to HTML Correctly

2011-05-10 Thread Spyros Charonis
Hello, I know I posted the exact same topic a few hours ago and I do apologize for this, but my script had a careless error, and my real issue is somewhat different. I have a Python script that extracts some text from a database file and annotates another file, writing the results to a new file.