Hs Hs wrote:
hi I have a file and it is in chunks:
I want to be able to select the number that follows 'Elution: ' where the line
startswith (TITLE)(say
72.958) and check if it is larger than my choice of number (say
71.4). If it is then I want to print chunk from BEGIN LINE to END
LINE separa
Please post the exact contents of "test_script_test.py", don't paraphrase,
don't abbreviate. A good place to post code snippets are here:
http://pastebin.com/
That said, I'll try to put down some of the troubleshooting thought process
you should be having.
Firstly, the error message is telling yo
hi I have a file and it is in chunks:
I want to be able to select the number that follows 'Elution: ' where the line
startswith (TITLE)(say
72.958) and check if it is larger than my choice of number (say
71.4). If it is then I want to print chunk from BEGIN LINE to END
LINE separated by one empty
On Sat, Mar 7, 2009 at 7:51 AM, W W wrote:
> On Sat, Mar 7, 2009 at 3:11 AM, Alan Gauld wrote:
>> Python 3 has a lot of
>> changes and most of the beginners material hasn't caught
>> up yet. It will be easier to get answers to your questions if
>> you stick with v2.6 and then when comfortable wit
On Sat, Mar 7, 2009 at 3:11 AM, Alan Gauld wrote:
> Python 3 has a lot of
> changes and most of the beginners material hasn't caught
> up yet. It will be easier to get answers to your questions if
> you stick with v2.6 and then when comfortable with that move
> to v3 aand learn about the differenc
"mustafa akkoc" wrote
i start learning pyton language i want to print some thing but when i
type :
print "hello world" but it give an error like this SyntaxError:
invalid
syntax (, line 1)
i am using python shell version 3.0.1
If you are new to programming as well as Pyton I recommend
yo
In Python 3, you need to put ( ) around what you want to print, so it
would be:
print("hello world")
Cheers,
Vern
mustafa akkoc wrote:
i start learning pyton language i want to print some thing but when i
type : print "hello world" but it give an error like this
SyntaxError: invalid synt
i start learning pyton language i want to print some thing but when i type :
print "hello world" but it give an error like this SyntaxError: invalid
syntax (, line 1)
i am using python shell version 3.0.1
--
Mustafa Akkoc
___
Tutor maillist - Tutor