Jinja2 Documentation Release 2.10possible initialization parameters: block_start_string The string marking the beginning of a block. De- faults to '{%'. block_end_string The string marking the end of a block. Defaults to '%}'. variable_start_string newline after a block is re- moved (block, not variable tag!). Defaults to False. lstrip_blocks If this is set to True leading spaces and tabs are stripped from the start of a line to a block. Defaults to version 2.4. select_template(names, parent=None, globals=None) Works like get_template() but tries a number of templates before it fails. If 14 it cannot find any of the templates, it will raise a TemplatesNotFound0 码力 | 148 页 | 475.08 KB | 1 年前3
peewee Documentation Release 3.4.0uncle_bob.save() # bob is now stored in the database # Returns: 1 Note When you call save(), the number of rows modified is returned. You can also add a person by calling the create() method, which returns delete_instance() # he had a great life # Returns: 1 Note The return value of delete_instance() is the number of rows removed from the database. Uncle Bob decides that too many animals have been dying at Herb’s aggregation at length, making use of standard grouping as well as more recent window functions. Count the number of facilities For our first foray into aggregates, we’re going to stick to something simple. We0 码力 | 349 页 | 382.34 KB | 1 年前3
peewee Documentation
Release 3.4.0uncle_bob.save() # bob is now stored in the database # Returns: 1 Note: When you call save(), the number of rows modified is returned. You can also add a person by calling the create() method, which returns delete_instance() # he had a great life # Returns: 1 Note: The return value of delete_instance() is the number of rows removed from the database. Uncle Bob decides that too many animals have been dying at Herb’s aggregation at length, making use of standard grouping as well as more recent window functions. Count the number of facilities For our first foray into aggregates, we’re going to stick to something simple. We0 码力 | 284 页 | 1.03 MB | 1 年前3
peewee Documentation
Release 3.3.0uncle_bob.save() # bob is now stored in the database # Returns: 1 Note: When you call save(), the number of rows modified is returned. You can also add a person by calling the create() method, which returns delete_instance() # he had a great life # Returns: 1 Note: The return value of delete_instance() is the number of rows removed from the database. Uncle Bob decides that too many animals have been dying at Herb’s aggregation at length, making use of standard grouping as well as more recent window functions. Count the number of facilities For our first foray into aggregates, we’re going to stick to something simple. We0 码力 | 280 页 | 1.02 MB | 1 年前3
peewee Documentation Release 3.1.0uncle_bob.save() # bob is now stored in the database # Returns: 1 Note When you call save(), the number of rows modified is returned. You can also add a person by calling the create() method, which returns delete_instance() # he had a great life # Returns: 1 Note The return value of delete_instance() is the number of rows removed from the database. Uncle Bob decides that too many animals have been dying at Herb’s aggregation at length, making use of standard grouping as well as more recent window functions. Count the number of facilities For our first foray into aggregates, we’re going to stick to something simple. We0 码力 | 332 页 | 370.77 KB | 1 年前3
peewee Documentation Release 3.0.0uncle_bob.save() # bob is now stored in the database # Returns: 1 Note When you call save(), the number of rows modified is returned. You can also add a person by calling the create() method, which returns delete_instance() # he had a great life # Returns: 1 Note The return value of delete_instance() is the number of rows removed from the database. Uncle Bob decides that too many animals have been dying at Herb’s aggregation at length, making use of standard grouping as well as more recent window functions. Count the number of facilities For our first foray into aggregates, we’re going to stick to something simple. We0 码力 | 319 页 | 361.50 KB | 1 年前3
MuPDF 1.22.0 Documentation#includeint main(int argc, char **argv) { char *input; float zoom, rotate; int page_number, page_count; fz_context *ctx; fz_document *doc; (continues on next page) 5 MuPDF Documentation *pix; fz_matrix ctm; int x, y; if (argc < 3) { fprintf(stderr, "usage: example input-file page-number [ zoom [ rotate ]␣ ˓→]\n"); fprintf(stderr, "\tinput-file: path of PDF, XPS, CBZ or EPUB document fprintf(stderr, "\tRotation is in degrees clockwise.\n"); return EXIT_FAILURE; } input = argv[1]; page_number = atoi(argv[2]) - 1; zoom = argc > 3 ? atof(argv[3]) : 100; rotate = argc > 4 ? atof(argv[4]) : 0; 0 码力 | 175 页 | 698.87 KB | 8 月前3
MuPDF 1.23.0 Documentation#includeint main(int argc, char **argv) { char *input; float zoom, rotate; int page_number, page_count; fz_context *ctx; fz_document *doc; (continues on next page) 5 MuPDF Documentation *pix; fz_matrix ctm; int x, y; if (argc < 3) { fprintf(stderr, "usage: example input-file page-number [ zoom [ rotate ]␣ ˓→]\n"); fprintf(stderr, "\tinput-file: path of PDF, XPS, CBZ or EPUB document fprintf(stderr, "\tRotation is in degrees clockwise.\n"); return EXIT_FAILURE; } input = argv[1]; page_number = atoi(argv[2]) - 1; zoom = argc > 3 ? atof(argv[3]) : 100; rotate = argc > 4 ? atof(argv[4]) : 0; 0 码力 | 245 页 | 817.74 KB | 8 月前3
peewee Documentation Release 2.10.2is_relative=True) >>> uncle_bob.save() # bob is now stored in the database 1 Note When you call save(), the number of rows modified is returned. You can also add a person by calling the create() method, which returns herb_mittens.delete_instance() # he had a great life 1 Note The return value of delete_instance() is the number of rows removed from the database. Uncle Bob decides that too many animals have been dying at Herb’s RESTful API, Authentication and more for your peewee models. Additional Resources I’ve written a number of blog posts about building applications and web-services with peewee (and usually Flask). If you’d0 码力 | 275 页 | 276.96 KB | 1 年前3
peewee Documentation
Release 2.10.2is_relative=True) >>> uncle_bob.save() # bob is now stored in the database 1 Note: When you call save(), the number of rows modified is returned. You can also add a person by calling the create() method, which returns herb_mittens.delete_instance() # he had a great life 1 Note: The return value of delete_instance() is the number of rows removed from the database. Uncle Bob decides that too many animals have been dying at Herb’s RESTful API, Authentication and more for your peewee models. 1.4 Additional Resources I’ve written a number of blog posts about building applications and web-services with peewee (and usually Flask). If you’d0 码力 | 221 页 | 844.06 KB | 1 年前3
共 519 条
- 1
- 2
- 3
- 4
- 5
- 6
- 52













