# Python_final project **Repository Path**: ZhengFenglin/python_final-project ## Basic Information - **Project Name**: Python_final project - **Description**: No description available - **Primary Language**: Python - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-01-24 - **Last Updated**: 2021-01-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # [S&R](http://ffforestzz.pythonanywhere.com/) ## 一. 项目名称:S&R (Share and Record) #### 项目意义 - 基本价值主张 「让人们更好地分享知识、经验和见解,找到属于自己的解答」S&R是一个专注于“分享与记录”的网站,它的受众群体较多偏向于对知识、经验有强烈“探知欲”的青年群体。网站上分享的内容涉及多个方面、多个角度,供受众浏览。此外,S&R也有独特的记录功能,可称S&R专属记录本,用户可记录浏览文章时有感触的词语或句子到个人记录本内,同时备注功能的加入更可记录当时的内心感受,用文字记录心境,找到属于自己的“答案”。 - 网站功能流程图 ![整体流程图](https://gitee.com/ZhengFenglin/python_final-project/raw/master/img/Website%20Function%20Flow%20Chart.png) ## 二、问题表述 #### 1.解决的问题 - S&R是一个文章分享与个人记录的网站。它解决的问题是:用户在浏览相关文章时不能同时将喜欢内容线上记录的问题。 - 用户画像 ![用户画像](https://gitee.com/ZhengFenglin/python_final-project/raw/master/img/user%20portrait.jpg) - 用户需求 1. 使用场景 对于文字、话题有强烈的“探知欲”,但无法在百度或其他地方找到心满意足的答案。 2. 解决的用户痛点 - 百度上的文章与对问题的讨论含有太多的广告 - 记录与浏览常常分开,且记录内容容易因切换设备等因素消失 3. 用户增长点 - 可以从中浏览质量较高、广告较少、回答较靠谱的文章。 - 可以从文字上知道他人的想法、知识、经验,结合自身的实际情况得出属于自己的答案。 - 记录功能中的“备注功能”可用文字记录下浏览并喜爱文字或回答的心境 ## 三、解决方案表述 #### 1.整体项目规划 - 关于项目的构思,我从自身的经历出发,思考我在生活中喜欢使用的APP,以及在使用过程中遇到的某些问题。我喜欢刷小红书与知乎,更喜欢浏览“文字”板块,许多短句我都特别喜欢,经常会点击“小爱心”收藏,但很多我喜欢的文字最后都在收藏夹里面“吃灰”了,再点开收藏夹的时候已经忘记看这些文字时候的心境了。此外,我也经常使用微信读书,其中的“书签”功能深得我心,看到有感触的句子就划线并且写下感触。因此,我有了S&R网站的萌芽在我心中种下 - 对于功能的选择,因个人能力有限且接触Python课程的时间只有短短的一学期,构建一个强大的网站不太现实,具体的功能只能通过自身对Python课程的学习与理解,通过与好友的交流选择可行的功能,继而选择适合构思的模板进行修改与填充。 #### 2.运用到的基本知识点 |功能|对应知识点| |----|----| |随机生成鼓励语|random模块、列表| |注册|with open()函数:信息的录入| |登录|with open()函数:信息的读取、if条件语法| |保持登录状态|参数的相互传递| |记录本|with open()函数:信息的录入及读取、if条件语法| |查看记录内容/记录本|with open()函数:信息的读取;split()函数、列表的位置| ## 三、编程功能基本描述 #### 1.具体实践思路 ![具体思路](https://gitee.com/ZhengFenglin/python_final-project/raw/master/img/Specific%20practical%20ideas.png) #### 2.知识点比例结构 |知识点|所占比例|所属类型| |----|----|----| |random模块|5%|编程思维 |列表|10%|编程思维 |if条件语法|20%|编程思维 |with open()函数|20%|编程思维 |split()函数|5%|编程思维 |参数传递|10%|编程思维 |文本处理|10%|人文知识、编程思维 |逻辑思考|5%|人文知识 |用户分析|10%|人文知识(商业模式) |云端部署|5%|编程思维 ## 四、云端项目部署的基本描述 #### 1.Pythonanywhere页面链接(所使用用户名为Forest,密码为123456) - [index页](http://ffforestzz.pythonanywhere.com/) ![index](https://gitee.com/ZhengFenglin/python_final-project/raw/master/img/index%20page.png) - [welcome页](http://ffforestzz.pythonanywhere.com/Welcome) ![welcome](https://gitee.com/ZhengFenglin/python_final-project/raw/master/img/Welcome%20page.png) - [注册页面](http://ffforestzz.pythonanywhere.com/Signup?) ![注册](https://gitee.com/ZhengFenglin/python_final-project/raw/master/img/registration%20page.png) - [登录页面](http://ffforestzz.pythonanywhere.com/logging?) ![登录](https://gitee.com/ZhengFenglin/python_final-project/raw/master/img/login%20page.png) - [主页](http://ffforestzz.pythonanywhere.com/Home?username=Forest) ![Home](https://gitee.com/ZhengFenglin/python_final-project/raw/master/img/Home.png) - [Recommend](http://ffforestzz.pythonanywhere.com/Recommend?username=Forest) ![Recommend](https://gitee.com/ZhengFenglin/python_final-project/raw/master/img/Recommend.png) - [Recommend文章](http://ffforestzz.pythonanywhere.com/Recommend-passage?username=Forest) ![Recommend文章](https://gitee.com/ZhengFenglin/python_final-project/raw/master/img/Recommend%20article.png) - [Newest](http://ffforestzz.pythonanywhere.com/Newest?username=Forest) ![Newest](https://gitee.com/ZhengFenglin/python_final-project/raw/master/img/Newest.png) - [Newest文章](http://ffforestzz.pythonanywhere.com/Newest-passage?username=Forest) ![Newest文章](https://gitee.com/ZhengFenglin/python_final-project/raw/master/img/Newest%20article.png) - [记录本功能选择页面](http://ffforestzz.pythonanywhere.com/notebook-choice?username=Forest) ![功能选择](https://gitee.com/ZhengFenglin/python_final-project/raw/master/img/Record%20book%20function%20selection%20interface.png) - [添加记录内容页面](http://ffforestzz.pythonanywhere.com/content-record?username=Forest) ![添加记录内容](https://gitee.com/ZhengFenglin/python_final-project/raw/master/img/Add%20the%20record%20content%20page.png) - [Highpraise](http://ffforestzz.pythonanywhere.com/Highpraise?username=Forest) ![Highpraise](https://gitee.com/ZhengFenglin/python_final-project/raw/master/img/High-praise.png) - [Highpraise文章](http://ffforestzz.pythonanywhere.com/Highpraise-passage?username=Forest) ![Highpraise文章](https://gitee.com/ZhengFenglin/python_final-project/raw/master/img/High-praise%20article.png) - [日志系统](http://ffforestzz.pythonanywhere.com/Log?username=Forest) ![Log](https://gitee.com/ZhengFenglin/python_final-project/raw/master/img/log%20system.png) ## 五、实践心得总结及感谢 - “不断出bug,不断找bug,不断修bug”,是对本次项目的最深刻体会,也是我对这个过程的小总结。尽管完成本次项目花费的时间较长、耗费的精力较大,但当页面成功呈现出来还是觉得努力没有白费,成就感UPUPUP!。 - 此外,完成项目依靠我们现有的编程知识和能力是远远不够的,还需要不断地吸收其他新知识(找度娘andB站!)。 - 感谢许智超老师的辛勤付出,respect! - 感谢莞城WING姐的悉心教学,salute! - 感谢[CSDN专业开发者社区](https://www.csdn.net/) - 感谢[哔哩哔哩教学视频](https://www.bilibili.com/video/BV1K4411j7Dp?from=search&seid=3694432652021026742) - 感谢[process on](https://www.processon.com/) - 感谢[bootstrap](https://www.bootcss.com/) - 感谢[bootstrap模板库](http://www.bootstrapmb.com/) ## 六、参考的部分资源如下 - [Python flask web搭建](https://blog.csdn.net/sinat_38682860/article/details/82354342?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522161144111116780255267103%2522%252C%2522scm%2522%253A%252220140713.130102334..%2522%257D&request_id=161144111116780255267103&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~all~sobaiduend~default-4-82354342.pc_search_result_no_baidu_js&utm_term=Pythonflask&spm=1018.2226.3001.4187) - [Pythonanywhere部署参考](https://www.bilibili.com/video/BV127411c7qt?from=search&seid=9138158936230009057) - [random库使用](https://www.jianshu.com/p/8799671d5858) - [Python继承的理解](https://blog.csdn.net/qq_33706146/article/details/85327246?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522161144127616780274188177%2522%252C%2522scm%2522%253A%252220140713.130102334..%2522%257D&request_id=161144127616780274188177&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~all~sobaiduend~default-2-85327246.pc_search_result_no_baidu_js&utm_term=python%E7%BB%A7%E6%89%BF&spm=1018.2226.3001.4187) - [python后端开发_前端(html)向后端(python)传递数据_GET_POST](https://blog.csdn.net/bjbz_cxy/article/details/79358718?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522161144134916780269895675%2522%252C%2522scm%2522%253A%252220140713.130102334..%2522%257D&request_id=161144134916780269895675&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~all~sobaiduend~default-2-79358718.pc_search_result_no_baidu_js&utm_term=pythonhtml%E4%BC%A0%E9%80%92%E5%8F%82%E6%95%B0&spm=1018.2226.3001.4187) - [python flask html互相传递参数](https://junchu.blog.csdn.net/article/details/90405978?ops_request_misc=&request_id=&biz_id=102&utm_term=pythonhtml%E4%BC%A0%E9%80%92%E5%8F%82%E6%95%B0&utm_medium=distribute.pc_search_result.none-task-blog-2~all~sobaiduweb~default-0-90405978.pc_search_result_no_baidu_js&spm=1018.2226.3001.4187) --- 独特有效外连URL:25个