所谓拳不离手,曲不离口
cn·@oflyhigh·
0.000 HBD所谓拳不离手,曲不离口
最近一直忙一些乱七八糟的事情,很久没有写代码了。昨天帮朋友实现一个小功能,用Python实现,发现自己一些最基本的操作都不会了。  (图源 :[pixabay](https://pixabay.com/)) 比如说Python如何循环操作一个列表中的内容,是用`foreach` 还是`for` 循环,又比如Python中的时间日期怎么操作,比如说如何计算两个时间的差值等等。 好不容易查手册搞定了这些问题,但是在写一段计数代码,程序又出错了,`cnt++`为啥就不对呢?研究了好一阵才发现这种写法是不支持的,改成`cnt+=1`就好啦。 至于涉及到STEEM相关的内容,我又是一通查STEEM的开发资料,以及参考我以前的各种代码,总算不辜负朋友的期望,总算实现了这个小功能。 尽管最终达成了目标,但是对这效率我是不太满意的,其实一点难点都没有,主要时间就浪费在查手册看一些基本的语法和操作了。 由此可见,`拳不离手,曲不离口`又多么重要,才一段时间不接触,就忘掉了怎么弄,以往这些语法什么的东西尽管不能说是滚瓜烂熟,但是至少拿起来就能写啊。  (图源 :[pixabay](https://pixabay.com/)) 当然,其实还有一大部分因素是自己年纪大了,记忆力不佳。所以年轻人们啊,努力要趁早啊,到我这年纪,吃喝玩乐还行,不服老不行呀。 ---- <center><strong>Vote For Me As Witness</strong> https://steemit.com/~witnesses type in **`oflyhigh`** and click ***`VOTE`*** [](https://steemit.com/~witnesses) [Vote @oflyhigh via Steemconnect](https://steemconnect.com/sign/account-witness-vote?witness=oflyhigh&approve=1) <strong>Thank you!</strong></center>
👍 ethanlee, eval, liangfengyouren, money-way, hungryharish, steemindian, blues-wclouds, hungryanu, simplyawesome, auntigormint, oldman28, ms8988, lemminon, aafeng, crypto.income, xiguang, gerber, daan, accelerator, cadawg, bozz, bestboom, triptolemus, bobby.madagascar, steem.leo, leo.voter, techken, laissez-faire, maxuva, maxuvc, maxuvd, maxuve, catwomanteresa, girolamomarotta, sudefteri, teresa.yaiyai, neokuduk, maxer27, anech512, rocky1, happy-soul, travelgirl, nuagnorab, kimzwarch, therising, passion-fruit, quiltedduckfarm, davidke20, namchau, blacklux, bichen, rj-photo, voxmortis, lovelemon, exec, xiaohui, alexis555, cnbuddy, devilwsy, blackbunny, jesus.christ, steemstatistics, lingfei, minloulou, cnbuddy-reward, yulan, thecryptodrive, lalala, janiceting, newhope, joythewanderer, midnightoil, htliao, maiyude, casberp, hmayak, abcallen, yyyy, etherpunk, moneybaby, robertoueti, ooairbb, mynotsofitlife, chinadaily, xiaokongcom, somebody, oflyhigh, laoyao, ikonik, deanliu, technologynepal, winniex, helene, fortune-master, ethansteem, rea, jamzmie, kamikaze, megadrive, windowglass, kpopprincess, soloduet, steemprotect, floatinglin, primeradue, ralph-rennoldson, chocolatelover, wylo, yjcps, axeminni, tvb, yestermorrow, hyborian-strain, canbethisone, skenan, cryptohustler, aabb, huatanzhang, rivalhw, cn-reader, mia-cc, chrono.leo, bboyady, abetterworld, sweethoney, sanzo, chenlocus, khalilad, rebecca80, weavingwords, freedom-fighter, heyeshuang, razor80, fastiduos, lkvictor2005, silentlucidity53, raku, mrliga, bearpaw, stakuza, chann, khayziljoy, alijewel, coindzs, cryptoknight27, speeding, wenjiewu, ffcrossculture, blockchainbilly, kingofdew, jkkim, dobartim, suhunter, austinsandersco, ebejammin, vfxness, jiangchen, dgorbunov, teachblogger, fredo77200, historylover, fanso, resteeming, davaowhenyo, walkinharmony, asterix87, allenshayzar, that1consultant, ravenousappetite, frankintaiwan, lancy, nitro.live, btccurrency1, andrewma, taylor.swift, xiaoshancun, hqy, idx, abit, ace108, sweetsssj, alex2016, cnstm, likuang007, lianjingmedia, cnbuddy-cnstm, zerofive, wherein, starrouge, trandberg, lnakuma,