class6专题

WPF基础入门-Class6-WPF通知更改

WPF基础入门 Class6-WPF通知 1、显示页面: <Grid><StackPanel><TextBox Text="{Binding Name}"></TextBox><TextBox Text="{Binding Title}"></TextBox><Button Command="{Binding ShowCommand}" Content="Show"></Button

class6_os_demo2

import os# 给一个列表,生成文件夹,并在其中新建txt文件,写入文件名内容# 例如 彭于晏文件夹下有 彭于晏.txt 里面有彭于晏三个字name_list=["彭于晏","周润发","周杰伦","陈道明","成龙","李连杰","阿里","百度","字节跳动"]# 批量新建文件夹的关键 for mkdir()for name in name_list:os.mkdir(name)