11 2020 档案
摘要:ctrl+c: 选中内容时复制内容,不选中内容时复制当前行 ctrl+x: 选中内容时剪切内容,不选中内容时剪切当前行 ctrl+v: 粘贴 ctrl+d: 复制当前行到下一行 ctrl+y: 删除当前行 ctrl+z: 撤回到上一步 ctrl+shift+z: 撤回到下一步 shift+enter
阅读全文
摘要:1 import cv2 2 import numpy as np 3 import pandas as pd 4 from PIL import Image 5 6 img1 = cv2.imread('lena.bmp', cv2.IMREAD_GRAYSCALE) 7 cv2.namedWin
阅读全文
摘要:1.打开pytorch官网 https://pytorch.org/ 2.选择合适的选项 3.运行cmd命令提示符 运行 run this command里的内容 我用的是旧版本(pip install torch==1.4.0+cpu torchvision==0.5.0+cpu -f https
阅读全文
摘要:1. 定义一个函数 def func1(): """testing1""" print("hello world1") return 0 定义一个过程,过程是没有返回值的函数,Python中过程隐式返回None def func2(): """testing2""" print("hello wor
阅读全文
摘要:# @Author : XXX # @Time : ${DATE} ${TIME} # @File : ${NAME}.py
阅读全文

浙公网安备 33010602011771号