pycharm使用教程
pycharm进行debug 进行debug前需要设置断点,然后选择debug运行代码。但代码运行到设置了断点的行时,会暂停,并输出相当的信息。
文章图片
- step over 执行完本行代码后准备执行下一行代码,即使本行存在函数
- step into 如果本行存在函数,则进入函数中执行代码(再行数中的代码执行也分step in step over),然后再执行本行。

文章图片
3. step into mycode 效果和step into基本一样,但如果函数来自其他脚本则不进入函数变为step over的效果
4. 修改变量值观察运行,鼠标在varables窗口中欲修改的变量,按f2修改。

文章图片
pycharm使用git 一、pycharm设置使用git和github

文章图片

文章图片

文章图片
二、pycharm中文件颜色区分
新建未add的文件颜色是红色的

文章图片
add之后是绿色的

文章图片
做过修改是蓝色的

文章图片
忽略的文件是灰黄色的

文章图片
三、创建github上仓库
1、先本地创建git仓库

文章图片
会弹窗询问是否在指定目录进行git init操作

文章图片
2、共享仓库至github上

文章图片

文章图片
这样操作过后本地和github上有一对建立关联的代码仓库了
四、提交代码至github
注意一定要设置git 忽略的文件和目录
在git的目录中新建文件.gitignore,在文件中写忽略的文件和目录
MacBook-Pro-8:p2p-tranfser kesheng$ cat .gitignore
.idea/
venv/
ignore/
【pycharm使用教程】
右键目录,先进行再commit提交至本地git仓库

文章图片
需要填写commit message作为变动的注释

文章图片
将本地git仓库push至git hub上

文章图片
选择push到github上的哪个分支,建议dev不要master

文章图片
五、克隆github上代码至本地

文章图片

文章图片
推荐阅读
- 2.6|2.6 Photoshop操作步骤的撤消和重做 [Ps教程]
- 由浅入深理解AOP
- 【译】20个更有效地使用谷歌搜索的技巧
- mybatisplus如何在xml的连表查询中使用queryWrapper
- MybatisPlus|MybatisPlus LambdaQueryWrapper使用int默认值的坑及解决
- MybatisPlus使用queryWrapper如何实现复杂查询
- 漫画初学者如何学习漫画背景的透视画法(这篇教程请收藏好了!)
- iOS中的Block
- Linux下面如何查看tomcat已经使用多少线程
- 使用composer自动加载类文件