1、计算机组成结构:CPU、硬盘、内存、输入输出设备、主板、电源。
2、硬件之间的协作关系:是CPU运算完后给操作系统、专业术语叫指令。
3、键盘输入a之后发生的事情:键盘-CPU-操作系统-显卡-显示器
4、什么是编程语言:编程语言是用来定义计算机程序的形式语言。
5、解释型和编译型:解释型是代码一行一行解释、放到内存中由操作系统去分配执行。
编译型是写完代码整篇编译成一个文件(二进制文件),交给CPU直接执行。
肉眼能看到的全部是计算器通过显卡、显示器渲染出的画面。
6、Python安装:引申面试题:你最熟悉的网站是?:https://www.python.org/
下载地址:https://www.python.org/downloads/windows/
win7、win8电脑下载3.5.2之前的、之后的版本操作系统可能不支持。
win10下载3.6.8左右。
Note that Python 3.6.8 cannot be used on Windows XP or earlier--python3.6.8不能在Windows XP或更早版本上使用
Windows x86-64 embeddable zip file--Windows x86-64可嵌入ZIP文件
Windows x86-64 executable installer--可执行的文件
Windows x86-64 web-based installer--基于web的安装程序
i3--双核4线程
i5--四核8线程
i7--八核16线程
i9--十六核32线程
7、安装:勾选Add python 3.5 to PATH、选择自定义安装路径
默认:
勾选所有用户、选择安装位置、点击install
等待中:
安装成功:
测试版本和是否安装成功:win+R+cmd+Python -V
配置环境变量:计算器-属性-高级系统设置-环境变量-path
文件夹选项:显示隐藏文件、隐藏已知文件扩展名
pycharm下载地址:https://www.jetbrains.com/pycharm/download/other.html
选择2017.3或2018.1版本:
安装:
next
修改位置和next
勾选:
install
勾选运行:
选择不导入配置设置文件:
选择不发送体验信息:
注册码激活:
MTW881U3Z5-eyJsaWNlbnNlSWQiOiJNVFc4ODFVM1o1IiwibGljZW5zZWVOYW1lIjoiTnNzIEltIiwiYXNzaWduZWVOYW1lIjoiIiwiYXNzaWduZWVFbWFpbCI6IiIsImxpY2Vuc2VSZXN0cmljdGlvbiI6IkZvciBlZHVjYXRpb25hbCB1c2Ugb25seSIsImNoZWNrQ29uY3VycmVudFVzZSI6ZmFsc2UsInByb2R1Y3RzIjpbeyJjb2RlIjoiSUkiLCJwYWlk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AQAF8uc+YJOHHwOFcPzmbjcxNDuGoOUIP+2h1R75Lecswb7ru2LWWSUMtXVKQzChLNPn/72W0k+oI056tgiwuG7M49LXp4zQVlQnFmWU1wwGvVhq5R63Rpjx1zjGUhcXgayu7+9zMUW596Lbomsg8qVve6euqsrFicYkIIuUu4zYPndJwfe0YkS5nY72SHnNdbPhEnN8wcB2Kz+OIG0lih3yz5EqFhld03bGp222ZQCIghCTVL6QBNadGsiN/lWLl4JdR3lJkZzlpFdiHijoVRdWeSWqM4y0t23c92HXKrgppoSV18XMxrWVdoSM3nuMHwxGhFyde05OdDtLpCv+jlWf5REAHHA201pAU6bJSZINyHDUTB+Beo28rRXSwSh3OUIvYwKNVeoBY+KwOJ7WnuTCUq1meE6GkKc4D/cXmgpOyW/1SmBz3XjVIi/zprZ0zf3qH5mkphtg6ksjKgKjmx1cXfZAAX6wcDBNaCL+Ortep1Dh8xDUbqbBVNBL4jbiL3i3xsfNiyJgaZ5sX7i8tmStEpLbPwvHcByuf59qJhV/bZOl8KqJBETCDJcY6O2aqhTUy+9x93ThKs1GKrRPePrWPluud7ttlgtRveit/pcBrnQcXOl1rHq7ByB8CFAxNotRUYL9IF5n3wJOgkPojMy6jetQA5Ogc8Sm7RG6vg1yow==
选择风格:
安装Markdown开始用pycharm
创建项目:
创建项目并设置Python路径:
给桌面创建我的代码项目:
点击OK
选择第三个System Interpreter-点击OK:
点击create:
取消关闭不要再一次提示:
右键新建Python文件:
输入名字hello-OK:
输入内容-勾选设置分割线-点击运行:
展示工具栏:
设置文件编码--setting-Editor编辑-File Encodings文件编码-
设置背景颜色:Editor编辑-color scheme配色方案:
设置模板Editor编辑-File and code Templates文件和代码模板:
#!/user/bin/python
# -*- coding:utf-8 -*-
鼠标滑动General全体的-勾选change font size(zoom)with Ctrl+mouse wheel:
设置字体大小Editor-Font-size:
激活文件激活:
激活文件:https://pan.baidu.com/s/1TGXjItWRcuS66ShvA4A3hw
修改文件 在 Pycharm安装目录的\bin目录下找到 pycharm.exe.vmoptions 和 pycharm64.exe.vmoptions ,以文本格式打开并同时在两个文件最后追加-javaagent:C:\Program Files\JetBrains\PyCharm 2018.2\bin\JetbrainsCrack-2.10-release-enc.jar或-javaagent:C:\pycharm2018.1\PyCharm 2018.1.6\bin\JetbrainsCrack-2.10-release-enc.jar或-javaagent:C:\pycharm2017.3\PyCharm 2017.3.7\bin\JetbrainsCrack-2.10-release-enc.jar
激活码:
ThisCrackLicenseId-{
"licenseId":"11011",
"licenseeName":"nic",
"assigneeName":"ymxowgk",
"assigneeEmail":"https://blog.csdn.net/qq_35428201",
"licenseRestriction":"",
"checkConcurrentUse":false,
"products":[
{"code":"II","paidUpTo":"2099-12-31"},
{"code":"DM","paidUpTo":"2099-12-31"},
{"code":"AC","paidUpTo":"2099-12-31"},
{"code":"RS0","paidUpTo":"2099-12-31"},
{"code":"WS","paidUpTo":"2099-12-31"},
{"code":"DPN","paidUpTo":"2099-12-31"},
{"code":"RC","paidUpTo":"2099-12-31"},
{"code":"PS","paidUpTo":"2099-12-31"},
{"code":"DC","paidUpTo":"2099-12-31"},
{"code":"RM","paidUpTo":"2099-12-31"},
{"code":"CL","paidUpTo":"2099-12-31"},
{"code":"PC","paidUpTo":"2099-12-31"}
],
"hash":"2911276/0",
"gracePeriodDays":7,
"autoProlongated":false}
git注册地址:https://gitee.com/signup
注册用户名:姓名/邮箱地址/手机号
密码:包含数字字母和特殊符号例如@
删除仓库:
输入密码:
删除组织:
创建组织:
添加成员:
复制链接:
创建仓库:
Git安装:
选择盘符:
安装中:
去掉对勾点击finish完成:
右键-Git Bush Here:
git init命令--git 初始化:
Initialized empty Git repository in C:/我的代码/.git/--已初始化空Git存储库在C盘我的代码.git文件夹里面
git config --global user.name "张达"--git配置全局用户名是张达:
git config --global user.email "1320685524@qq.com"--git 配置全局用户的邮箱地址:
git add .--添加文件到git隐藏仓库中:
warning: LF will be replaced by CRLF in .idea/misc.xml.--警告:if 将替换为crlf in.idea/misc.xml
The file will have its original line endings in your working directory--文件的原始行尾将位于工作目录中
git commit -m "first commit 第一次提交"--git commit提交 m是master简称 first commit第一次提交
create mode 100644 .idea/misc.xml--创建模式:
git remote add origin https://gitee.com/learning_python_1/1909193001.git:--git remote远程 add添加 origin源头是https://gitee.com/learning_python_1/1909193001.git
git push -u origin master--git push上传 origin源头 管理(把文件夹代码上传远程仓库):
Enumerating objects : 18,done--枚举对象 18 完成
Branch 'master' set up to track remote branch 'master' from 'origin'--分支“master”设置为从“origin”跟踪远程分支“master”。
上传后显示的地方:
git密码错误修改的地方:
git冲突解决办法:
原因:例如把远程代码删除:
on branch master--在分支机上:
nothing to commit,working tree clean--没有提交,工作清理
git pull origin master--拉下远程提交的文件:
输入冒号:
再次提交git push origin master--
提交作业:
打开链接:
附加评论加链接:
processon注册:https://processon.com/signup
排BUG技巧:
安装python3.6.6报错:
解决办法1:卸载安装
解决办法2:geek万能卸载
解决办法3:腾讯管家软件管理卸载
解决办法4:安装时选择兼容性疑难解答--启动程序
解决办法5:删除注册表--开始-运行-regedit
解决办法6: