Original URL: http://hi.baidu.com/xeye_h/blog/item/f2477d2580324f388744f9e0.html
之前写过一篇。这里优化配置后重新总结下。方便自己查看。
首先准备工作。所需软件
Python
Original URL: http://hi.baidu.com/xeye_h/blog/item/f2477d2580324f388744f9e0.html
之前写过一篇。这里优化配置后重新总结下。方便自己查看。
首先准备工作。所需软件

Python
1. Install Python (use ver2.5 if you need to use a lot of python compatible frameworks as most of them are currently available for ver2.5 only.)
2. Install a web server package like LAMP or XAMPP ( preferred ).
3. Go to your Apache folder and and in /modules copy the file of mod_wsgi.so. If you want to install mod_python download the zip file from internet and install mod_python.
4. For Django users use mod_wsgi .
5. Download latest Django package and extract it to some path.
6. Now in the Django directory run the setup.py file and then you are up and running.
The full set of invalid characters can vary by file system. For example, on Windows-based desktop platforms, invalid path characters might include ASCII/Unicode characters 1 through 31, as well as quote (“), less than (<), greater than (>), pipe (|), backspace (\b), null (\0) and tab (\t).
The following code example demonstrates the GetInvalidFileNameChars method and the GetInvalidPathChars method to validate a path.
C# Copy Code using System;
using System.IO;
namespace PathExample
{