Professional IronPython



Download 20,35 Mb.
Pdf ko'rish
bet57/453
Sana01.07.2022
Hajmi20,35 Mb.
#723045
1   ...   53   54   55   56   57   58   59   60   ...   453
34

CHAPTER 2
Understanding the ironPython Basics
FIgURE 2-16: 
IronPython tracks data type and performs conversions automatically as needed.
TAblE 2-1: 
IronPython Common Escape Codes
ESCAPE CodE 
MEANINg 
ExAMPlE
\‘ 
Single quote (‘)
‘\‘’
\“ 
Double quote (“)
‘\“‘
\\ 
Backslash (\)
‘\\‘
\a 
American Standard Code for Information 
Interchange (ASCII) Bell (BEL) — produces a beep
‘\a’
\b 
ASCII Backspace (BS)
‘\b’
\f 
ASCII Formfeed (FF)
‘\f’
\n 
ASCII Linefeed (LF)
‘\n’
\ooo 
Character with octal value ooo. You may provide 
up to three octal sequences, just as you would 
when working with C.
‘\243’ produces the pound 
monetary symbol
\r 
ASCII Carriage Return (CR)
‘\r’
\t 
ASCII Horizontal Tab (TAB)
‘\t’
\uxxxx 
Character with 16-bit hexidecimal value xxxx.
This escape sequence only works with Unicode 
characters. You can combine character sequences 
to obtain a particular complex character.
u’\u00F7’ produces the
division symbol
\Uxxxxxxxx 
Character with 32-bit hex value xxxxxxxx. This 
escape sequence only works with Unicode char-
acters. Characters outside the Basic Multilingual 
Plane (BMP) are encoded using a surrogate pair 
when you compile Python for 16-bit use.
u’\U000000BD’
produces 
1

2
\v 
ASCII Vertical Tab (VT)
‘\v’
\xhh 
Character with hex value hh. You must provide 
precisely two values, as shown in the example.
‘\xA2’ produces the
cent sign
548592c02.indd 34
2/24/10 12:47:22 PM
www.finebook.ir



Download 20,35 Mb.

Do'stlaringiz bilan baham:
1   ...   53   54   55   56   57   58   59   60   ...   453




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