Stephen P. Molnar wrote:
> I need to find a phrase in i text file in order to read a unique text
> string into a python3 application.
>
> I have become stuck and Google has not been of any use.
>
> Here is my attempt:
> import re
>
> name = input("Enter Molecule Name: ")
>
> name_in = name+'_apo-1acl.dlg'
> re.search("RMSD TABLE",name_in())
Stephen, you cannot throw random snippets of Python-lookalike code at a
problem and expect it to work. When I wrote
> Work your way through a Python tutorial to pick up the basics
some two years ago I really meant it. If you can't be bothered have a look
at preshrunk tools like grep, or find someone to write the code for you.
> Thanks in advance.
You're welcome.
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor