{"id":256,"date":"2018-03-08T15:06:08","date_gmt":"2018-03-08T13:06:08","guid":{"rendered":"http:\/\/users.sch.gr\/chatzipap\/?p=256"},"modified":"2018-03-26T22:17:26","modified_gmt":"2018-03-26T20:17:26","slug":"code_reuse_modules","status":"publish","type":"post","link":"http:\/\/users.sch.gr\/chatzipap\/code_reuse_modules\/","title":{"rendered":"Code ReUse 2 &#8211; Modules"},"content":{"rendered":"<p style=\"text-align: justify;\">\u0394\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03ae\u03c3\u03b1\u03bc\u03b5 \u03c4\u03b9\u03c2 \u03c3\u03c5\u03bd\u03b1\u03c1\u03c4\u03ae\u03c3\u03b5\u03b9\u03c2 \u03bc\u03b1\u03c2 \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03c4\u03b9\u03c2\u00a0\u03ba\u03b1\u03bb\u03ad\u03c3\u03bf\u03c5\u03bc\u03b5\u00a0\u03b1\u03c1\u03ba\u03b5\u03c4\u03ad\u03c2 \u03c6\u03bf\u03c1\u03ad\u03c2 \u03c3\u03c4\u03bf \u03c0\u03c1\u03cc\u03b3\u03c1\u03b1\u03bc\u03bc\u03ac \u03bc\u03b1\u03c2. \u039c\u03c0\u03bf\u03c1\u03bf\u03cd\u03bc\u03b5 \u03cc\u03bc\u03c9\u03c2 \u03b1\u03c6\u03bf\u03cd \u03c4\u03b9\u03c2 \u03c6\u03c4\u03b9\u03ac\u03be\u03bf\u03c5\u03bc\u03b5 \u03c3\u03c4\u03bf\u00a0\u03c4\u03c1\u03ad\u03c7\u03bf\u03bd \u03c3\u03b5\u03bd\u03ac\u03c1\u03b9\u03cc \u03bc\u03b1\u03c2\u00a0\u03bd\u03b1 \u03c4\u03b9\u03c2 \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03bf\u03c5\u03bc\u03b5\u00a0\u03b5\u03ba\u03c4\u03cc\u03c2 \u03b1\u03c0\u03cc \u03b1\u03c5\u03c4\u03cc \u03ba\u03b1\u03b9 \u03c3\u03b5 \u03ac\u03bb\u03bb\u03b1 \u03c0\u03c1\u03bf\u03b3\u03c1\u03ac\u03bc\u03bc\u03b1\u03c4\u03b1 \u03ba\u03b1\u03b9 \u03c0\u03ce\u03c2 ??<!--more--> \u038c\u03c0\u03c9\u03c2 \u03ad\u03c7\u03bf\u03c5\u03bc\u03b5 \u03b4\u03b5\u03b9, \u03c0\u03bf\u03bb\u03bb\u03ac \u03c0\u03c1\u03ac\u03b3\u03bc\u03b1\u03c4\u03b1 \u03c3\u03c4\u03b7 \u03b3\u03bb\u03ce\u03c3\u03c3\u03b1 \u03b1\u03c5\u03c4\u03ae (\u03a0\u03ac\u03ca\u03b8\u03bf\u03bd),\u00a0 \u03b4\u03b5\u03bd \u03b3\u03af\u03bd\u03bf\u03bd\u03c4\u03b1\u03b9 \u03bc\u03b5 \u03ad\u03bd\u03b1 \u03ba\u03b1\u03b9 \u03bc\u03cc\u03bd\u03bf \u03c4\u03c1\u03cc\u03c0\u03bf \u03ad\u03c4\u03c3\u03b9 \u03ba\u03b1\u03b9 \u03b1\u03c5\u03c4\u03cc. \u0395\u03b4\u03ce\u00a0\u03b8\u03b1 \u03b4\u03bf\u03cd\u03bc\u03b5 \u03c4\u03b1 \u03b1\u03c1\u03b8\u03c1\u03ce\u03bc\u03b1\u03c4\u03b1 \u03bb\u03bf\u03b3\u03b9\u03c3\u03bc\u03b9\u03ba\u03bf\u03cd (modules).<\/p>\n<h3>\u039c\u03ad\u03c1\u03bf\u03c2 2\u03bf &#8211; Modules<\/h3>\n<p style=\"text-align: justify;\">\u0391\u03c2 \u03c6\u03c4\u03b9\u03ac\u03be\u03bf\u03c5\u03bc\u03b5 \u03b3\u03b9\u03b1 \u03c4\u03b9\u03c2 \u03b1\u03bd\u03ac\u03b3\u03ba\u03b5\u03c2 \u03bc\u03b1\u03c2 \u03bb\u03bf\u03b9\u03c0\u03cc\u03bd \u03ad\u03bd\u03b1 \u03b1\u03c1\u03c7\u03b5\u03af\u03bf \u03c4\u03bf \u03bf\u03c0\u03bf\u03af\u03bf \u03ad\u03c7\u03b5\u03b9 \u03b4\u03cd\u03bf \u03c3\u03c5\u03bd\u03b1\u03c1\u03c4\u03ae\u03c3\u03b5\u03b9\u03c2:<\/p>\n<ul>\n<li style=\"text-align: justify;\">\u03c4\u03b7\u03bd <strong>unique<\/strong> \u03b7 \u03bf\u03c0\u03bf\u03af\u03b1 \u03b4\u03ad\u03c7\u03b5\u03c4\u03b1\u03b9 \u03c9\u03c2 \u03c0\u03b1\u03c1\u03ac\u03bc\u03b5\u03c4\u03c1\u03bf \u03bc\u03af\u03b1 \u03bb\u03af\u03c3\u03c4\u03b1 \u03ba\u03b1\u03b9 \u03b5\u03c0\u03b9\u03c3\u03c4\u03c1\u03ad\u03c6\u03b5\u03b9 \u03bc\u03af\u03b1 \u03bd\u03ad\u03b1\u00a0\u03b7 \u03bf\u03c0\u03bf\u03af\u03b1 \u03c0\u03b5\u03c1\u03b9\u03ad\u03c7\u03b5\u03b9 \u03ba\u03ac\u03b8\u03b5 \u03c3\u03c4\u03bf\u03b9\u03c7\u03b5\u03af\u03bf \u03c4\u03b7\u03c2 \u03c0\u03c1\u03ce\u03c4\u03b7\u03c2 \u03bb\u03af\u03c3\u03c4\u03b1\u03c2 \u03b1\u03c0\u03cc \u03bc\u03af\u03b1 \u03c6\u03bf\u03c1\u03ac \u03bc\u03b5 \u03c4\u03b7\u03bd \u03af\u03b4\u03b9\u03b1 \u03c3\u03b5\u03b9\u03c1\u03ac \u03b5\u03bc\u03c6\u03ac\u03bd\u03b9\u03c3\u03b7\u03c2.<\/li>\n<\/ul>\n<pre class=\"lang:python decode:true \" title=\"\u03a3\u03c5\u03bd\u03ac\u03c1\u03c4\u03b7\u03c3\u03b7 unique\">#\r\n#\r\ndef unique(a_list):\r\n    new_list = []\r\n    for item in a_list:\r\n        if item not in new_list:\r\n            new_list.append(item)\r\n    return new_list\r\n&gt;&gt;&gt; unique([1,2,3,4,5,1,2,3,4,5,1,2,3,1,2,3,4,5,9])\r\n[1, 2, 3, 4, 5, 9]<\/pre>\n<ul>\n<li style=\"text-align: justify;\">\u03ba\u03b1\u03b9 \u03b1\u03c5\u03c4\u03ae \u03c0\u03bf\u03c5 \u03c6\u03c4\u03b9\u03ac\u03be\u03b1\u03bc\u03b5 \u03c3\u03b5 \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf \u03ac\u03c1\u03b8\u03c1\u03bf \u03c4\u03b7\u03bd <strong>pop_all,\u00a0<\/strong>\u03b7 \u03bf\u03c0\u03bf\u03af\u03b1 \u03b4\u03ad\u03c7\u03b5\u03c4\u03b1\u03b9 \u03c9\u03c2 \u03c0\u03b1\u03c1\u03b1\u03bc\u03ad\u03c4\u03c1\u03bf\u03c5\u03c2 \u03bc\u03af\u03b1 \u03bb\u03af\u03c3\u03c4\u03b1 \u03ba\u03b1\u03b9 \u03ad\u03bd\u03b1 \u03c3\u03c4\u03bf\u03b9\u03c7\u03b5\u03af\u03bf \u03ba\u03b1\u03b9 \u03b4\u03b9\u03b1\u03b3\u03c1\u03ac\u03c6\u03b5\u03b9 \u03c4\u03bf \u03c3\u03c4\u03bf\u03b9\u03c7\u03b5\u03af\u03bf \u03b1\u03c0\u03cc \u03cc\u03bb\u03b5\u03c2 \u03c4\u03b9\u03c2 \u03b8\u03ad\u03c3\u03b5\u03b9\u03c2 \u03c4\u03b7\u03c2 \u03bb\u03af\u03c3\u03c4\u03b1\u03c2.<\/li>\n<\/ul>\n<pre class=\"lang:python decode:true \" title=\"\u03a3\u03c5\u03bd\u03ac\u03c1\u03c4\u03b7\u03c3\u03b7 pop_all\">#\r\n#\r\ndef pop_all(item, a_list):\r\n    '''\u0397 \u03a3\u03c5\u03bd\u03ac\u03c1\u03c4\u03b7\u03c3\u03b7 \u03b4\u03b9\u03b1\u03b3\u03c1\u03ac\u03c6\u03b5\u03b9 \u03c4\u03b1 \u03c3\u03c4\u03bf\u03b9\u03c7\u03b5\u03af\u03b1\r\n    item \u03b1\u03c0\u03cc \u03c4\u03b7 \u03bb\u03af\u03c3\u03c4\u03b1 a_list'''\r\n    i = 0\r\n    while i &lt;= len(a_list)-1:\r\n        if item == a_list[i]:\r\n            a_list.pop(i)\r\n        else:\r\n            i += 1\r\n    return a_list<\/pre>\n<p style=\"text-align: justify;\">\u03c4\u03b9\u03c2 \u03bf\u03c0\u03bf\u03af\u03b5\u03c2 \u03ba\u03b1\u03b9 \u03b5\u03c6\u03b1\u03c1\u03bc\u03cc\u03b6\u03bf\u03c5\u03bc\u03b5 \u03b5\u03bd\u03c4\u03cc\u03c2 \u03c4\u03bf\u03c5 \u03c0\u03c1\u03bf\u03b3\u03c1\u03ac\u03bc\u03bc\u03b1\u03c4\u03bf\u03c2 \u03c3\u03b5 \u03bc\u03af\u03b1 \u03bb\u03af\u03c3\u03c4\u03b1 \u03b1\u03ba\u03b5\u03c1\u03b1\u03af\u03c9\u03bd \u03bc\u03b5 \u03c4\u03b7 \u03b2\u03bf\u03ae\u03b8\u03b5\u03b9\u03b1 \u03bc\u03af\u03b1\u03c2 \u03bd\u03ad\u03b1 \u03c3\u03c5\u03bd\u03ac\u03c1\u03c4\u03b7\u03c3\u03b7\u03c2 \u03c4\u03b7\u03c2 <strong>main<\/strong>. \u03a3\u03c4\u03bf \u03c4\u03ad\u03bb\u03bf\u03c2 \u03b5\u03ac\u03bd \u03b5\u03c0\u03b9\u03b8\u03c5\u03bc\u03bf\u03cd\u03bc\u03b5 \u03bd\u03b1 \u03c4\u03b9\u03c2 \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03bf\u03c5\u03bc\u03b5 \u03ba\u03b1\u03b9 \u03c3\u03b5 \u03ac\u03bb\u03bb\u03b1 \u03c3\u03b5\u03bd\u03ac\u03c1\u03b9\u03b1 \u03ba\u03bb\u03b5\u03af\u03bd\u03bf\u03c5\u03bc\u03b5 \u03bc\u03b5 \u03c4\u03b7 &#8220;\u03bc\u03b1\u03b3\u03b9\u03ba\u03ae \u03b5\u03bd\u03c4\u03bf\u03bb\u03ae<\/p>\n<p>&#8221; if __name__ == &#8216;__main__&#8217;:<\/p>\n<p>\u03b1\u03ba\u03bf\u03bb\u03bf\u03c5\u03b8\u03b5\u03af \u03c4\u03bf \u03bf\u03bb\u03bf\u03ba\u03bb\u03b7\u03c1\u03c9\u03bc\u03ad\u03bd\u03bf \u03c3\u03b5\u03bd\u03ac\u03c1\u03b9\u03bf:<\/p>\n<pre class=\"lang:python decode:true\" title=\"\u039f\u03bb\u03bf\u03ba\u03bb\u03b7\u03c1\u03c9\u03bc\u03ad\u03bd\u03bf script\">#\r\n#\r\ndef unique(a_list):\r\n    new_list = []\r\n    for item in a_list:\r\n        if item not in new_list:\r\n            new_list.append(item)\r\n    return new_list\r\n\r\ndef pop_all(item, a_list):\r\n    '''\u0397 \u03a3\u03c5\u03bd\u03ac\u03c1\u03c4\u03b7\u03c3\u03b7 \u03b4\u03b9\u03b1\u03b3\u03c1\u03ac\u03c6\u03b5\u03b9 \u03c4\u03b1 \u03c3\u03c4\u03bf\u03b9\u03c7\u03b5\u03af\u03b1\r\n    item \u03b1\u03c0\u03cc \u03c4\u03b7 \u03bb\u03af\u03c3\u03c4\u03b1 a_list'''\r\n    i = 0\r\n    while i &lt;= len(a_list)-1:\r\n        if item == a_list[i]:\r\n            a_list.pop(i)\r\n        else:\r\n            i += 1\r\n    return a_list\r\n\r\ndef main():\r\n    a_list = [1,2,3,1,2,3,1,2,3]\r\n    new = unique(a_list)\r\n    print new\r\n    pop_all(1, a_list)\r\n    print a_list\r\n\r\nif __name__ == \"__main__\":\r\n    main()<\/pre>\n<p style=\"text-align: right;\"><img loading=\"lazy\" class=\"alignright\" src=\"https:\/\/pbs.twimg.com\/media\/DAoiH8OW0AAdJaX.jpg\" alt=\"Image result for wtf funny cartoon\" width=\"208\" height=\"138\" \/>\u03c0\u03c9\u03c2 \u03b5\u03af\u03c0\u03b1\u03c4\u03b5 ??? :<\/p>\n<p style=\"text-align: right;\">\u00a0if __name__ == &#8220;__main__&#8221;:<br \/>\nmain()<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" class=\"alignleft\" src=\"http:\/\/4.bp.blogspot.com\/-YQf8cznlt2c\/TtescOq9TRI\/AAAAAAAABK0\/0qx6rizESu0\/s640\/panic_cartoon.jpg\" alt=\"Image result for dont' panic cartoon funny\" width=\"194\" height=\"181\" \/>\u03b1\u03c0\u03cc\u03bb\u03c5\u03c4\u03b1 \u03ba\u03b1\u03c4\u03b1\u03bd\u03bf\u03b7\u03c4\u03cc \u03ad\u03c4\u03c3\u03b9 !#$%^@*!.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Don&#8217;t Panic \u03b5\u03be\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5 \u03b5\u03c5\u03b8\u03cd\u03c2 \u03b1\u03bc\u03ad\u03c3\u03c9\u03c2 .. \u03af\u03c3\u03c9\u03c2 \u03ad\u03c4\u03c3\u03b9 \u03b5\u03af\u03bd\u03b1\u03b9 \u03c0\u03b9\u03bf \u03ba\u03b1\u03c4\u03b1\u03bd\u03bf\u03b7\u03c4\u03cc &#8230;<\/p>\n<pre class=\"lang:python decode:true \" title=\"\u0391\u03c0\u03bb\u03ae \u03c3\u03cd\u03bd\u03c4\u03b1\u03be\u03b7 \u03c4\u03bf\u03c5 module\">#\r\n#\r\ndef unique(a_list):\r\n    new_list = []\r\n    for item in a_list:\r\n        if item not in new_list:\r\n            new_list.append(item)\r\n    return new_list\r\n\r\ndef pop_all(item, a_list):\r\n    '''\u0397 \u03a3\u03c5\u03bd\u03ac\u03c1\u03c4\u03b7\u03c3\u03b7 \u03b4\u03b9\u03b1\u03b3\u03c1\u03ac\u03c6\u03b5\u03b9 \u03c4\u03b1 \u03c3\u03c4\u03bf\u03b9\u03c7\u03b5\u03af\u03b1\r\n    item \u03b1\u03c0\u03cc \u03c4\u03b7 \u03bb\u03af\u03c3\u03c4\u03b1 a_list'''\r\n    i = 0\r\n    while i &lt;= len(a_list)-1:\r\n        if item == a_list[i]:\r\n            a_list.pop(i)\r\n        else:\r\n            i += 1\r\n    return a_list\r\n\r\n\r\na_list = [1,2,3,1,2,3,1,2,3]\r\nnew = unique(a_list)\r\nprint new\r\npop_all(1, a_list)\r\nprint a_list<\/pre>\n<p style=\"text-align: justify;\">\u039f\u03c1\u03af\u03b6\u03bf\u03c5\u03bc\u03b5 \u03c4\u03b9\u03c2 \u03c3\u03c5\u03bd\u03b1\u03c1\u03c4\u03ae\u03c3\u03b5\u03b9\u03c2 \u03ba\u03b1\u03b9 \u03c3\u03c4\u03b7 \u03c3\u03c5\u03bd\u03ad\u03c7\u03b5\u03b9\u03b1 \u03c4\u03b9\u03c2 \u03ba\u03b1\u03bb\u03bf\u03cd\u03bc\u03b5 \u03c0\u03ac\u03bd\u03c9 \u03c3\u03b5 \u03c0\u03c1\u03b1\u03b3\u03bc\u03b1\u03c4\u03b9\u03ba\u03ac \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03b1, \u03ba\u03b1\u03bb\u03cd\u03c4\u03b5\u03c1\u03b1 \u03ad\u03c4\u03c3\u03b9 !!! \u03bd\u03b1 \u03ba\u03b1\u03b9 \u03c4\u03b1 \u03b1\u03c0\u03bf\u03c4\u03b5\u03bb\u03ad\u03c3\u03bc\u03b1\u03c4\u03b1 \u03b5\u03ba\u03c4\u03ad\u03bb\u03b5\u03c3\u03b7\u03c2 \u03b5\u03c0\u03ac\u03bd\u03c9 \u03c3\u03c4\u03b1 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03b1:<\/p>\n<pre class=\"lang:python decode:true \">&gt;&gt;&gt; \r\n&gt;&gt;&gt;\r\n[1, 2, 3]\r\n[2, 3, 2, 3, 2, 3]<\/pre>\n<p style=\"text-align: justify;\">\u038c\u03c4\u03b1\u03bd \u03b5\u03ba\u03c4\u03b5\u03bb\u03bf\u03cd\u03bc\u03b5 \u03c4\u03bf \u03c3\u03b5\u03bd\u03ac\u03c1\u03b9\u03bf (run) \u03cc\u03bb\u03b1 \u03c0\u03ac\u03bd\u03b5 \u03ba\u03b1\u03bb\u03ac,\u00a0 \u03b5\u03ac\u03bd \u03b4\u03bf\u03ba\u03b9\u03bc\u03ac\u03c3\u03bf\u03c5\u03bc\u03b5 \u03cc\u03bc\u03c9\u03c2 \u03bd\u03b1 \u03b1\u03c0\u03bf\u03b8\u03b7\u03ba\u03b5\u03cd\u03c3\u03bf\u03c5\u03bc\u03b5 \u03c4\u03bf \u03c3\u03b5\u03bd\u03ac\u03c1\u03b9\u03bf (\u03c0\u03c7 <strong>new_list_func.py<\/strong>)\u03ba\u03b1\u03b9 \u03c3\u03c4\u03b7 \u03c3\u03c5\u03bd\u03ad\u03c7\u03b5\u03b9\u03b1 \u03c4\u03bf \u03ba\u03ac\u03bd\u03bf\u03c5\u03bc\u03b5 \u03b5\u03b9\u03c3\u03b1\u03b3\u03c9\u03b3\u03ae \u03bc\u03b5 \u03c4\u03b7\u03bd \u03b5\u03bd\u03c4\u03bf\u03bb\u03ae <strong>import<\/strong> \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03bf\u03c5\u03bc\u03b5 \u03c4\u03b9\u03c2 \u03c3\u03c5\u03bd\u03b1\u03c1\u03c4\u03ae\u03c3\u03b5\u03b9\u03c2 \u03c3\u03b5 \u03ad\u03bd\u03b1 \u03ac\u03bb\u03bb\u03bf \u03c3\u03b5\u03bd\u03ac\u03c1\u03b9\u03bf \u03b8\u03b1 \u03b5\u03bc\u03c6\u03b1\u03bd\u03b9\u03c3\u03c4\u03bf\u03cd\u03bd \u03c4\u03b1 \u03b1\u03c0\u03bf\u03c4\u03b5\u03bb\u03ad\u03c3\u03bc\u03b1\u03c4\u03b1 \u03b5\u03ba\u03c4\u03ad\u03bb\u03b5\u03c3\u03b7\u03c2 \u03c4\u03bf\u03c5 \u03b1\u03c1\u03c7\u03b9\u03ba\u03bf\u03cd \u03c3\u03b5\u03bd\u03b1\u03c1\u03af\u03bf\u03c5 \u03b4\u03b7\u03bb\u03b1\u03b4\u03ae :<\/p>\n<pre class=\"lang:python decode:true \">&gt;&gt;&gt;\r\n&gt;&gt;&gt;\r\n&gt;&gt;&gt; import new_list_func\r\n&gt;&gt;&gt; \r\n[1, 2, 3]\r\n[2, 3, 2, 3, 2, 3]<\/pre>\n<p>\u0386\u03ba\u03bf\u03bc\u03c8\u03bf \u03ad\u03c4\u03c3\u03b9 \u03b4\u03b5\u03bd \u03b5\u03af\u03bd\u03b1\u03b9, \u03ba\u03ac\u03b8\u03b5 \u03c6\u03bf\u03c1\u03ac \u03c0\u03bf\u03c5 \u03c6\u03bf\u03c1\u03c4\u03ce\u03bd\u03bf\u03c5\u03bc\u03b5 \u03c4\u03bf \u03ac\u03c1\u03b8\u03c1\u03c9\u03bc\u03b1 \u03bd\u03b1 \u03b5\u03bc\u03c6\u03b1\u03bd\u03af\u03b6\u03bf\u03bd\u03c4\u03b1\u03b9 \u03ac\u03c3\u03c7\u03b5\u03c4\u03b1 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03b1 \u03b5\u03ba\u03c4\u03ad\u03bb\u03b5\u03c3\u03b7\u03c2.<\/p>\n<p>\u03a0\u03c1\u03bf\u03c4\u03b9\u03bc\u03cc\u03c4\u03b5\u03c1\u03bf \u03b8\u03b1 \u03ae\u03c4\u03b1\u03bd \u03bd\u03b1 \u03bc\u03c0\u03bf\u03c1\u03bf\u03cd\u03bc\u03b5 \u03bd\u03b1 \u03c0\u03bf\u03cd\u03bc\u03b5 \u03ba\u03ac\u03c4\u03b9 \u03cc\u03c0\u03c9\u03c2 \u03c4\u03bf \u03c0\u03b1\u03c1\u03b1\u03ba\u03ac\u03c4\u03c9:<\/p>\n<pre class=\"lang:python decode:true \">#\r\n#\r\ndef unique(a_list):\r\n    .........\r\n    return new_list\r\n\r\ndef pop_all(item, a_list):\r\n    .........\r\n    return a_list\r\n\r\nif \"\u03c4\u03bf \u03c3\u03b5\u03bd\u03ac\u03c1\u03b9\u03bf \u03b5\u03ba\u03c4\u03b5\u03bb\u03b5\u03af\u03c4\u03b1\u03b9 \u03bc\u03b5 run\":\r\n    a_list = [1,2,3,1,2,3,1,2,3]\r\n    new = unique(a_list)\r\n    print new\r\n    pop_all(1, a_list)\r\n    print a_list\r\nelif \"\u03c4\u03bf \u03c3\u03b5\u03bd\u03ac\u03c1\u03b9\u03bf \u03c6\u03bf\u03c1\u03c4\u03ce\u03bd\u03b5\u03c4\u03b1\u03b9 \u03b1\u03c0\u03cc \u03ac\u03bb\u03bb\u03bf \u03c3\u03b5\u03bd\u03ac\u03c1\u03b9\u03bf\":\r\n    \u03bc\u03b7\u03bd \u03b5\u03ba\u03c4\u03b5\u03bb\u03b5\u03af\u03c2 \u03c4\u03af\u03c0\u03bf\u03c4\u03b1 \u03b1\u03c0\u03bb\u03ac \u03c6\u03cc\u03c1\u03c4\u03c9\u03c3\u03b5 \u03c4\u03b9\u03c2 \u03c3\u03c5\u03bd\u03b1\u03c1\u03c4\u03ae\u03c3\u03b5\u03b9\u03c2<\/pre>\n<p>\u0388\u03b5\u03b5\u03b5 \u03bb\u03bf\u03b9\u03c0\u03cc\u03bd \u03b1\u03c5\u03c4\u03cc \u03ba\u03ac\u03bd\u03b5\u03b9 \u03b7 \u03bc\u03b1\u03b3\u03b9\u03ba\u03ae \u03b5\u03bd\u03c4\u03bf\u03bb\u03ae:\u00a0if __name__ == &#8220;__main__&#8221;:<\/p>\n<p style=\"text-align: justify;\">\u0395\u03ac\u03bd \u03b7 \u03bc\u03b5\u03c4\u03b1\u03b2\u03bb\u03b7\u03c4\u03ae name \u03c0\u03ac\u03c1\u03b5\u03b9 \u03c9\u03c2 \u03c4\u03b9\u03bc\u03ae \u03c4\u03bf \u03cc\u03bd\u03bf\u03bc\u03b1 \u03c4\u03bf\u03c5 \u03c4\u03c1\u03ad\u03c7\u03bf\u03bd\u03c4\u03bf\u03c2 \u03c3\u03b5\u03bd\u03b1\u03c1\u03af\u03bf\u03c5 \u03c3\u03b7\u03bc\u03b1\u03af\u03bd\u03b5\u03b9 \u03cc\u03c4\u03b9 \u03c4\u03bf \u03c3\u03b5\u03bd\u03ac\u03c1\u03b9\u03bf \u03b5\u03ba\u03c4\u03b5\u03bb\u03b5\u03af\u03c4\u03b1\u03b9, \u03b4\u03b9\u03b1\u03c6\u03bf\u03c1\u03b5\u03c4\u03b9\u03ba\u03ac \u03c3\u03b7\u03bc\u03b1\u03af\u03bd\u03b5\u03b9 \u03cc\u03c4\u03b9 \u03c6\u03bf\u03c1\u03c4\u03ce\u03bd\u03b5\u03c4\u03b1\u03b9. \u0393\u03c1\u03ac\u03c8\u03c4\u03b5 \u03c4\u03bf \u03c0\u03b1\u03c1\u03b1\u03ba\u03ac\u03c4\u03c9 \u03c3\u03b5\u03bd\u03ac\u03c1\u03b9\u03bf \u03ba\u03b1\u03b9 \u03c3\u03c4\u03b7 \u03c3\u03c5\u03bd\u03ad\u03c7\u03b5\u03b9\u03b1 \u03b4\u03bf\u03ba\u03b9\u03bc\u03ac\u03c3\u03c4\u03b5 \u03bd\u03b1 \u03c4\u03bf \u03c4\u03c1\u03ad\u03be\u03b5\u03c4\u03b5 \u03ba\u03b1\u03b9 \u03ad\u03c0\u03b5\u03b9\u03c4\u03b1 \u03bd\u03b1 \u03c4\u03bf \u03c6\u03bf\u03c1\u03c4\u03ce\u03c3\u03b5\u03c4\u03b5 :<\/p>\n<pre class=\"lang:python decode:true\">#\r\n#\r\ndef unique(a_list):\r\n    .........\r\n    return new_list\r\n\r\ndef pop_all(item, a_list):\r\n    .........\r\n    return a_list\r\n\r\nif __name__ == \"__main__\":\r\n    print \"script is executed from within\"\r\n    a_list = [1,2,3,1,2,3,1,2,3]\r\n    new = unique(a_list)\r\n    print new\r\n    pop_all(1, a_list)\r\n    print a_list\r\nelse:\r\n    print \"script is imported ...\"\r\n    print \"functions unique &amp; pop_all loaded and ready to fire\"<\/pre>\n<p>\u03ae \u03c0\u03b9\u03bf \u03ba\u03bf\u03bc\u03c8\u03ac \u03ba\u03b1\u03b9 \u03bc\u03b5 \u03c0\u03bb\u03b7\u03c1\u03cc\u03c4\u03b7\u03c4\u03b1:<\/p>\n<pre class=\"lang:python decode:true \" title=\"\u03a0\u03bb\u03ae\u03c1\u03b5\u03c2 &amp; \u03c4\u03b5\u03bb\u03b9\u03ba\u03cc script\">#\r\n#\r\ndef unique(a_list):\r\n    new_list = []\r\n    for item in a_list:\r\n        if item not in new_list:\r\n            new_list.append(item)\r\n    return new_list\r\n\r\ndef pop_all(item, a_list):\r\n    '''\u0397 \u03a3\u03c5\u03bd\u03ac\u03c1\u03c4\u03b7\u03c3\u03b7 \u03b4\u03b9\u03b1\u03b3\u03c1\u03ac\u03c6\u03b5\u03b9 \u03c4\u03b1 \u03c3\u03c4\u03bf\u03b9\u03c7\u03b5\u03af\u03b1\r\n    item \u03b1\u03c0\u03cc \u03c4\u03b7 \u03bb\u03af\u03c3\u03c4\u03b1 a_list'''\r\n    i = 0\r\n    while i &lt;= len(a_list)-1:\r\n        if item == a_list[i]:\r\n            a_list.pop(i)\r\n        else:\r\n            i += 1\r\n    return a_list\r\n\r\ndef main():\r\n    a_list = [1,2,3,1,2,3,1,2,3]\r\n    new = unique(a_list)\r\n    print new\r\n    pop_all(1, a_list)\r\n    print a_list\r\n\r\nif __name__ == \"__main__\":\r\n    print \"script is executed from within\"\r\n    main()\r\nelse:\r\n    print \"script is imported ...\"\r\n    print \"functions unique &amp; pop_all loaded and ready to fire\"<\/pre>\n<p>\u0391\u03c0\u03bf\u03c4\u03b5\u03bb\u03ad\u03c3\u03bc\u03b1\u03c4\u03b1 \u03bc\u03b5 \u03b5\u03ba\u03c4\u03ad\u03bb\u03b5\u03c3\u03b7:<\/p>\n<pre class=\"lang:python decode:true \" title=\"\u0391\u03c0\u03bf\u03c4\u03b5\u03bb\u03ad\u03c3\u03bc\u03b1\u03c4\u03b1 \u03bc\u03b5 \u03b5\u03ba\u03c4\u03ad\u03bb\u03b5\u03c3\u03b7\">&gt;&gt;&gt;\r\n&gt;&gt;&gt; \r\nscript is executed from within\r\n[1, 2, 3]\r\n[2, 3, 2, 3, 2, 3]<\/pre>\n<p>\u0391\u03c0\u03bf\u03c4\u03b5\u03bb\u03ad\u03c3\u03bc\u03b1\u03c4\u03b1 \u03bc\u03b5 \u03c6\u03cc\u03c1\u03c4\u03c9\u03c3\u03b7:<\/p>\n<pre class=\"lang:python decode:true \" title=\"\u0391\u03c0\u03bf\u03c4\u03b5\u03bb\u03ad\u03c3\u03bc\u03b1\u03c4\u03b1 \u03bc\u03b5 \u03c6\u03cc\u03c1\u03c4\u03c9\u03c3\u03b7\">&gt;&gt;&gt;\r\n&gt;&gt;&gt;\r\n&gt;&gt;&gt; import new_list_func\r\nscript is imported ...\r\nfunctions unique &amp; pop_all loaded and ready to fire\r\n&gt;&gt;&gt;<\/pre>\n<p style=\"text-align: justify;\">\u03a4\u03ce\u03c1\u03b1 \u03bc\u03ac\u03bb\u03b9\u03c3\u03c4\u03b1 &#8230; \u03ba\u03b1\u03b9\u00a0&#8230;\u00a0\u03ba\u03b1\u03b9 &#8230; \u03b5\u03ac\u03bd \u03b8\u03ad\u03bb\u03c9 \u03bd\u03b1 \u03bc\u03b1\u03b6\u03ad\u03c8\u03c9 \u03cc\u03bb\u03b1 \u03c0\u03c1\u03bf\u03b3\u03c1\u03ac\u03bc\u03bc\u03b1\u03c4\u03b1 \u03b1\u03c5\u03c4\u03ac \u03c0\u03bf\u03c5 \u03b5\u03c0\u03b1\u03bd\u03b1\u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03ce \u03c3\u03b5 \u03ac\u03bb\u03bb\u03bf \u03c6\u03ac\u03ba\u03b5\u03bb\u03bb\u03bf \u03b5\u03ba\u03c4\u03cc\u03c2 \u03c4\u03bf\u03c5 c:\\python27 \u03ba\u03b1\u03b9 \u03bd\u03b1 \u03c4\u03b1 \u03c6\u03bf\u03c1\u03c4\u03ce\u03bd\u03c9 \u03b1\u03c0\u03cc \u03b5\u03ba\u03b5\u03af \u03b3\u03b9\u03b1\u03c4\u03af \u03b4\u03b5 \u03b4\u03bf\u03c5\u03bb\u03b5\u03cd\u03b5\u03b9 \u03ba\u03b1\u03b9 \u03b2\u03b3\u03ac\u03b6\u03b5\u03b9 \u03c3\u03b1\u03c7\u03bb\u03b1\u03bc\u03ac\u03c1\u03b5\u03c2 \u03ba\u03cc\u03ba\u03ba\u03b9\u03bd\u03bf\u03c5 \u03c7\u03c1\u03ce\u03bc\u03b1\u03c4\u03bf\u03c2 :<\/p>\n<p><span style=\"font-family: 'courier new', courier, monospace; color: #ff0000;\">Traceback (most recent call last):<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier, monospace; color: #ff0000;\">File &#8220;&lt;pyshell#12&gt;&#8221;, line 1, in<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; color: #ff0000;\">import nwe<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier, monospace; color: #ff0000;\">ImportError: No module named xxx<\/span><\/p>\n<p>&#8230; \u03a3\u03b5 \u03b5\u03c0\u03cc\u03bc\u03b5\u03bd\u03bf \u03ac\u03c1\u03b8\u03c1\u03bf &#8230;. \u03b7 \u03c0\u03b1\u03c1\u03bf\u03b9\u03bc\u03af\u03b1 \u03c0\u03bf\u03c5 \u03bb\u03ad\u03b3\u03b1\u03bc\u03b5<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0394\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03ae\u03c3\u03b1\u03bc\u03b5 \u03c4\u03b9\u03c2 \u03c3\u03c5\u03bd\u03b1\u03c1\u03c4\u03ae\u03c3\u03b5\u03b9\u03c2 \u03bc\u03b1\u03c2 \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03c4\u03b9\u03c2\u00a0\u03ba\u03b1\u03bb\u03ad\u03c3\u03bf\u03c5\u03bc\u03b5\u00a0\u03b1\u03c1\u03ba\u03b5\u03c4\u03ad\u03c2 \u03c6\u03bf\u03c1\u03ad\u03c2 \u03c3\u03c4\u03bf \u03c0\u03c1\u03cc\u03b3\u03c1\u03b1\u03bc\u03bc\u03ac \u03bc\u03b1\u03c2. \u039c\u03c0\u03bf\u03c1\u03bf\u03cd\u03bc\u03b5 \u03cc\u03bc\u03c9\u03c2 \u03b1\u03c6\u03bf\u03cd \u03c4\u03b9\u03c2 \u03c6\u03c4\u03b9\u03ac\u03be\u03bf\u03c5\u03bc\u03b5 \u03c3\u03c4\u03bf\u00a0\u03c4\u03c1\u03ad\u03c7\u03bf\u03bd \u03c3\u03b5\u03bd\u03ac\u03c1\u03b9\u03cc \u03bc\u03b1\u03c2\u00a0\u03bd\u03b1 \u03c4\u03b9\u03c2 \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03bf\u03c5\u03bc\u03b5\u00a0\u03b5\u03ba\u03c4\u03cc\u03c2 \u03b1\u03c0\u03cc \u03b1\u03c5\u03c4\u03cc \u03ba\u03b1\u03b9 \u03c3\u03b5 \u03ac\u03bb\u03bb\u03b1 \u03c0\u03c1\u03bf\u03b3\u03c1\u03ac\u03bc\u03bc\u03b1\u03c4\u03b1 \u03ba\u03b1\u03b9 \u03c0\u03ce\u03c2 ??<\/p>\n<p> <a class=\"continue-reading-link\" href=\"http:\/\/users.sch.gr\/chatzipap\/code_reuse_modules\/\"><span>\u0394\u0399\u0391\u0392\u0391\u03a3\u03a4\u0395 \u03a4\u0397 \u03a3\u03a5\u039d\u0395\u03a7\u0395\u0399\u0391<\/span><i class=\"crycon-right-dir\"><\/i><\/a> <\/p>\n","protected":false},"author":1,"featured_media":262,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[8],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v16.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Code ReUse 2 - Modules - \u03ba\u03cd\u03c1\u03b9\u03b5 \u03b4\u03b5\u03bd \u03ad\u03c7\u03c9 internet<\/title>\n<meta name=\"description\" content=\"\u0394\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03ae\u03c3\u03b1\u03bc\u03b5 \u03c4\u03b9\u03c2 \u03c3\u03c5\u03bd\u03b1\u03c1\u03c4\u03ae\u03c3\u03b5\u03b9\u03c2 \u03bc\u03b1\u03c2 \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03c4\u03b9\u03c2\u00a0\u03ba\u03b1\u03bb\u03ad\u03c3\u03bf\u03c5\u03bc\u03b5\u00a0\u03b1\u03c1\u03ba\u03b5\u03c4\u03ad\u03c2 \u03c6\u03bf\u03c1\u03ad\u03c2 \u03c3\u03c4\u03bf \u03c0\u03c1\u03cc\u03b3\u03c1\u03b1\u03bc\u03bc\u03ac \u03bc\u03b1\u03c2. \u038c\u03c0\u03c9\u03c2 \u03ad\u03c7\u03bf\u03c5\u03bc\u03b5 \u03b4\u03b5\u03b9, \u03c0\u03bf\u03bb\u03bb\u03ac \u03c0\u03c1\u03ac\u03b3\u03bc\u03b1\u03c4\u03b1 \u03c3\u03c4\u03b7 \u03b3\u03bb\u03ce\u03c3\u03c3\u03b1 \u03b1\u03c5\u03c4\u03ae (\u03a0\u03ac\u03ca\u03b8\u03bf\u03bd),\u00a0 \u03b4\u03b5\u03bd \u03b3\u03af\u03bd\u03bf\u03bd\u03c4\u03b1\u03b9 \u03bc\u03b5 \u03ad\u03bd\u03b1 \u03ba\u03b1\u03b9 \u03bc\u03cc\u03bd\u03bf \u03c4\u03c1\u03cc\u03c0\u03bf \u03ad\u03c4\u03c3\u03b9 \u03ba\u03b1\u03b9 \u03b1\u03c5\u03c4\u03cc. \u0395\u03b4\u03ce\u00a0\u03b8\u03b1 \u03b4\u03bf\u03cd\u03bc\u03b5 \u03c4\u03b1 \u03b1\u03c1\u03b8\u03c1\u03ce\u03bc\u03b1\u03c4\u03b1 \u03bb\u03bf\u03b3\u03b9\u03c3\u03bc\u03b9\u03ba\u03bf\u03cd (modules).\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/users.sch.gr\/chatzipap\/code_reuse_modules\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Code ReUse 2 - Modules - \u03ba\u03cd\u03c1\u03b9\u03b5 \u03b4\u03b5\u03bd \u03ad\u03c7\u03c9 internet\" \/>\n<meta property=\"og:description\" content=\"\u0394\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03ae\u03c3\u03b1\u03bc\u03b5 \u03c4\u03b9\u03c2 \u03c3\u03c5\u03bd\u03b1\u03c1\u03c4\u03ae\u03c3\u03b5\u03b9\u03c2 \u03bc\u03b1\u03c2 \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03c4\u03b9\u03c2\u00a0\u03ba\u03b1\u03bb\u03ad\u03c3\u03bf\u03c5\u03bc\u03b5\u00a0\u03b1\u03c1\u03ba\u03b5\u03c4\u03ad\u03c2 \u03c6\u03bf\u03c1\u03ad\u03c2 \u03c3\u03c4\u03bf \u03c0\u03c1\u03cc\u03b3\u03c1\u03b1\u03bc\u03bc\u03ac \u03bc\u03b1\u03c2. \u038c\u03c0\u03c9\u03c2 \u03ad\u03c7\u03bf\u03c5\u03bc\u03b5 \u03b4\u03b5\u03b9, \u03c0\u03bf\u03bb\u03bb\u03ac \u03c0\u03c1\u03ac\u03b3\u03bc\u03b1\u03c4\u03b1 \u03c3\u03c4\u03b7 \u03b3\u03bb\u03ce\u03c3\u03c3\u03b1 \u03b1\u03c5\u03c4\u03ae (\u03a0\u03ac\u03ca\u03b8\u03bf\u03bd),\u00a0 \u03b4\u03b5\u03bd \u03b3\u03af\u03bd\u03bf\u03bd\u03c4\u03b1\u03b9 \u03bc\u03b5 \u03ad\u03bd\u03b1 \u03ba\u03b1\u03b9 \u03bc\u03cc\u03bd\u03bf \u03c4\u03c1\u03cc\u03c0\u03bf \u03ad\u03c4\u03c3\u03b9 \u03ba\u03b1\u03b9 \u03b1\u03c5\u03c4\u03cc. \u0395\u03b4\u03ce\u00a0\u03b8\u03b1 \u03b4\u03bf\u03cd\u03bc\u03b5 \u03c4\u03b1 \u03b1\u03c1\u03b8\u03c1\u03ce\u03bc\u03b1\u03c4\u03b1 \u03bb\u03bf\u03b3\u03b9\u03c3\u03bc\u03b9\u03ba\u03bf\u03cd (modules).\" \/>\n<meta property=\"og:url\" content=\"http:\/\/users.sch.gr\/chatzipap\/code_reuse_modules\/\" \/>\n<meta property=\"og:site_name\" content=\"\u03ba\u03cd\u03c1\u03b9\u03b5 \u03b4\u03b5\u03bd \u03ad\u03c7\u03c9 internet\" \/>\n<meta property=\"article:published_time\" content=\"2018-03-08T13:06:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-03-26T20:17:26+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/users.sch.gr\/chatzipap\/wp-content\/uploads\/2018\/03\/modulebuilder1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"448\" \/>\n\t<meta property=\"og:image:height\" content=\"292\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"http:\/\/users.sch.gr\/chatzipap\/#website\",\"url\":\"http:\/\/users.sch.gr\/chatzipap\/\",\"name\":\"\\u03ba\\u03cd\\u03c1\\u03b9\\u03b5 \\u03b4\\u03b5\\u03bd \\u03ad\\u03c7\\u03c9 internet\",\"description\":\"\\u0391\\u03bd\\u03b1\\u03c3\\u03c4\\u03ac\\u03c3\\u03b9\\u03bf\\u03c2 \\u03a7\\u03b1\\u03c4\\u03b6\\u03b7\\u03c0\\u03b1\\u03c0\\u03b1\\u03b4\\u03cc\\u03c0\\u03bf\\u03c5\\u03bb\\u03bf\\u03c2\",\"publisher\":{\"@id\":\"http:\/\/users.sch.gr\/chatzipap\/#\/schema\/person\/bcd297efd76b38bf6c373530ffa82629\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"http:\/\/users.sch.gr\/chatzipap\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"http:\/\/users.sch.gr\/chatzipap\/code_reuse_modules\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"http:\/\/users.sch.gr\/chatzipap\/wp-content\/uploads\/2018\/03\/modulebuilder1.png\",\"contentUrl\":\"http:\/\/users.sch.gr\/chatzipap\/wp-content\/uploads\/2018\/03\/modulebuilder1.png\",\"width\":448,\"height\":292},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/users.sch.gr\/chatzipap\/code_reuse_modules\/#webpage\",\"url\":\"http:\/\/users.sch.gr\/chatzipap\/code_reuse_modules\/\",\"name\":\"Code ReUse 2 - Modules - \\u03ba\\u03cd\\u03c1\\u03b9\\u03b5 \\u03b4\\u03b5\\u03bd \\u03ad\\u03c7\\u03c9 internet\",\"isPartOf\":{\"@id\":\"http:\/\/users.sch.gr\/chatzipap\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\/\/users.sch.gr\/chatzipap\/code_reuse_modules\/#primaryimage\"},\"datePublished\":\"2018-03-08T13:06:08+00:00\",\"dateModified\":\"2018-03-26T20:17:26+00:00\",\"description\":\"\\u0394\\u03b7\\u03bc\\u03b9\\u03bf\\u03c5\\u03c1\\u03b3\\u03ae\\u03c3\\u03b1\\u03bc\\u03b5 \\u03c4\\u03b9\\u03c2 \\u03c3\\u03c5\\u03bd\\u03b1\\u03c1\\u03c4\\u03ae\\u03c3\\u03b5\\u03b9\\u03c2 \\u03bc\\u03b1\\u03c2 \\u03b3\\u03b9\\u03b1 \\u03bd\\u03b1 \\u03c4\\u03b9\\u03c2\\u00a0\\u03ba\\u03b1\\u03bb\\u03ad\\u03c3\\u03bf\\u03c5\\u03bc\\u03b5\\u00a0\\u03b1\\u03c1\\u03ba\\u03b5\\u03c4\\u03ad\\u03c2 \\u03c6\\u03bf\\u03c1\\u03ad\\u03c2 \\u03c3\\u03c4\\u03bf \\u03c0\\u03c1\\u03cc\\u03b3\\u03c1\\u03b1\\u03bc\\u03bc\\u03ac \\u03bc\\u03b1\\u03c2. \\u038c\\u03c0\\u03c9\\u03c2 \\u03ad\\u03c7\\u03bf\\u03c5\\u03bc\\u03b5 \\u03b4\\u03b5\\u03b9, \\u03c0\\u03bf\\u03bb\\u03bb\\u03ac \\u03c0\\u03c1\\u03ac\\u03b3\\u03bc\\u03b1\\u03c4\\u03b1 \\u03c3\\u03c4\\u03b7 \\u03b3\\u03bb\\u03ce\\u03c3\\u03c3\\u03b1 \\u03b1\\u03c5\\u03c4\\u03ae (\\u03a0\\u03ac\\u03ca\\u03b8\\u03bf\\u03bd),\\u00a0 \\u03b4\\u03b5\\u03bd \\u03b3\\u03af\\u03bd\\u03bf\\u03bd\\u03c4\\u03b1\\u03b9 \\u03bc\\u03b5 \\u03ad\\u03bd\\u03b1 \\u03ba\\u03b1\\u03b9 \\u03bc\\u03cc\\u03bd\\u03bf \\u03c4\\u03c1\\u03cc\\u03c0\\u03bf \\u03ad\\u03c4\\u03c3\\u03b9 \\u03ba\\u03b1\\u03b9 \\u03b1\\u03c5\\u03c4\\u03cc. \\u0395\\u03b4\\u03ce\\u00a0\\u03b8\\u03b1 \\u03b4\\u03bf\\u03cd\\u03bc\\u03b5 \\u03c4\\u03b1 \\u03b1\\u03c1\\u03b8\\u03c1\\u03ce\\u03bc\\u03b1\\u03c4\\u03b1 \\u03bb\\u03bf\\u03b3\\u03b9\\u03c3\\u03bc\\u03b9\\u03ba\\u03bf\\u03cd (modules).\",\"breadcrumb\":{\"@id\":\"http:\/\/users.sch.gr\/chatzipap\/code_reuse_modules\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/users.sch.gr\/chatzipap\/code_reuse_modules\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/users.sch.gr\/chatzipap\/code_reuse_modules\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/users.sch.gr\/chatzipap\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Code ReUse 2 &#8211; Modules\"}]},{\"@type\":\"Article\",\"@id\":\"http:\/\/users.sch.gr\/chatzipap\/code_reuse_modules\/#article\",\"isPartOf\":{\"@id\":\"http:\/\/users.sch.gr\/chatzipap\/code_reuse_modules\/#webpage\"},\"author\":{\"@id\":\"http:\/\/users.sch.gr\/chatzipap\/#\/schema\/person\/bcd297efd76b38bf6c373530ffa82629\"},\"headline\":\"Code ReUse 2 &#8211; Modules\",\"datePublished\":\"2018-03-08T13:06:08+00:00\",\"dateModified\":\"2018-03-26T20:17:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/users.sch.gr\/chatzipap\/code_reuse_modules\/#webpage\"},\"wordCount\":56,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/users.sch.gr\/chatzipap\/#\/schema\/person\/bcd297efd76b38bf6c373530ffa82629\"},\"image\":{\"@id\":\"http:\/\/users.sch.gr\/chatzipap\/code_reuse_modules\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/users.sch.gr\/chatzipap\/wp-content\/uploads\/2018\/03\/modulebuilder1.png\",\"articleSection\":[\"Programming\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\/\/users.sch.gr\/chatzipap\/code_reuse_modules\/#respond\"]}]},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"http:\/\/users.sch.gr\/chatzipap\/#\/schema\/person\/bcd297efd76b38bf6c373530ffa82629\",\"name\":\"chatzipap\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\/\/users.sch.gr\/chatzipap\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"http:\/\/0.gravatar.com\/avatar\/318bb065459b1f5c47df938d14d585a7?s=96&d=mm&r=g\",\"contentUrl\":\"http:\/\/0.gravatar.com\/avatar\/318bb065459b1f5c47df938d14d585a7?s=96&d=mm&r=g\",\"caption\":\"chatzipap\"},\"logo\":{\"@id\":\"http:\/\/users.sch.gr\/chatzipap\/#personlogo\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"http:\/\/users.sch.gr\/chatzipap\/wp-json\/wp\/v2\/posts\/256"}],"collection":[{"href":"http:\/\/users.sch.gr\/chatzipap\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/users.sch.gr\/chatzipap\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/users.sch.gr\/chatzipap\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/users.sch.gr\/chatzipap\/wp-json\/wp\/v2\/comments?post=256"}],"version-history":[{"count":0,"href":"http:\/\/users.sch.gr\/chatzipap\/wp-json\/wp\/v2\/posts\/256\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/users.sch.gr\/chatzipap\/wp-json\/wp\/v2\/media\/262"}],"wp:attachment":[{"href":"http:\/\/users.sch.gr\/chatzipap\/wp-json\/wp\/v2\/media?parent=256"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/users.sch.gr\/chatzipap\/wp-json\/wp\/v2\/categories?post=256"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/users.sch.gr\/chatzipap\/wp-json\/wp\/v2\/tags?post=256"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}