Python Programming for Biology: Bioinformatics and Beyond



Download 7,75 Mb.
Pdf ko'rish
bet27/514
Sana30.12.2021
Hajmi7,75 Mb.
#91066
1   ...   23   24   25   26   27   28   29   30   ...   514
Bog'liq
[Tim J. Stevens, Wayne Boucher] Python Programming

Getting started

Firstly,  before  using  Python  it  must  of  course  be  installed  on  your  computer.  For

Macintosh and Linux users Python is generally installed as standard, though you may wish

to  upgrade  if  the  version  is  before  Python  2.6.  For  Windows  users  Python  is  a  simple

double-click install, using the appropriate ‘MSI’ installer file. Windows, Macintosh, Linux

and  UNIX  downloads  are  all  available  from

http://www.python.org

.  However,  for  most

flavours  of  Linux  it  is  easiest  to  install  or  upgrade  Python  via  the  system’s  package

manager.  Later,  in  this  book  we  will  require  that  some  extra  Python  modules  are  also

installed, such as Numeric Python and Scientific Python packages. Because the websites

for these may change in the future we list the up-to-date download locations for all extra

packages

on


the

Cambridge

University

Press


website:

http://www.cambridge.org/pythonforbiology

.

There are two basic ways of running Python. The commands can be read and run from



a file as a script. Alternatively, you can manually issue commands directly, one after the

other,  at  what  is  called  the  Python  prompt.  To  run  a  Python  script  on  most  computer

systems you type within the command line interface, after the operating-system prompt, as

illustrated in

Figure 3.1

. This will generally be set up as standard on Linux and Macintosh

computers.  However,  for  Windows  care  must  be  taken  to  set  the  PATH  environment

variable,  as  illustrated  in

Figure  3.2

.  Also  for  Windows  systems,  because  the  command

line  interface  is  less  visible,  it  is  common  to  execute  a  script  by  double-clicking  on  its

icon. On-click execution can usually be set up on other systems too.





Download 7,75 Mb.

Do'stlaringiz bilan baham:
1   ...   23   24   25   26   27   28   29   30   ...   514




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish