上一页 1 ··· 325 326 327 328 329 330 331 332 333 ··· 498 下一页
摘要: Single quotes and double quotes can both be used to declare strings in Python. You can even use triple-double quotes! Learn when to use each in this l 阅读全文
posted @ 2017-12-09 23:05 Zhentiw 阅读(176) 评论(0) 推荐(0)
摘要: Python scripts can be executed by passing the script name to the python command or created as executable commands that can run stand-alone. You’ll lea 阅读全文
posted @ 2017-12-09 17:59 Zhentiw 阅读(1560) 评论(0) 推荐(0)
摘要: In this lesson, you will learn what mutable and immutable objects are, and the difference between them. This understanding will help you determine whe 阅读全文
posted @ 2017-12-09 17:53 Zhentiw 阅读(272) 评论(0) 推荐(0)
摘要: If you’ve used other programming languages, you may have learned that an empty object is not the same as an object that does not exist. In this lesson 阅读全文
posted @ 2017-12-09 17:49 Zhentiw 阅读(1467) 评论(0) 推荐(0)
摘要: Virtual Environments ensure that dependencies from one Python application don’t overwrite the dependencies of another application. In this lesson, you 阅读全文
posted @ 2017-12-09 17:41 Zhentiw 阅读(214) 评论(0) 推荐(0)
摘要: In this lesson we'll talk about controlling the value for inputs, textareas, and select elements. We'll see how to manage the state ourselves while st 阅读全文
posted @ 2017-12-08 20:54 Zhentiw 阅读(202) 评论(0) 推荐(0)
摘要: In this lesson we'll take a stopwatch component we built in another lesson and identify and fix a memory leak. Tow things to notice here is that: 1. t 阅读全文
posted @ 2017-12-07 20:33 Zhentiw 阅读(716) 评论(0) 推荐(0)
摘要: In this lesson we'll learn about how you can use the prop-types module to validate a custom React component's props. You can write you own PropTypes v 阅读全文
posted @ 2017-12-07 20:09 Zhentiw 阅读(242) 评论(0) 推荐(0)
摘要: import time import urllib import bs4 import requests start_url = "https://en.wikipedia.org/wiki/Special:Random" target_url = "https://en.wikipedia.org/wiki/Philosophy" def find_first_link(url): ... 阅读全文
posted @ 2017-12-07 16:36 Zhentiw 阅读(364) 评论(0) 推荐(0)
摘要: # Python's list slice syntax can be used without indices # for a few fun and useful things: # You can clear all elements from a list: >>> lst = [1, 2, 3, 4, 5] >>> del lst[:] >>> lst [] # You can r... 阅读全文
posted @ 2017-12-07 15:39 Zhentiw 阅读(246) 评论(0) 推荐(0)
上一页 1 ··· 325 326 327 328 329 330 331 332 333 ··· 498 下一页