9 盛泳潘 When Knowledge Graph meet PythonWhen Knowledge Graph meet Python Yongpan Sheng 目录 CONTENTS The Pipeline of Knowledge Graph Construction by Data- driven manner Python Tools for Graph Data Management Domain-specific Knowledge previous subtask are more likely to be salient, which of their entities and concepts to merge and, when merging, which of the available labels to leverage in the final conceptual graph . A Conceptual Knowledge0 码力 | 57 页 | 1.98 MB | 1 年前3
Jinja2 Documentation Release 2.10instance of Template you get back a new template object that provides a method called render() which when called with a dict or keyword arguments expands the template. The dict or keywords arguments passed environment with the default settings and a loader that looks up the templates in the templates folder inside the yourapplication python pack- 7 age. Different loaders are available and you can also write on the language level. For example Jinja2 treats the non- breaking space as valid whitespace inside expressions which requires knowledge of the encoding or operating on an Unicode string. For more details0 码力 | 148 页 | 475.08 KB | 1 年前3
The Python Handbook
Python programs 4. Python 2 vs Python 3 5. The basics of working with Python 5.1. Variable 5.2. Expressions and statement 5.3. Comment 5.4. Indentation 6. Data Types 7. Operators 7.0.1. Assignment operator 19. Sets 20. Functions 21. Objects 22. Loops 22.1. while loop 22.2. for loop 22.3. Break and continue 23. Classes 24. Modules 25. The Python Standard Library 26. The PEP8 Python style guide 13 chmod u+x program.py and I can run the program with ./program.py This is especially useful when you write scripts that interact with the terminal. We have many other ways to run Python programs0 码力 | 93 页 | 7.31 MB | 1 年前3
Django 3.0.x Documentationpart 5 Introducing automated testing Basic testing strategies Writing our first test Test a view When testing, more is better Further testing What’s next? Writing your first Django app, part 6 Customize Dependencies Migration files Adding migrations to apps Reversing migrations Historical models Considerations when removing model fields Data Migrations Squashing migrations Serializing values Supporting multiple type? FAQ: The admin I can’t log in. When I enter a valid username and password, it just brings up the login page again, with no error messages. I can’t log in. When I enter a valid username and password0 码力 | 3085 页 | 2.95 MB | 1 年前3
Tornado 6.0 Documentation
installed with pip. Note that the source distribution includes demo applications that are not present when Tornado is installed in this way, so you may wish to download a copy of the source tarball or clone [https://pypi.python.org/pypi/pycares] is an alternative non-blocking DNS resolver that can be used when threads are not appropriate. Platforms: Tornado should run on any Unix-like platform, although for introduced in Python 3.5 (async def). Native coroutines are recommended in place of the tornado.gen module when available. The Tornado web framework and HTTP server together offer a full-stack alternative to WSGI0 码力 | 869 页 | 692.83 KB | 1 年前3
Tornado 6.1 Documentation
installed with pip. Note that the source distribution includes demo applications that are not present when Tornado is installed in this way, so you may wish to download a copy of the source tarball or clone pycares [https://pypi.org/project/pycares/] is an alternative non-blocking DNS resolver that can be used when threads are not appropriate. Platforms: Tornado is designed for Unix-like platforms, with best performance introduced in Python 3.5 (async def). Native coroutines are recommended in place of the tornado.gen module when available. The Tornado web framework and HTTP server together offer a full-stack alternative to WSGI0 码力 | 931 页 | 708.03 KB | 1 年前3
Tornado 5.1 Documentation
installed with pip. Note that the source distribution includes demo applications that are not present when Tornado is installed in this way, so you may wish to download a copy of the source tarball or clone tornado.platform.twisted. • pycares is an alternative non-blocking DNS resolver that can be used when threads are not appropriate. • monotonic or Monotime add support for a monotonic clock, which improves introduced in Python 3.5 (async def). Native coroutines are recommended in place of the tornado.gen module when available. The Tornado web framework and HTTP server together offer a full-stack alternative to WSGI0 码力 | 243 页 | 895.80 KB | 1 年前3
Tornado 4.5 Documentation
installed with pip. Note that the source distribution includes demo applications that are not present when Tornado is installed in this way, so you may wish to download a copy of the source tarball or clone [https://pypi.python.org/pypi/pycares] is an alternative non-blocking DNS resolver that can be used when threads are not appropriate. monotonic [https://pypi.python.org/pypi/monotonic] or Monotime [https://pypi are often used interchangeably, but they are not quite the same thing. Blocking A function blocks when it waits for something to happen before returning. A function may block for many reasons: network0 码力 | 333 页 | 322.34 KB | 1 年前3
Tornado 4.5 Documentation
installed with pip. Note that the source distribution includes demo applications that are not present when Tornado is installed in this way, so you may wish to download a copy of the source tarball or clone tornado.platform.twisted. • pycares is an alternative non-blocking DNS resolver that can be used when threads are not appropriate. • monotonic or Monotime add support for a monotonic clock, which improves are often used interchangeably, but they are not quite the same thing. Blocking A function blocks when it waits for something to happen before returning. A function may block for many reasons: network0 码力 | 222 页 | 833.04 KB | 1 年前3
Tornado 6.1 Documentation
installed with pip. Note that the source distribution includes demo applications that are not present when Tornado is installed in this way, so you may wish to download a copy of the source tarball or clone tornado.platform.twisted. • pycares is an alternative non-blocking DNS resolver that can be used when threads are not appropriate. Platforms: Tornado is designed for Unix-like platforms, with best performance introduced in Python 3.5 (async def). Native coroutines are recommended in place of the tornado.gen module when available. The Tornado web framework and HTTP server together offer a full-stack alternative to WSGI0 码力 | 245 页 | 904.24 KB | 1 年前3
共 555 条
- 1
- 2
- 3
- 4
- 5
- 6
- 56













