I have already used the code using start and end positions of the feature.
My question was rather to know if there was a quickest (integrated function) to get the same result without having to write the slice with start and end positions as the ".location" property of the feature object contains both. Something like:
getSequence(SeqRecord object, feature.location object)
You should pick the answer to your question, not edit the question and add "Solved" to the headline.
Sorry; I did not get the point... it's my first post on stackexchange! Maybe a a howto in the FAQ to explain what to do when we have the anwser (excepted if it already exist and I did not see it) would be usefull as it took me 2 minutes to understand the procedure...