当前位置:网站首页>The window of the chosen data flow
The window of the chosen data flow
2022-08-03 08:34:00 【all-purpose cook】
This Internet can search a lot:
Simple example:
#!/usr/bin/env pythonimport os.pathf = open( os.path.join( os.path.abspath("."), "A.pkl"),"w")f.write("1")f.close()f = open( os.path.join( os.path.abspath("."), "A.pkl:legend"),"w")f.write("2")f.close()f = open( os.path.join( os.path.abspath("."), "A.pkl:legend1"),"w")f.write("3")f.close()f = open( os.path.join( os.path.abspath("."), "A.pkl"),"r")S = f.read()print(S)f.close()f = open( os.path.join( os.path.abspath("."), "A.pkl:legend"),"r")S = f.read()print(S)f.close()Print out:
1
2
Note: If A.pkl is written last, the result will clear this alternative data stream
边栏推荐
猜你喜欢
随机推荐
牛客 - 鼠标的天选(字符串哈希)
Dapr 与 NestJs ,实战编写一个 Pub & Sub 装饰器
Using pipreqs export requirements needed for the project. TXT (rather than the whole environment)
获取JDcookie的方法
审批流设计
C# 一周入门高级编程之《C#-接口》Day Two
HCIA实验(07)
Evaluate: A detailed introduction to the introduction of huggingface evaluation indicator module
Nacos使用实践
基于SSM开发的的小区物业管理系统小程序源码
How does Mysql query two data tables for the same fields in two tables at the same time
LeetCode 每日一题——622. 设计循环队列
HCIP练习02(OSPF)
多线程下的单例模式
图解Kernel Device Tree(设备树)的使用
并发之多把锁和活跃性
dflow入门1——HelloWorld!
IDEA2021.2安装与配置(持续更新)
分析型数据库性能测试总结
服务器资源监控工具-nmon、nmon_analyser









