[DA series - Learn Python with Steem #01] 的课后练习~✨

in #cn6 years ago (edited)

就像我之前在此系列欢迎篇中回复的一样,我真的有想学,虽然就开了个头,真的是开了个头,我装了Python的3.6并且在vsCode中安装了Python的扩展和设置了解释器。出于习惯的写了一句"Hello World",当初运行了下,然后就没有然后了……忙其他的事情就搁置了!

Photo by Max Nelson on unsplash

看到@deanliu要出Python的系列教程,我很开心,因为上述的一堆我看着英文版的help弄得,真得进度有点慢,很头大,所以之后有点望而却步!但是第一课出来后我有点懵,我去,才几个月就已经3.7了,这货要怎么更新?我同时也不想装新得编译器(公司电脑很渣,能复用就复用吧!)
我搜索了一圈没看到有更新得方法,无奈下乖乖装了3.7,之后问题接踵而至!

就像我刚才所说,我之前做了很多和vsCode配置得事宜,但是做完我就忘记了,我真得不记这些!
又跑去找help,从Visual Studio代碼中的Python开始一层层往下看。
同时我顺着运行了下我之前得“Hello World”。

同时我发现编译好像用得还是3.6得,也就是不会默认到最新3.7,因为没有系统得学习,当时是瞎折腾得,撞到哪里是哪里,撞对了就开心下得节奏,所以继续找当初得设置。找到了配置Python環境,想偷懒,然后就手動指定解釋器的方法。
TIM截图20180726150954.png
然后提示我Linter pylint 没有安装,虽然我不知道这是什么,但是肯定要装啊,点了后就出现一个错误提示,没有安装成!
没有在意的我重新运行了下“Hello Word”,发现已经修改了编译器。

准备美滋滋来写文了,但是中途还是很纠结刚才那个错误提示!写文的途中我就去重温了一遍。
那个错误估计是我手动制定解释器的问题,所以我尝试了命令選項板調用Python:Select Interpreter命令,之后同样是提示要安装。

死马当活马医,点了安装后居然不是错误提示啦!!!

当我码完以上内容时,它也安装完了,应该算是布置好了吧,纯粹瞎折腾,不知道其中有没有给自己挖坑,希望有懂得高手快来告诉我哪里有坑,我好去埋了!谢谢~希望老师来答复~@antonsteemit


Thank you for reading. ヾ( ̄▽ ̄) See ya.
以上内容和照片未经授权请勿擅自转载,谢谢~

Sort:  

神龙 Tipuvote! 0.2 SBD 给黄师傅

谢谢拉仔!

This post received 0.27 SBD upvote from @tipU funded by @davidke20 | Today @shine.wong has a chance to win free @steembasicincome share :) | How to receive upvotes | For investors.

Congratulations! This post has been upvoted from the communal account, @minnowsupport, by Shine from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, theprophet0, someguy123, neoxian, followbtcnews, and netuoso. The goal is to help Steemit grow by supporting Minnows. Please find us at the Peace, Abundance, and Liberty Network (PALnet) Discord Channel. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.

If you would like to delegate to the Minnow Support Project you can do so by clicking on the following links: 50SP, 100SP, 250SP, 500SP, 1000SP, 5000SP.
Be sure to leave at least 50SP undelegated on your account.

You just planted 0.16 tree(s)!


Thanks to @shine.wong

We have planted already 3906.55 trees
out of 1,000,000


Let's save and restore Abongphen Highland Forest
in Cameroonian village Kedjom-Keku!
Plant trees with @treeplanter and get paid for it!
My Steem Power = 19212.44
Thanks a lot!
@martin.mikes coordinator of @kedjom-keku
treeplantermessage_ok.png

Coin Marketplace

STEEM 0.28
TRX 0.12
JST 0.033
BTC 61519.90
ETH 2995.96
USDT 1.00
SBD 3.45