Python Programming for Biology: Bioinformatics and Beyond



Download 7,75 Mb.
Pdf ko'rish
bet462/514
Sana30.12.2021
Hajmi7,75 Mb.
#91066
1   ...   458   459   460   461   462   463   464   465   ...   514
Bog'liq
[Tim J. Stevens, Wayne Boucher] Python Programming

Constant

(string.)

Description

Value

ascii_letters

All ASCII letters both

upper and lower case,

in order.

‘abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ’

ascii_lowercase

All ASCII lower-case

letters, in order.

‘abcdefghijklmnopqrstuvwxyz’

ascii_uppercase

All ASCII upper-case

letters, in order.

‘ABCDEFGHIJKLMNOPQRSTUVWXYZ’

digits

The characters that



are used to represent

whole numbers.

‘0123456789’

hexdigits

The characters that

are used in

hexadecimal

representations of

numbers.

‘0123456789abcdefABCDEF’

letters

All letters both upper

and lower case, in

order. Not available

in Python 3, use

string.ascii_letters

instead.

‘abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ’

lowercase

All lower-case letters,

in order. Not

‘abcdefghijklmnopqrstuvwxyz’




available in Python 3,

use


string.ascii_lowercase

instead.


octdigits

The characters that

are used in octal

represntations of

numbers.

‘01234567’

punctuation

All punctuation

characters, i.e. not

letters, digits or

whitespace.

‘!”#$%&'()*+,-./:;<=>?@[\]^_`{|}~’

printable

All printable

characters that have

an on-screen effect.

‘0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!”#$%&'()*+,-./:;

<=>?@[\]^_`{|}~\t\n\r\x0b\x0c’

uppercase

All upper-case letters,

in order. Not

available in Python 3,

use


string.ascii_uppercase

instead.


‘ABCDEFGHIJKLMNOPQRSTUVWXYZ’

whitespace

All whitespace

characters.

‘\t\n\x0b\x0c\r ‘

The ‘

math

’ module

The following table lists some of the more commonly used mathematical operations that

may  be  used  by  importing  from  the  math  module.  Most  descriptions  will  also  apply  to

equivalents in the cmath module, which is used for complex numbers. It should be noted

that  although  the  methods  are  listed  in  the  form  math.method(),  if  many  mathematical

operations are being performed (inside loops), and execution speed is important, then it is

generally  better  to  import  the  function  directly,  i.e.  from  math  import  method,  and  use

method(args) rather than repeatedly use the dot notation math.method(args).




Download 7,75 Mb.

Do'stlaringiz bilan baham:
1   ...   458   459   460   461   462   463   464   465   ...   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