1 / 7

Python study

Python study. 4 th day Modules. Homework check!. Modules. What is the module? Group of functions, but is not built in default python Have to import to use. Modules. Import module Ex) i mport sys i mport os from Bio.Seq import Seq. Modules. sys.argv [n] Setting argument

verne
Download Presentation

Python study

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Python study 4th day Modules

  2. Homework check!

  3. Modules • What is the module? • Group of functions, but is not built in default python • Have to import to use

  4. Modules • Import module • Ex) • import sys • import os • from Bio.Seq import Seq

  5. Modules • sys.argv[n] • Setting argument • Command) • python python_file.py sys.argv[1] sys.argv[2]

  6. Modules • os.system() • Execute linux function by python • glob() • Retrieve file list as list • Usage of both)

  7. Modules • Biopython • For transcription • For translation • For get reverse, complementary or reverse complementary sequences • For any other bio related work • Usage) • You can search the usage of biopython module, just search ‘Biopython’ in google!

More Related