zoukankan
html css js c++ java
052 绝对路径和相对路径
目录
一、绝对路径
二、相对路径
一、绝对路径
Windows系统绝对路径从盘符(C:\、D:\)开始写一个完整的路径。
macos系统从根目录(/Users)开始写一个完整的路径。
二、相对路径
相对于当前执行文件所在的文件夹开始找。
f =
open
(
'32.txt'
)
# 32.txt与该.md文档同路径位置
查看全文
相关阅读:
c 语言 运算符 优先级
回文字符串个数
最小操作数
将一个二叉树转化为双向链表,不开辟新空间
两个整数集合的交集 ———— 腾讯2014软件开发笔试题目
python download
Spring5.2.X源代码编译-问题-Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/context]
Spring5.2.X源代码编译-问题-找不到CoroutinesUtils
Spring5.2.X源代码编译
入行四年的思考
原文地址:https://www.cnblogs.com/abdm-989/p/11506225.html
最新文章
ssh 公钥无秘登录问题
在chrome console中添加jQuery
设计模式概览
Python2中生成时间戳(Epoch,或Timestamp)的常见误区
跨语言时区处理与Epoch
jwt token Example
mesos 资源分配
bottlepy template
HDP 2.3 Notes
Google Authenticator
热门文章
mongoosejs model mapping to collection name
LRU implement Data Structure analysis
SVN show log failed
Python Quick list dir
Python Logging
Java Docs
XShell 无法匹配的outgoing encryption算法 ,No matching outgoing encryption algorithm found
Ambari 不能配置 Kafka 监听host的问题
install cx_Oracle on Linux
编解码
Copyright © 2011-2022 走看看