07 2018 档案
摘要:<!doctype html> python文件操作 打开文件 xxxxxxxxxx fp = open("file","mode") #注意打开文件后 要关闭文件 fp.close() #可以使用 with函数 来自动调用 close函数 with open("file","mode") as
阅读全文
摘要:服务器不建议使用,占用内存资源 1.find 文件搜索 格式:find [搜索范围] [匹配条件] 选项:很多可以用 --help查看 常用选项:-name [文件名] 指定文件名搜索 精准搜索。模糊搜索可以使用 * 匹配任意字符 ?匹配一个字符 -iname 与-name就是不区分大小写 -siz
阅读全文
摘要:主要命令:chmod 执行权限:文件所有者,root权限拥有者 参数: -R 递归修改目录权限 格式: 1.chmod [{ugoa} {+-=} {rwx}] 文件名或者目录 ugo 代表用户 2.chmod [mode=421][文件或者目录] 1.第一种修改权限的方式 2.第二种修改权限的方式
阅读全文
摘要:Longest Substring Without Repeating Characters Given a string, find the length of the longest substring without repeating characters. Examples: Given
阅读全文
摘要:Add Two Numbers You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of th
阅读全文
摘要:1.Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have
阅读全文

浙公网安备 33010602011771号