Initialize project structure with essential files including .gitignore, .python-version, README.md, main.py, prompt.md, and pyproject.toml.
This commit is contained in:
commit
950ecbf580
10
.gitignore
vendored
Normal file
10
.gitignore
vendored
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Python-generated files
|
||||||
|
__pycache__/
|
||||||
|
*.py[oc]
|
||||||
|
build/
|
||||||
|
dist/
|
||||||
|
wheels/
|
||||||
|
*.egg-info
|
||||||
|
|
||||||
|
# Virtual environments
|
||||||
|
.venv
|
1
.python-version
Normal file
1
.python-version
Normal file
@ -0,0 +1 @@
|
|||||||
|
3.13
|
6
main.py
Normal file
6
main.py
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
def main():
|
||||||
|
print("Hello from cn-design-ftp!")
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
5
prompt.md
Normal file
5
prompt.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
| 设计题目 | **编程实现 FTP 服务器 ★★★** |
|
||||||
|
| ---------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
|
| 已知技术参数和设计要求 | 设计要求:1.客户端通过 Windows 的命令行访问 FTP 服务器。2.FTP 服务器可以并发地服务多个客户。3.至少实现对 FTP 命令 user、pass、dir、get 的支持。即用户注册、显示服务器端的文件列表、下载文件等。4.FTP 服务器必须对出现的问题或错误做出响应。 |
|
||||||
|
| 设计内容与步骤 | 1. 参考相关的 RFC,熟悉 FTP 规范;2. 学习多线程机制;3. FTP 服务器结构设计;4. FTP 服务器程序设计;5. FTP 服务器程序调试;6. 课程设计任务书。 |
|
||||||
|
| 设计工作计划与进度安排 | 1.Socket 程序设计 4 小时 2.程序调试调试方法 4 小时 3.FTP 规范 4 小时 4.FTP 服务器结构设计 4 小时 5.FTP 服务器程序设计与调试 14 小时 6.课程设计报告 5 小时 |
|
7
pyproject.toml
Normal file
7
pyproject.toml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
[project]
|
||||||
|
name = "cn-design-ftp"
|
||||||
|
version = "0.1.0"
|
||||||
|
description = "Add your description here"
|
||||||
|
readme = "README.md"
|
||||||
|
requires-python = ">=3.13"
|
||||||
|
dependencies = []
|
Loading…
x
Reference in New Issue
Block a user