提示符是怎么来的_[词根溯源]prompt_input_输入函数_提示符 回忆上次内容
-
上次讲的是
-
从键盘输入变量的值
-
input 函数
-
可以 接收到 输入字符串
-
存在 变量里

添加图片注释,不超过 140 字(可选)
-
input函数的参数
-
叫prompt
-
在哪里见过呢?
提示词
-
prompt就是提示词
-
文生图、文生视频 靠的都是
-
提示词

添加图片注释,不超过 140 字(可选)
-
提示词
-
已经成为了一门工程
-
提示词工程
-
prompt engineer
回到python
-
input函数括号里面
-
可以放 字符串参数prompt
-
作为 提示信息

添加图片注释,不超过 140 字(可选)
添加输入提示 name = input("what is your name:")
-
input函数的 参数就是
-
输入提示符
-
prompt

添加图片注释,不超过 140 字(可选)
-
参数 prompt
-
作为 提示字符串
-
输出到了 屏幕

添加图片注释,不超过 140 字(可选)
- 然后等待输入
中断输入

添加图片注释,不超过 140 字(可选)
-
输入过程中
-
如果 点击 Ctrl + d
-
mac 点击command + d

添加图片注释,不超过 140 字(可选)
-
出现EOFError
-
这 EOFError 什么意思?
eof

添加图片注释,不超过 140 字(可选)
-
eof指的是
-
文件读取没有完成
-
被强行终止了
-
prompt 这词
-
怎么来的呢?
prompt
-
prompt
-
pro 往前
-
mpt 拿
-
往前拿
-
推动进度

添加图片注释,不超过 140 字(可选)
-
把演员戏份往前推进
-
提词器
-
提示、提醒、鼓励他往下说
-
导致 对方 迅速、及时地 行动
提示词
-
终端里面的prompt
-
提示着
-
登录名
-
所在路径

添加图片注释,不超过 140 字(可选)
-
ai中的prompt
-
提示着 我们要生成的内容

添加图片注释,不超过 140 字(可选)
-
和prompt 类似的单词还有一些
-
我们一并记下
exempt
-
exempt
-
/ɪɡˈzɛm(p)t/
-
ex 往外
-
empt 拿
-
往外拿

添加图片注释,不超过 140 字(可选)
-
豁免、赦免、排除
-
免税、免除兵役
empty
-
empty
-
e(x) 向外
-
mpt 拿
-
向外拿后的状态

添加图片注释,不超过 140 字(可选)
- 空的
redeem
-
redeem
-
/rɪˈdiːm/
-
re 重新
-
de 向下(地狱)
-
em 拿
-
从地狱里拿回来
-
拯救

添加图片注释,不超过 140 字(可选)
-
redemption
-
救赎
总结
-
这次讲的是
-
input 函数 的参数
-
prompt
-
提示词

添加图片注释,不超过 140 字(可选)
-
我想写一个程序
-
输入名字
-
然后对他说hello
-
并欢迎

添加图片注释,不超过 140 字(可选)
-
具体怎么写呢?🤔
-
我们下次再说!👋
-
github->https://github.com/overmind1980/oeasy-python-tutorial
-
gitee->oeasy教您玩转python教程: 面向零基础初学者的简明易懂的 Python3 入门课程,对没有编程经验的同学也非常友好。在vim下从浅入深,逐步学习。从基础入门学习到爬虫。
062_提示符是怎么来的_[词根溯源]prompt_input_输入函数_提示符0 播放 · 0 赞同视频
