当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
DeFi明斯基时刻:压力测试与启示
【无标题】
Unity编辑器扩展批量修改图片名称
wordpress: 裁剪您的图片时发生错误
frp:开源内网穿透工具
积分商城系统设计
内存模型之可见性
sqlite 日期字段加一天
ArcEngine(一)加载矢量数据
箭头函数与普通函数的区别
Pop Harmony Basics Big Notes
线性表
HCIP练习03(重发布)
JS函数获取本月的第一天和最后一天
开发工具之版本控制
redis键值出现 xacxedx00x05tx00&的解决方法
C# 一周入门高级编程之《C#-接口》Day Two
并发之固定运行和交替运行方案
LeetCode第三题(Longest Substring Without Repeating Characters)三部曲之二:编码实现
The Transformer, BERT, GPT paper intensive reading notes








