Keep at writing blog

作者反思了自己记忆中童年的片段以及大学时光,并意识到随着时间流逝,许多珍贵的记忆正在逐渐消失。受一次电视剧中角色对话的启发,他决定开始写日记来记录日常生活,希望以此方式保存记忆并分享给自己的孩子。
Last night,I told something about my life when I was a child and studying in university to my wife.I can remember some of these,but I forget more.This weekend,I watched a TV play.In this play,a person asked the other person that whether he could remember everything that he lived or not.At that time,I asked myself the same question.He answered that he could,but I answered that I couldn't.Then,I thought of that my teacher asked us to write diary when I was in primary school,If I write diary  every day or every week,I can know everything after I read these.So,I decided that I will keep at writing blog every day or every week and I will tell the benefit  of  writing diary to  my son.

# Licensed to the Software Freedom Conservancy (SFC) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The SFC licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. from typing import Optional from selenium.webdriver.chromium.webdriver import ChromiumDriver from selenium.webdriver.common.desired_capabilities import DesiredCapabilities from .options import Options from .service import Service class WebDriver(ChromiumDriver): """Controls the ChromeDriver and allows you to drive the browser.""" def __init__( self, options: Optional[Options] = None, service: Optional[Service] = None, keep_alive: bool = True, ) -> None: """Creates a new instance of the chrome driver. Starts the service and then creates new instance of chrome driver. :Args: - options - this takes an instance of ChromeOptions - service - Service object for handling the browser driver if you need to pass extra details - keep_alive - Whether to configure ChromeRemoteConnection to use HTTP keep-alive. """ service = service if service else Service() options = options if options else Options() super().__init__( browser_name=DesiredCapabilities.CHROME["browserName"], vendor_prefix="goog", options=options, service=service, keep_alive=keep_alive, ) 一步一步解释用法
09-12
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值