python中通过../路径和./路径下载的文件存在哪

①…/

答:在py文件所在的盘里
例:

train_dataset = datasets.MNIST(root='../data',
                               train=True,
                               download=True,
                               transform=transform)  # 训练数据集

我就想看看数据集给我下哪了,在工程目录下面没有,最后在E盘找到了
在这里插入图片描述

在这里插入图片描述

②./

答:就在py文件同级目录
例:

train_dataset = datasets.MNIST(root='./data/',
                               train=True,
                               transform=transforms.ToTensor(),
                               download=True)

在这里插入图片描述

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
文名: 苹果iPad详细使用教程 原名: iPad Made Simple 作者: Martin Trautschold Gary Mazo资源格式: PDF 版本: 图文版 出版社: Apress书号: 9781430231301发行时间: 2010年 地区: 美国 语言: 英文 简介: 内容简介: 这本书是市面上对iPad介绍最详细的一本书了 里面从与电脑的链接,数据的传输,视频的播放,日程的安排等等许多方面都做了详尽的介绍。 或许国内大多数的人们对于iPad来说都是可望不可即的 但是,这并不能够阻挡我们向往高科技产品的热情 苹果出的东西不说是最好的,但起码同类型产品,没人敢说做的比苹果还好的。发售至今,iPad的销量就超过了200万, 所以,我们来看看iPad到底有什么魅力吧。 目录: Contents at a Glance........................................................................................ iv Contents ....................................................................................................... vi About the Authors .........................................................................................xxi About the Technical Reviewer..........................................................................xxii Acknowledgments.......................................................................................... xiii Part I: Quick Start Guide Part II: Introduction ....................................................................................... 33 Introduction...................................................................................................35 Chapter 1: Getting Started.............................................................................. 41 Chapter 2: Typing Tips, Copy/Paste & Search .................................................... 69 Chapter 3: Sync Your iPad with iTunes ............................................................. 97 Chapter 4: Wi-Fi and 3G Connections .............................................................. 147 Chapter 5: Moving, Docking, and Deleting Icons................................................ 165 Chapter 6: Personalize & Secure Your iPad ....................................................... 171 Chapter 7: Playing Music ................................................................................ 185 Chapter 8: iBooks and E-Books ....................................................................... 217 Chapter 9: Viewing Videos, TV Shows, & More ................................................. 235 Chapter 10: Bluetooth on the iPad.................................................................. 255 Chapter 11: Surf the Web with Safari.............................................................. 263 Chapter 12: E-mail......................................................................................... 283 Chapter 13: Working with Contacts................................................................. 325 Chapter 14: Your Calendar ............................................................................ 341 Chapter 15: Working with Photos................................................................... 359 Chapter 16: Maps ........................................................................................ 377 Chapter 17: Eliminate Your Paper Notes .......................................................... 399 Chapter 18: iWork: Productivity on Your iPad.................................................... 415 Chapter 19: iTunes on Your iPad .................................................................... 447 Chapter 20: The Amazing App Store................................................................ 467 Chapter 21: Games and Fun .......................................................................... 481 Chapter 22: Social Networking........................................................................ 495 Chapter 23: New Media: Reading Newspapers, Magazines and More ..................... 531 Chapter 24: Other Sync Methods.................................................................... 553 Chapter 25: Troubleshooting ......................................................................... 585 Part IV: iPad’s Soulmate: iTunes ..................................................................... 607 Chapter 26: Your iTunes User Guide................................................................ 609 Index...........................................................................................................677

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值