---
title: "使用python快速共享文件"
author: "androider"
date: "2009-09-17T03:55:04Z"
tags: []
slug: "python"
draft: false
lastmod: "2009-09-17T03:55:36Z"
id: 470133
url: "https://androider.iteye.com/blog/470133"
---

一般来说类linux系统之间的文件共享通常使用nfs,而linux 
和Windows文件共享则使用samba,这两个服务器功能强大，但是使用起来免不了要配置一番 
如果你的机器上装了python可以使用python自带的http服务器 
  进入你要共享文件的目录执行， ptyhon -m SimpleHTTPServer 
对方只要在浏览器里输入你的IP地方加8000端口(例如192.168.1.104:8000)就可以看到共享目录下文件。