Python 标准库参考指南 2.7.18
support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1391 38.3 aepack —Conversion between Python variables and AppleEvent data containers . . . . . . . . . . . 1392 38.4 aetypes Functions section. abs(x) Return the absolute value of a number. The argument may be a plain or long integer or a floating point number. If the argument is a complex number, its magnitude is returned. all(iterable) bin(x) Convert an integer number to a binary string. The result is a valid Python expression. If x is not a Python int object, it has to define an __index__() method that returns an integer. 2.6 新版功能. class0 码力 | 1552 页 | 7.42 MB | 9 月前3Python 标准库参考指南 2.7.18
support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1391 38.3 aepack —Conversion between Python variables and AppleEvent data containers . . . . . . . . . . . 1392 38.4 aetypes Functions section. abs(x) Return the absolute value of a number. The argument may be a plain or long integer or a floating point number. If the argument is a complex number, its magnitude is returned. all(iterable) bin(x) Convert an integer number to a binary string. The result is a valid Python expression. If x is not a Python int object, it has to define an __index__() method that returns an integer. 2.6 新版功能. class0 码力 | 1552 页 | 7.42 MB | 9 月前3Python 标准库参考指南 2.7.18
support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1391 38.3 aepack —Conversion between Python variables and AppleEvent data containers . . . . . . . . . . . 1392 38.4 aetypes Functions section. abs(x) Return the absolute value of a number. The argument may be a plain or long integer or a floating point number. If the argument is a complex number, its magnitude is returned. all(iterable) bin(x) Convert an integer number to a binary string. The result is a valid Python expression. If x is not a Python int object, it has to define an __index__() method that returns an integer. 2.6 新版功能. class0 码力 | 1552 页 | 7.42 MB | 9 月前3PyMuPDF 1.24.2 Documentation
Documentation, Release 1.24.2 is a high-performance Python library for data extraction, analysis, conversion & manipulation of PDF (and other) documents. is hosted on GitHub and registered on PyPI. This the pdf2docx library which uses PyMuPDF and the python-docx library to provide simple document conversion from PDF to DOCX format. This documentation covers all versions up to 1.24.2. 5.26. Converting load_page(pno) # loads page number 'pno' of the document (0-based) page = doc[pno] # the short form Any integer -∞ < pno < page_count is possible here. Negative numbers count backwards from the end, so doc[-1]0 码力 | 565 页 | 6.84 MB | 1 年前3Jinja2 Documentation Release 2.10
it re- turns an empty string, however __int__ and others still fail with an exception. To allow conversion to int by returning 0 you can implement your own: class NullUndefined(Undefined): def __int__(self): timeout is not provided a default timeout or no timeout should be assumed, if it’s provided it’s an integer with the number of seconds the cache item should exist. get(key) Returns the value for the cache that it’s not possible to have this intercepted by overriding Environment.call(). Furthermore a conversion from operator to special method is not always directly possible due to how operators work. For0 码力 | 148 页 | 475.08 KB | 1 年前3Django 2.2.x Documentation
"polls_choice" ( "id" serial NOT NULL PRIMARY KEY, "choice_text" varchar(200) NOT NULL, "votes" integer NOT NULL ); -- -- Create model Question -- CREATE TABLE "polls_question" ( "id" serial NOT NULL NULL ); -- -- Add field question to choice -- ALTER TABLE "polls_choice" ADD COLUMN "question_id" integer NOT NULL; ALTER TABLE "polls_choice" ALTER COLUMN "question_id" DROP DEFAULT; CREATE INDEX "polls_choice_7aa0f6ee" using, so database-specific field types such as auto_increment (MySQL), serial (PostgreSQL), or integer primary key autoincrement (SQLite) are handled for you automatically. Same goes for the quoting of0 码力 | 2915 页 | 2.83 MB | 1 年前3Django 2.1.x Documentation
"polls_choice" ( "id" serial NOT NULL PRIMARY KEY, "choice_text" varchar(200) NOT NULL, "votes" integer NOT NULL ); -- -- Create model Question -- CREATE TABLE "polls_question" ( "id" serial NOT NULL page) -- -- Add field question to choice -- ALTER TABLE "polls_choice" ADD COLUMN "question_id" integer NOT NULL; ALTER TABLE "polls_choice" ALTER COLUMN "question_id" DROP DEFAULT; CREATE INDEX "polls_choice_7aa0f6ee" using, so database-specific field types such as auto_increment (MySQL), serial (PostgreSQL), or integer primary key autoincrement (SQLite) are handled for you au- tomatically. Same goes for the quoting0 码力 | 1910 页 | 6.49 MB | 1 年前3Django 2.1.x Documentation
"polls_choice" ( "id" serial NOT NULL PRIMARY KEY, "choice_text" varchar(200) NOT NULL, "votes" integer NOT NULL ); -- -- Create model Question -- CREATE TABLE "polls_question" ( "id" serial NOT NULL NULL ); -- -- Add field question to choice -- ALTER TABLE "polls_choice" ADD COLUMN "question_id" integer NOT NULL; ALTER TABLE "polls_choice" ALTER COLUMN "question_id" DROP DEFAULT; CREATE INDEX "polls_choice_7aa0f6ee" using, so database-specific field types such as auto_increment (MySQL), serial (PostgreSQL), or integer primary key autoincrement (SQLite) are handled for you automatically. Same goes for the quoting of0 码力 | 2790 页 | 2.71 MB | 1 年前3Django 2.0.x Documentation
"polls_choice" ( "id" serial NOT NULL PRIMARY KEY, "choice_text" varchar(200) NOT NULL, "votes" integer NOT NULL ); -- -- Create model Question -- CREATE TABLE "polls_question" ( "id" serial NOT NULL NULL ); -- -- Add field question to choice -- ALTER TABLE "polls_choice" ADD COLUMN "question_id" integer NOT NULL; ALTER TABLE "polls_choice" ALTER COLUMN "question_id" DROP DEFAULT; CREATE INDEX "polls_choice_7aa0f6ee" using, so database-specific field types such as auto_increment (MySQL), serial (PostgreSQL), or integer primary key autoincrement (SQLite) are handled for you au- tomatically. Same goes for the quoting0 码力 | 1880 页 | 6.41 MB | 1 年前3Django 2.0.x Documentation
"polls_choice" ( "id" serial NOT NULL PRIMARY KEY, "choice_text" varchar(200) NOT NULL, "votes" integer NOT NULL ); -- -- Create model Question -- CREATE TABLE "polls_question" ( "id" serial NOT NULL NULL ); -- -- Add field question to choice -- ALTER TABLE "polls_choice" ADD COLUMN "question_id" integer NOT NULL; ALTER TABLE "polls_choice" ALTER COLUMN "question_id" DROP DEFAULT; CREATE INDEX "polls_choice_7aa0f6ee" using, so database-specific field types such as auto_increment (MySQL), serial (PostgreSQL), or integer primary key autoincrement (SQLite) are handled for you automatically. Same goes for the quoting of0 码力 | 2746 页 | 2.67 MB | 1 年前3
共 422 条
- 1
- 2
- 3
- 4
- 5
- 6
- 43