自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

原创 替换空格

实现一个函数,把字符串的每个空格替换“%20”。 Python实现: import sys s = sys.stdin.readline().strip() s = s.split() s = '%20'.join(s) print(s) 或者: class Solution: # s 源字符串 def replaceSpace(self, s): # write...

2019-08-03 20:15:32 90

原创 二维数组的查找

在一个二维数组中,每一行都按照从左到右递增的顺序排序,每一列都按照从上到下递增的顺序排序。完成一个函数,输入这样一个二维数组和证书,判断数组中是否含有该整数 # -*- coding:utf-8 -*- class Solution: # array 二维列表 def Find(self, target, array): # write code here ...

2019-08-03 19:42:47 74

原创 centos7 安装python3,pip3,torch

yum安装Python3 yum install epel-release –y yum install https://centos7.iuscommunity.org/ius-release.rpm -y yum install python36 u –y ln –s /bin/python3.6 /bin/python3 编译安装Python3 wget https://www.pytho...

2019-02-22 20:51:28 583 1

原创 ***Errors when install mrjob on centos***

errors when install mrjob on centos error: Cannot uninstall ‘requests’. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a...

2018-09-30 11:03:23 314

原创 Ubuntu下三条命令成功安装ffmpeg

** Simply online install with three steps ** 1 sudo add-apt-repository ppa:dicj/hybrid 2 sudo apt-get update 3 sudo apt-get install ffmpeg that’s it now have a test: successfully...

2018-09-15 14:10:27 1101

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除