my text file content looks sth like this:
-title
info~~~~
~~~~~~~~`
~~~
-tittle
info~~~~
`~~~~``
and so on..
the no of line in the info section is not constant.
i want to pick the data with the right title and save it in another file
i'm guessing i need to use 'for line in file: blahblahlbah~' but i'm not sure..
any idea how i should do this?
it'd be really nice if you guys could help me out.
thanks