Jupyter Notebook 6.4.4 Documentation(https://github.com/gibiansky/IHaskell)n”, “* Scala (https://github.com/Bridgewater/scala-notebook)n”, “* node.js (https://gist.github.com/Carreau/4279371)n”, “* Go (https://github.com/takluyver/igo)n”, “n”, “The 9QHV0mssdhJlyQpUndGcHlZ+bfydEmKwMbci18pC3Wx4Go+6WLRwiuHLkWvbcBUffcZbk91jarD6lhcam5Lo3V0VHL3QaAsF1q3OU9VR4rA4uRIW1+VcUphBbkXzMOq1f8ATEgAbLkEobh2ViO6mIS0kguoPRwFTd2MVrsTlPSxqPuZh22Izk9f2jUfcvCHK7plHUlYa there are lots of comments) and/or build the JavaScript documentation using yuidoc.n”, “If you have node and yui-doc installed:” ] }, { “cell_type”: “markdown”, “metadata”: {}, “source”: [ “�bash\n"0 码力 | 182 页 | 1.53 MB | 1 年前3
Jupyter Notebook 6.2.0 Documentation(https://github.com/gibiansky/IHaskell)n”, “* Scala (https://github.com/Bridgewater/scala-notebook)n”, “* node.js (https://gist.github.com/Carreau/4279371)n”, “* Go (https://github.com/takluyver/igo)n”, “n”, “The 9QHV0mssdhJlyQpUndGcHlZ+bfydEmKwMbci18pC3Wx4Go+6WLRwiuHLkWvbcBUffcZbk91jarD6lhcam5Lo3V0VHL3QaAsF1q3OU9VR4rA4uRIW1+VcUphBbkXzMOq1f8ATEgAbLkEobh2ViO6mIS0kguoPRwFTd2MVrsTlPSxqPuZh22Izk9f2jUfcvCHK7plHUlYa there are lots of comments) and/or build the JavaScript documentation using yuidoc.n”, “If you have node and yui-doc installed:” ] }, { “cell_type”: “markdown”, “metadata”: {}, “source”: [ “�bash\n"0 码力 | 176 页 | 1.51 MB | 1 年前3
Jupyter Notebook 6.2.0 DocumentationEnvironment Installing Node.js and npm Building the Notebook from its GitHub source code requires some tools to create and minify JavaScript components and the CSS, specifically Node.js and Node’s package manager npm. It should be node version ≥ 6.0. If you use conda, you can get them with: conda install -c conda-forge nodejs If you use Homebrew [https://brew.sh/] on Mac OS X: brew install node Installation on system package repository may be too old to work properly. You can also use the installer from the Node.js website [https://nodejs.org]. Installing the Jupyter Notebook Once you have installed the dependencies0 码力 | 283 页 | 4.07 MB | 1 年前3
Jupyter Notebook 6.4.4 DocumentationEnvironment Installing Node.js and npm Building the Notebook from its GitHub source code requires some tools to create and minify JavaScript components and the CSS, specifically Node.js and Node’s package manager npm. It should be node version ≥ 6.0. If you use conda, you can get them with: conda install -c conda-forge nodejs If you use Homebrew [https://brew.sh/] on Mac OS X: brew install node Installation on system package repository may be too old to work properly. You can also use the installer from the Node.js website [https://nodejs.org]. Installing the Jupyter Notebook Once you have installed the dependencies0 码力 | 293 页 | 4.08 MB | 1 年前3
Jinja2 Documentation Release 2.10information from templates. If you are developing Jinja2 extensions this gives you a good overview of the node tree generated. Environment.preprocess(source, name=None, filename=None) Preprocesses the source but modifications in the Jinja2 core may shine through. For example if Jinja2 introduces a new AST node in later versions that may be returned by parse(). 2.19 The Meta API New in version 2.2. The meta print(type(result)) str Rendering a Python object produces that object as long as it is the only node: >>> class Foo: ... def __init__(self, value): ... self.value = value ... >>> result = env.from_string('{{0 码力 | 148 页 | 475.08 KB | 1 年前3
Hello 算法 1.0.0b1 Python版个栈帧,函数返 回时,栈帧空间会被释放。 ‧「指令空间」用于保存编译后的程序指令,在实际统计中一般忽略不计。 Figure 2‑9. 算法使用的相关空间 """ 类 """ class Node: 2. 复杂度分析 hello‑algo.com 27 def __init__(self, x): self.val = x # 结点值 self.next = None # 指向下一结点的指针(引用) """ def function(): # do something... return 0 def algorithm(n): # 输入数据 b = 0 # 暂存数据(变量) node = Node(0) # 暂存数据(对象) c = function() # 栈帧空间(调用函数) return a + b + c # 输出数据 2.3.2. 推算方法 空间复杂度的推算方法和时 space_complexity.py === def constant(n): """ 常数阶 """ # 常量、变量、对象占用 O(1) 空间 a = 0 nums = [0] * 10000 node = ListNode(0) # 循环中的变量占用 O(1) 空间 for _ in range(n): c = 0 # 循环中的函数占用 O(1) 空间 for _ in range(n):0 码力 | 178 页 | 14.67 MB | 1 年前3
Hello 算法 1.0.0b2 Python版。 Figure 2‑9. 算法使用的相关空间 """ 类 """ class Node: 2. 复杂度分析 hello‑algo.com 27 def __init__(self, x: int): self.val: int = x # 结点值 self.next: Optional[Node] = None # 指向下一结点的指针(引用) """ 函数 """ def function() return 0 def algorithm(n) -> int: # 输入数据 A: int = 0 # 暂存数据(常量,一般用大写字母表示) b: int = 0 # 暂存数据(变量) node = Node(0) # 暂存数据(对象) c: int = function() # 栈帧空间(调用函数) return A + b + c # 输出数据 2.3.2. 推算方法 空间复杂度的推 constant(n: int) -> None: """ 常数阶 """ # 常量、变量、对象占用 O(1) 空间 a: int = 0 nums: list[int] = [0] * 10000 node = ListNode(0) # 循环中的变量占用 O(1) 空间 for _ in range(n): c: int = 0 # 循环中的函数占用 O(1) 空间 for _ in range(n):0 码力 | 186 页 | 15.69 MB | 1 年前3
Scrapy 1.4 DocumentationXMLFeedSpider XMLFeedSpider is designed for parsing XML feeds by iterating through them by a certain node name. The iterator can be chosen from: iternodes, xml, and html. It’s recommended to use the iternodes could be a problem for big feeds It defaults to: 'iternodes'. itertag A string with the name of the node (or element) to iterate in. Example: itertag = 'product' namespaces A list of (prefix, uri) tuples or another one). parse_node(response, selector) This method is called for the nodes matching the provided tag name (itertag). Receives the response and an Selector for each node. Overriding this method0 码力 | 394 页 | 589.10 KB | 1 年前3
Celery 3.0 Documentationprotocol can be implemented in any language. In addition to Python there’s node-celery [https://github.com/mher/node-celery] for Node.js, and a PHP client [https://github.com/gjedeer/celery-php]. Language local If you start the rabbitmq-server, your rabbit node should now be rabbit@myhost, as verified by rabbitmqctl: $ sudo rabbitmqctl status Status of node rabbit@myhost ... [{running_applications,[{rabbit Stopping nodes... > w1.halcyon.local: TERM -> 64024 > Waiting for 1 node..... > w1.halcyon.local: OK > Restarting node w1.halcyon.local: OK celery multi v4.0.0 (latentcall) > Stopping nodes..0 码力 | 2110 页 | 2.23 MB | 1 年前3
Celery v4.0.0 Documentationprotocol can be implemented in any language. In addition to Python there’s node-celery [https://github.com/mher/node-celery] for Node.js, and a PHP client [https://github.com/gjedeer/celery-php]. Language local If you start the rabbitmq-server, your rabbit node should now be rabbit@myhost, as verified by rabbitmqctl: $ sudo rabbitmqctl status Status of node rabbit@myhost ... [{running_applications,[{rabbit Stopping nodes... > w1.halcyon.local: TERM -> 64024 > Waiting for 1 node..... > w1.halcyon.local: OK > Restarting node w1.halcyon.local: OK celery multi v4.0.0 (latentcall) > Stopping nodes..0 码力 | 2106 页 | 2.23 MB | 1 年前3
共 313 条
- 1
- 2
- 3
- 4
- 5
- 6
- 32













