当前位置:网站首页>Use Baidu network disk to upload data to the server
Use Baidu network disk to upload data to the server
2022-07-02 07:35:00 【wxplol】
List of articles
One 、 Installation environment
pip install requests && pip install bypy

Two 、 Log in to Baidu online disk and authorize
Once installed , We run the following instructions in the terminal
bypy info

Open the web page with the link just copied , In point graph Copy authorization code After copying the authorization code , Paste it into the terminal window just now , Press enter to confirm .


In this way, we can see the folder we created on Baidu online disk

3、 ... and 、 Create folders and upload or download data
We can create a special synchronization folder to facilitate data management , Run the following command in the terminal window to create a folder , And enter this folder .
mkdir baiduwanpan
cd baiduwanpan/
- Download data
We turn on My application data ->bypy In this way, the data can be stored in this location of the network disk 
And then execute :
bypy -v downdir
You can download the data to baiduwanpan Under the folder


- Upload data
bypy -v upload
Here is just a demonstration of the interface ubuntu18 Lower operation , The same applies to servers without interfaces . Sometimes , We will encounter that the direct upload file is too large , Relatively slow , In this way , It is also a way to upload data to the server .
Refer to the connection :
边栏推荐
猜你喜欢
随机推荐
【Ranking】Pre-trained Language Model based Ranking in Baidu Search
第一个快应用(quickapp)demo
Oracle EBs and apex integrated login and principle analysis
Faster-ILOD、maskrcnn_benchmark训练coco数据集及问题汇总
Determine whether the version number is continuous in PHP
【论文介绍】R-Drop: Regularized Dropout for Neural Networks
A summary of a middle-aged programmer's study of modern Chinese history
生成模型与判别模型的区别与理解
allennlp 中的TypeError: Object of type Tensor is not JSON serializable错误
@Transitional step pit
Win10 solves the problem that Internet Explorer cannot be installed
Drawing mechanism of view (I)
基于pytorch的YOLOv5单张图片检测实现
view的绘制机制(一)
win10+vs2017+denseflow编译
矩阵的Jordan分解实例
[Bert, gpt+kg research] collection of papers on the integration of Pretrain model with knowledge
離線數倉和bi開發的實踐和思考
离线数仓和bi开发的实践和思考
Faster-ILOD、maskrcnn_benchmark训练自己的voc数据集及问题汇总









