当前位置:网站首页>【无标题】
【无标题】
2022-07-16 22:33:00 【CodeChark】
一、python配置环境
1.vscode + py解释器
下载python解释器
https://wwn.lanzouh.com/ioMiM03d088d 密码:1234 @零流@火星动力猿 2022.4
安装并勾选添加环境变量

在vscode中下载插件
建立一个独立的文件夹
打开文件夹
设置下面的
很重要
然后创建py文件,按ctrl+f5运行
二、编码问题
1.设置编码utf-8
打开文件,首选项-设置-保存编码
字符串
两个单引号可以做字符串的表示符号
‘这是一个字符串’
“这也是一个字符串”
“”" 这是支持换行书写的字符串 “”" 三个双引号
总结
python是解释语言,根据需要把代码翻译成可执行的一行命令.不是一次性编译
边栏推荐
- 【CANN训练营】基于昇腾CANN平台的AI CPU算子开发
- Canvas countless triangle animation JS special effects
- OpenPose:使用部分亲和场的实时多人 2D 姿势估计
- ES6之箭头函数
- Configuring VIM (4) from scratch -- some skills of keyboard mapping
- With responsible AI | three certificates, aopeng China has also obtained ISO9001 and 27701 certification
- OpenPose:使用部分親和場的實時多人 2D 姿勢估計
- Wechat applet Development Learning 3 (wxss Template and Global configuration)
- 用cmd命令进行磁盘清理(主要是系统盘)
- QT工具——moc、rcc、uic
猜你喜欢

有效降低项目成本,从项目采购管理抓起

PHP uploads Excel files through form forms and imports Excel data into the database

Word2Vec Skip-gram 模型實現

OpenPose:使用部分親和場的實時多人 2D 姿勢估計

WordPress主题分享:The7主题v10.11免费下载 2022年最新版

MySQL---ONE 基础语法

Redis distributed cache - redis master-slave

Wechat applet development learning 2 (template and configuration)

Shell's third day small exercise: access the self built nextcloud network disk service through the self built DNS server

Cookie和Session、JWT的区别
随机推荐
php通过form表单上传Excel文件并把Excel数据导入到数据库中
TCP 糊涂窗口综合症(silly window syndrome)与 rate-based 流控
How does electron package its Kirin system to support godson, fangteng and megacore platforms
Cookie和Session、JWT的区别
WordPress主题分享:The7主题v10.11免费下载 2022年最新版
[JS] webapi --- the first bullet
Redis分布式缓存-数据持久化
Wechat applet development learning 3 (wxss template and global configuration)
【考试】二阶段2201班考试答案(做错一概不负责)
boost.property_tree解析xml的帮助类以及中文解析问题的解决
CodeTON Round 1 (Div. 1 + Div. 2, Rated, Prizes)(A-C)
大雪菜味题解--查找文献
QT tools - MOC, RCC, UIC
Solve the problem of browser strobe after Huawei notebook is installed with driver
云平台简易上手操作
How to solve the problem of "Intel VT-x is disabled" when installing virtual machines
Leetcode-7 integer inversion & leetcode 8 string conversion integer
Shell's third day small exercise: access the self built nextcloud network disk service through the self built DNS server
API design principles from the requirements of compiler for instruction set
面试官:工作两年了,这么简单的算法题你都不会?