Servlet NewJavaServlet Test



Yüklə 11,16 Mb.
Pdf görüntüsü
səhifə8/97
tarix07.11.2018
ölçüsü11,16 Mb.
#78896
1   ...   4   5   6   7   8   9   10   11   ...   97


 CONTENTS  
 
xvi 
Using Django in Netbeans, Josh Juneau..................................................................................... 461

■ 
Appendix C: Built-in Functions ...................................................................................................463 
Constructor Functions .................................................................................................................... 463

bool([x]) ..................................................................................................................................... 463

chr(i) .......................................................................................................................................... 463

complex([real[, imag]]) ............................................................................................................... 464

dict([arg])................................................................................................................................... 464

file(filename[, mode[, bufsize]]).................................................................................................. 464

float([x]) ..................................................................................................................................... 464

frozenset([iterable]).................................................................................................................... 464

int([x[, radix]]) ............................................................................................................................ 464

iter(o[, sentinel])......................................................................................................................... 465

list([iterable]).............................................................................................................................. 465

object() ...................................................................................................................................... 465

open(filename[, mode[, bufsize]]) ............................................................................................... 465

range([start,] stop[, step])........................................................................................................... 466

set([iterable]) ............................................................................................................................. 466

slice([start,] stop[, step]) ............................................................................................................ 466

str([object]) ................................................................................................................................ 467

tuple([iterable]) .......................................................................................................................... 467

type(name, bases, dict).............................................................................................................. 467

unichr(i) ..................................................................................................................................... 467

unicode([object[, encoding [, errors]]])........................................................................................ 467

xrange([start,] stop[, step])......................................................................................................... 468

Math Built-in Functions .................................................................................................................. 468

abs(x)......................................................................................................................................... 468

cmp(x, y).................................................................................................................................... 468

divmod(a, b)............................................................................................................................... 468

pow(x, y[, z]) .............................................................................................................................. 468

round(x[, n]) ............................................................................................................................... 469

Functions on Iterables .................................................................................................................... 469

all(iterable)................................................................................................................................. 469

any(iterable)............................................................................................................................... 469

enumerate(sequence[, start=0])................................................................................................. 469

filter(function, iterable)............................................................................................................... 469

www.it-ebooks.info



 CONTENTS  
 
 
 
xvii 
map(function, iterable, ...) .......................................................................................................... 470

max(iterable[, key])or max([, arg, ...][, key])................................................................................ 470

min(iterable[, key]) or min([, arg, ...][, key]) ................................................................................ 470

reduce(function, iterable[, initializer]) ......................................................................................... 470

reversed(seq)............................................................................................................................. 470

sorted(iterable[, cmp[, key[, reverse]]])....................................................................................... 470

sum(iterable[, start=0]) .............................................................................................................. 471

zip([iterable, ...])......................................................................................................................... 471

Conversion Functions..................................................................................................................... 472

hex(x)......................................................................................................................................... 472

long([x[, radix]]).......................................................................................................................... 472

oct(x) ......................................................................................................................................... 472

ord(c) ......................................................................................................................................... 472

Functions for Working with Code.................................................................................................... 472

classmethod(function)................................................................................................................ 472

compile(source, filename, mode[, flags[, dont_inherit]]) ............................................................. 473

eval(expression[, globals[, locals]])............................................................................................. 474

execfile(filename[, globals[, locals]]) .......................................................................................... 474

property([fget[, fset[, fdel[, doc]]]]) ............................................................................................. 475

staticmethod(function) ............................................................................................................... 476

super(type[, object-or-type]) ...................................................................................................... 476

Input Functions .............................................................................................................................. 477

input([prompt])........................................................................................................................... 477

raw_input([prompt]) ................................................................................................................... 477

Functions for Working with Modules and Objects ........................................................................... 478

callable(object)........................................................................................................................... 478

delattr(object, name).................................................................................................................. 478

dir([object]) ................................................................................................................................ 478

getattr(object, name[, default]) ................................................................................................... 479

globals()..................................................................................................................................... 479

hasattr(object, name) ................................................................................................................. 479

hash(object) ............................................................................................................................... 480

help([object]).............................................................................................................................. 480

id(object).................................................................................................................................... 480

isinstance(object, classinfo) ....................................................................................................... 480

www.it-ebooks.info


Yüklə 11,16 Mb.

Dostları ilə paylaş:
1   ...   4   5   6   7   8   9   10   11   ...   97




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©www.genderi.org 2024
rəhbərliyinə müraciət

    Ana səhifə