文章分类 -  python之路

学习python的点点滴滴。
摘要:1、使用子函数sub uniq {my %seen;grep !$seen{$_}++, @_;}例子:my @array = qw(one two three two three);my @filtered = uniq(@array);print "@filtered\n"; 2、采用List: 阅读全文
posted @ 2019-08-07 23:09 BinHome 阅读(784) 评论(0) 推荐(0)
摘要:【python全栈开发】初识python 本人最开始接触python是在2011年,写过hello word!学过python简明教程,在此之前常用perl写程序,随着perl的没落,perl的面向对象确实太差。让大多数人不能很好的理解, 加之,perl的自由,随意的个性,代码的阅读实在是不太友好。 阅读全文
posted @ 2017-06-22 17:35 BinHome 阅读(73) 评论(0) 推荐(0)