Exploring Bioinformatics with Python
Basic:
[Skip To Body]
[Front Door]
|
[Reference]
[Labs]
[Projects]
Courses:
[BIO/CSC295.01 2009F]
Python:
[python.org]
[biopython.org]
Misc:
[Exploring Bioinformatics site]
Here are some string operations that you might find useful.
'Hello'[0] => 'H''Hello'[4] => 'o''Hello'[5] => An error!list('Hello') => ['H', 'e', 'l', 'l', 'o']
Note: To use the operations whose name begins with string,
make sure to use import string.
This page was generated by
Siteweaver on Thu Sep 10 09:37:01 2009.
The source to the page was last modified on Mon Aug 24 13:49:23 2009.
This page may be found at http://www.cs.grinnell.edu/~rebelsky/ExBioPy/strings.html.
You may wish to validate this page's HTML
Samuel A. Rebelsky