PyMuPDF 1.24.2 Documentation
419 24 Low Level Functions and Classes 425 25 Glossary 449 26 Constants and Enumerations 455 27 Color Database 465 28 Appendix 1: Details on Text Extraction 467 29 Appendix 2: Considerations on Embedded = 842, fontname = "Helvetica", # default font fontfile = None, # any font file name color = (0, 0, 0)) # text color (RGB) Note: Taking it further The text parameter can be a (sequence of) string (assuming an area to redact rect = [0,0,200,200] # Add a redacction annotation which will have a red fill color page.add_redact_annot(rect, fill=(1,0,0)) # Apply the redactions to the current page, but ignore0 码力 | 565 页 | 6.84 MB | 1 年前3Tornado 5.1 Documentation
Monotime add support for a monotonic clock, which improves reliability in environments where clock adjustments are frequent. No longer needed in Python 3. Platforms: Tornado should run on any Unix-like platform class tornado.log.LogFormatter(fmt=’%(color)s[%(levelname)1.1s %(asctime)s %(mod- ule)s:%(lineno)d]%(end_color)s %(message)s’, datefmt=’%y%m%d %H:%M:%S’, style=’%’, color=True, colors={10: 4, 20: 2, 30: 3 3, 40: 1}) Log formatter used in Tornado. Key features of this formatter are: • Color support when logging to a terminal that supports it. • Timestamps on every log line. • Robust against str/bytes0 码力 | 243 页 | 895.80 KB | 1 年前3Tornado 5.1 Documentation
org/pypi/Monotime] add support for a monotonic clock, which improves reliability in environments where clock adjustments are frequent. No longer needed in Python 3. Platforms: Tornado should run on any Unix-like platform class tornado.log.LogFormatter(fmt='%(color)s[%(levelname)1.1s %(asctime)s %(module)s:%(lineno)d]%(end_color)s %(message)s', datefmt='%y%m%d %H:%M:%S', style='%', color=True, colors={10: 4, 20: 2, 30: 3, 40: 1}) Log formatter used in Tornado. Key features of this formatter are: Color support when logging to a terminal that supports it. Timestamps on every log line. Robust against str/bytes encoding0 码力 | 359 页 | 347.32 KB | 1 年前3Scrapy 0.16 Documentation
processed value should be a dict with field_name mapped to values. Examples: loader.add_value('name', u'Color TV') loader.add_value('colours', [u'white', u'blue']) loader.add_value('length', u'100') loader.add_value('name' extracting data from the selected XPath region Examples: # HTML snippet:Color TV
loader.get_xpath('//p[@class="product-name"]') # HTML snippet:the price is $1200
xpath (str) – the XPath to extract data from Examples: # HTML snippet:Color TV
loader.add_xpath('name', '//p[@class="product-name"]') # HTML snippet:the price
0 码力 | 203 页 | 931.99 KB | 1 年前3Scrapy 0.16 Documentation
processed value should be a dict with field_name mapped to values. Examples: loader.add_value('name', u'Color TV') loader.add_value('colours', [u'white', u'blue']) loader.add_value('length', u'100') loader.add_value('name' extracting data from the selected XPath region Examples: # HTML snippet:Color TV
loader.get_xpath('//p[@class="product-name"]') # HTML snippet:the price is $1200
xpath (str) – the XPath to extract data from Examples: # HTML snippet:Color TV
loader.add_xpath('name', '//p[@class="product-name"]') # HTML snippet:the price
0 码力 | 272 页 | 522.10 KB | 1 年前3Tornado 6.1 Documentation
LogFormatter(fmt: str = ’%(color)s[%(levelname)1.1s %(asctime)s %(mod- ule)s:%(lineno)d]%(end_color)s %(message)s’, datefmt: str = ’%y%m%d %H:%M:%S’, style: str = ’%’, color: bool = True, colors: Dict[int 2, 30: 3, 40: 1, 50: 5}) Log formatter used in Tornado. Key features of this formatter are: • Color support when logging to a terminal that supports it. • Timestamps on every log line. • Robust against tornado. options.parse_config_file (unless --logging=none is used). Color support on Windows versions that do not support ANSI color codes is enabled by use of the colorama library. Applications that wish0 码力 | 245 页 | 904.24 KB | 1 年前3Tornado 6.0 Documentation
LogFormatter(fmt: str = '%(color)s[%(levelname)1.1s %(asctime)s %(mod- ule)s:%(lineno)d]%(end_color)s %(message)s', datefmt: str = '%y%m%d %H:%M:%S', style: str = '%', color: bool = True, colors: Dict[int 4, 20: 2, 30: 3, 40: 1}) Log formatter used in Tornado. Key features of this formatter are: • Color support when logging to a terminal that supports it. • Timestamps on every log line. • Robust against tornado. options.parse_config_file (unless --logging=none is used). Color support on Windows versions that do not support ANSI color codes is enabled by use of the colorama library. Applications that wish0 码力 | 245 页 | 885.76 KB | 1 年前3Django CMS 3.11.10 Documentation
Internationalisation Permissions Search and django CMS Using touch-screen devices with django CMS Color schemes (light/dark) with django CMS How the menu system works Some commonly-used plugins Frontend because Django automatically focuses the search form input. Color schemes (light/dark) with django CMS Important These notes about the color scheme apply only to the django CMS admin and editing interfaces browser’s color scheme. Setting the color scheme Django CMS’ default color scheme is "light". To change the color scheme use the CMS_COLOR_SCHEME setting in your project’s setting.py: CMS_COLOR_SCHEME =0 码力 | 493 页 | 1.44 MB | 6 月前0.03Tornado 6.4 Documentation
log.LogFormatter(fmt: str = '%(color)s[%(levelname)1.1s %(asctime)s %(module)s:%(lineno)d]%(end_color)s %(message)s', datefmt: str = '%y%m%d %H:%M:%S', style: str = '%', color: bool = True, colors: Dict[int 2, 30: 3, 40: 1, 50: 5}) Log formatter used in Tornado. Key features of this formatter are: • Color support when logging to a terminal that supports it. • Timestamps on every log line. • Robust against tornado.options. parse_config_file (unless --logging=none is used). Color support on Windows versions that do not support ANSI color codes is enabled by use of the colorama library. Applications that wish0 码力 | 268 页 | 1.09 MB | 1 年前3Tornado 6.2 Documentation
log.LogFormatter(fmt: str = '%(color)s[%(levelname)1.1s %(asctime)s %(module)s:%(lineno)d]%(end_color)s %(message)s', datefmt: str = '%y%m%d %H:%M:%S', style: str = '%', color: bool = True, colors: Dict[int 2, 30: 3, 40: 1, 50: 5}) Log formatter used in Tornado. Key features of this formatter are: • Color support when logging to a terminal that supports it. • Timestamps on every log line. • Robust against --logging=none is used). 6.7. Utilities 147 Tornado Documentation, Release 6.2 Color support on Windows versions that do not support ANSI color codes is enabled by use of the colorama library. Applications that wish0 码力 | 260 页 | 1.06 MB | 1 年前3
共 408 条
- 1
- 2
- 3
- 4
- 5
- 6
- 41