Skip to content

iloeng/ReadBooks

Repository files navigation

仓库所有内容

《编程小白的第一本Python入门书》

代码都是在Python3.6运行

《FlaskWeb开发:基于Python的Web应用开发实战》
  1. 基于Flask的Web应用
    修改添加tag的方式
  • Flask 程序的基本结构
|-flasky/
  |-app/
    |-templates/
    |-static/
    |-main/
      |-__init__.py
      |-errors.py
      |-forms.py
      |-views.py
    |-__init__.py
    |-email.py
    |-models.py
  |-migrations/
  |-tests/
    |-__init__.py
    |-test*.py
  |-venv/
  |-requirements.txt
  |-config.py
  |-manage.py
  • 关于Requirement.txt
    用过这个环境做其他项目,所以模块有点多
《Python编程:从入门到实践》
  1. 外星人入侵

    1. 依赖于 Pygame 模块
  2. 数据可视化

    1. Matplotlib模块
      pip install -i https://pypi.douban.com/simple matplotlib
    2. Pygal模块
      pip install -i https://pypi.douban.com/simple pygal
    3. Pygal_maps_world模块
      pip install -i https://pypi.douban.com/simple pygal_maps_world
    4. Requests模块
      pip install -i https://pypi.douban.com/simple requests
  3. Web应用程序

    1. Django模块
      python -m pip install -i https://pypi.douban.com/simple Django
      D:\anaconda3\envs\spider\Scripts\django-admin.exe startproject WebApplication
      D:\anaconda3\envs\spider\python manage.py migrate
      D:\anaconda3\envs\spider\python manage.py runserver
      D:\anaconda3\envs\spider\python manage.py startapp DjangoApplication
      D:\anaconda3\envs\spider\python manage.py makemigrations DjangoApplication
      D:\anaconda3\envs\spider\python manage.py migrate
      1. 创建超级用户
        D:\Projects\MyGitHub\ReadBooks\Python编程:从入门到实践\WebApplication>D:\anaconda3\envs\spider\python manage.py createsuperuser
        Username (leave blank to use 'xxx'): Deteriorator
        Email address: 1930812245@qq.com
        Password:(123456)
        Password (again):
        This password is too short. It must contain at least 8 characters.
        This password is too common.
        This password is entirely numeric.
        Bypass password validation and create user anyway? [y/N]: y
        Superuser created successfully.
书上的Django版本太老了,没有Django基础,新版本不懂如何操作,暂时停止学习Django,先学习Flask。
《C语言程序设计(谭浩强)》
《x86汇编语言.从实模式到保护模式》
《C语言程序开发范例宝典》

About

业余时间看的一些书,尝试写的代码

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published