Python Notes

来源:互联网 发布:唐山d知美造型 编辑:程序博客网 时间:2024/05/26 12:01

基础

  1. 通过命令行运行Python脚本 python hello.py
  2. 普通程序运行脚本
    #!/usr/bin/env python
    #!/usr/bin/python3
    赋予脚本可执行属性: chmod a+x hello.py

pycharm

  1. file –> settings –> project settings –>project interpreter 这里是PyCharm的的所有已安装插件
    然后点击右面的 绿色“+”号。搜索 Django 安装即可。
    里面基本上包括所有常见模块
0 0
原创粉丝点击