{"id":7705,"date":"2021-01-28T11:42:28","date_gmt":"2021-01-28T11:42:28","guid":{"rendered":"https:\/\/mehdisalimi.ir\/?p=7705"},"modified":"2021-01-28T12:08:48","modified_gmt":"2021-01-28T12:08:48","slug":"%d8%aa%d8%b1%d9%81%d9%86%d8%af%d9%87%d8%a7%db%8c-%d9%85%d9%87%d9%85-%d9%88-%da%a9%d8%a7%d8%b1-%d8%b1%d8%a7%d9%87-%d8%a7%d9%86%d8%af%d8%a7%d8%b2-%d9%be%d8%a7%db%8c%d8%aa%d9%88%d9%86","status":"publish","type":"post","link":"https:\/\/mehdisalimi.ir\/?p=7705","title":{"rendered":"\u062a\u0631\u0641\u0646\u062f\u0647\u0627\u06cc \u0645\u0647\u0645 \u0648 \u06a9\u0627\u0631 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632 \u067e\u0627\u06cc\u062a\u0648\u0646!"},"content":{"rendered":"<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u067e\u0627\u06cc\u062a\u0648\u0646 \u06cc\u06a9\u06cc \u0627\u0632 \u067e\u0631 \u06a9\u0627\u0631\u0628\u0631\u062f\u062a\u0631\u06cc\u0646 \u0632\u0628\u0627\u0646\u200c\u0647\u0627\u06cc \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u06cc \u0627\u0633\u062a. \u062e\u0648\u0627\u0646\u0627\u06cc\u06cc \u0648 \u06a9\u0648\u062a\u0627\u0647\u200c\u0646\u0648\u06cc\u0633\u06cc \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0628\u0627\u0639\u062b \u0634\u062f\u0647 \u062a\u0627 \u062a\u0648\u0633\u0639\u0647\u200c\u062f\u0647\u0646\u062f\u06af\u0627\u0646 \u0627\u0632 \u067e\u0627\u06cc\u062a\u0648\u0646 \u0628\u0631\u0627\u06cc \u0627\u0646\u062c\u0627\u0645 \u067e\u0631\u0648\u0698\u0647\u200c\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u0646\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628 \u0628\u0647 \u0645\u0639\u0631\u0641\u06cc \u0686\u0646\u062f \u062a\u0631\u0641\u0646\u062f \u06a9\u0627\u0631\u0628\u0631\u062f\u06cc \u0645\u06cc\u200c\u067e\u0631\u062f\u0627\u0632\u06cc\u0645 \u06a9\u0647 \u062f\u0631 \u0632\u0645\u0627\u0646 \u06a9\u062f\u0646\u0648\u06cc\u0633\u06cc \u0628\u0647 \u0634\u0645\u0627 \u06a9\u0645\u06a9 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f.<\/span><\/p>\n<p style=\"text-align: justify;\"><!--more--><br \/>\n<strong><span style=\"font-size: 16px;\">\u06f1- \u062c\u0627\u0628\u0647\u200c\u06a9\u0631\u062f\u0646 \u062f\u0648 \u0645\u0642\u062f\u0627\u0631 \u0628\u062f\u0648\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0645\u062a\u063a\u06cc\u0631 \u062b\u0627\u0644\u062b<\/span><\/strong><br \/>\n<span style=\"font-size: 16px;\">\u062f\u0631 \u0628\u0631\u062e\u06cc \u067e\u0631\u0648\u0698\u0647\u200c\u0647\u0627 \u0645\u0647\u0645 \u0627\u0633\u062a \u06a9\u0647 \u0628\u0631\u0646\u0627\u0645\u0647 \u0633\u0631\u0639\u062a \u0632\u06cc\u0627\u062f\u06cc \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u062f \u0648 \u0628\u0631\u0646\u0627\u0645\u0647 \u0627\u0632 \u062d\u0627\u0641\u0638\u0647 \u0627\u0635\u0644\u06cc \u0628\u0647 \u0634\u06a9\u0644 \u06a9\u0627\u0631\u0628\u0631\u062f\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u062f. \u062f\u0631 \u0686\u0646\u06cc\u0646 \u0634\u0631\u0627\u06cc\u0637\u06cc \u062a\u0648\u0633\u0639\u0647\u200c\u062f\u0647\u0646\u062f\u06af\u0627\u0647 \u0627\u0632 \u062a\u06a9\u0646\u06cc\u06a9\u200c\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f. \u0627\u06af\u0631 \u062f\u0631 \u0646\u0638\u0631 \u062f\u0627\u0631\u06cc\u062f \u0645\u0642\u062f\u0627\u0631 \u062f\u0648 \u0645\u062a\u063a\u06cc\u0631 \u0631\u0627 \u0628\u062f\u0648\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0645\u062a\u063a\u06cc\u0631 \u062b\u0627\u0644\u062b\u06cc \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u062f \u0634\u06cc\u0648\u0647 \u0627\u0646\u062c\u0627\u0645 \u0622\u0646 \u0628\u0647 \u0634\u0631\u062d \u0632\u06cc\u0631 \u0627\u0633\u062a:<\/span><\/p>\n<pre class=\"lang:python decode:true \">x, y = 10, 20\r\n\r\nprint(x, y)\r\n\r\nx, y = y, x\r\n\r\nprint(x, y)<\/pre>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u200c\u062f\u0631 \u0642\u0637\u0639\u0647 \u06a9\u062f \u0628\u0627\u0644\u0627 \u062f\u0648 \u0645\u0642\u062f\u0627\u0631 x \u0648 y \u0628\u062f\u0648\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0645\u062a\u063a\u06cc\u0631 \u062b\u0627\u0644\u062b \u062a\u063a\u06cc\u06cc\u0631 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f.<\/span><\/p>\n<p style=\"text-align: justify;\"><strong><span style=\"font-size: 16px;\">\u06f2- \u0645\u0639\u06a9\u0648\u0633 \u06a9\u0631\u062f\u0646 \u06cc\u06a9 \u0631\u0634\u062a\u0647 \u062f\u0631 \u067e\u0627\u06cc\u062a\u0648\u0646<\/span><\/strong><br \/>\n<span style=\"font-size: 16px;\"><\/span><span style=\"font-size: 16px;\"><\/span><\/p>\n<pre class=\"lang:python decode:true \">a = \"GeeksForGeeks\"\r\nprint(\"Reverse is\", a[::-1])<\/pre>\n<p style=\"text-align: justify;\"><strong><span style=\"font-size: 16px;\">\u06f3- \u0633\u0627\u062e\u062a \u06cc\u06a9 \u0631\u0634\u062a\u0647 \u0645\u0646\u0641\u0631\u062f \u0627\u0632 \u062a\u0645\u0627\u0645\u06cc \u0639\u0646\u0627\u0635\u0631 \u062f\u0631\u0648\u0646 \u06cc\u06a9 \u0641\u0647\u0631\u0633\u062a<\/span><\/strong><br \/>\n<span style=\"font-size: 16px;\"><\/span><span style=\"font-size: 16px;\"><\/span><\/p>\n<pre class=\"lang:python decode:true \">a = [\"Geeks\", \"For\", \"Geeks\"]\r\nprint(\" \".join(a))<\/pre>\n<p style=\"text-align: justify;\"><strong><span style=\"font-size: 16px;\">\u06f4- \u0628\u0647\u200c\u06a9\u0627\u0631\u06af\u06cc\u0631\u06cc \u0632\u0646\u062c\u06cc\u0631\u0647\u200c\u0627\u06cc \u0627\u0632 \u0639\u0645\u0644\u06af\u0631\u0647\u0627\u06cc \u0645\u0642\u0627\u06cc\u0633\u0647\u200c\u0627\u06cc<\/span><\/strong><br \/>\n<span style=\"font-size: 16px;\"><\/span><span style=\"font-size: 16px;\"><\/span><\/p>\n<pre class=\"lang:python decode:true \">n = 10\r\nresult = 1 &lt; n &lt; 20\r\nprint(result)\r\nresult = 1 &gt; n &lt;= 9\r\nprint(result)<\/pre>\n<p style=\"text-align: justify;\"><strong><span style=\"font-size: 16px;\">\u06f5- \u0686\u0627\u067e \u0645\u0633\u06cc\u0631 \u0641\u0627\u06cc\u0644 \u0645\u0631\u062a\u0628\u0637 \u0628\u0627 \u0645\u0627\u0698\u0648\u0644\u200c\u0647\u0627<\/span><\/strong><br \/>\n<span style=\"font-size: 16px;\"><\/span><span style=\"font-size: 16px;\"><\/span><\/p>\n<pre class=\"lang:python decode:true \">import os\r\nimport socket\r\nprint(os)\r\nprint(socket)<\/pre>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u062e\u0631\u0648\u062c\u06cc \u0642\u0637\u0639\u0647 \u06a9\u062f \u0628\u0627\u0644\u0627 \u0628\u0647 \u0634\u0631\u062d \u0632\u06cc\u0631 \u0627\u0633\u062a:<\/span><\/p>\n<p style=\"text-align: left;\"><span style=\"font-size: 16px;\">&lt;module &#8216;os&#8217; from &#8216;\/usr\/lib\/python3.5\/os.py&#8217;&gt;<\/span><\/p>\n<p style=\"text-align: left;\"><span style=\"font-size: 16px;\">&lt;module &#8216;socket&#8217; from &#8216;\/usr\/lib\/python3.5\/socket.py&#8217;&gt;<\/span><\/p>\n<p style=\"text-align: justify;\"><strong><span style=\"font-size: 16px;\">\u06f6- \u067e\u06cc\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u0645\u0641\u0647\u0648\u0645 Enum \u062f\u0631 \u067e\u0627\u06cc\u062a\u0648\u0646<\/span><\/strong><br \/>\n<span style=\"font-size: 16px;\"><\/span><span style=\"font-size: 16px;\"><\/span><\/p>\n<pre class=\"lang:python decode:true \">class MyName:\r\nGeeks, For, Geeks = range(3)\r\nprint(MyName.Geeks)\r\nprint(MyName.For)\r\nprint(MyName.Geeks)<\/pre>\n<p style=\"text-align: justify;\"><strong><span style=\"font-size: 16px;\">\u06f7- \u0628\u0631\u06af\u0631\u062f\u0627\u0646\u062f\u0646 \u0686\u0646\u062f \u0645\u0642\u062f\u0627\u0631 \u0627\u0632 \u062a\u0648\u0627\u0628\u0639<\/span><\/strong><br \/>\n<span style=\"font-size: 16px;\"><\/span><span style=\"font-size: 16px;\"><\/span><\/p>\n<pre class=\"lang:python decode:true\">def x():\r\nreturn 1, 2, 3, 4\r\na, b, c, d = x()\r\nprint(a, b, c, d)<\/pre>\n<p style=\"text-align: justify;\"><strong><span style=\"font-size: 16px;\">\u06f8- \u067e\u06cc\u062f\u0627 \u06a9\u0631\u062f\u0646 \u0639\u0646\u0635\u0631\u06cc \u06a9\u0647 \u0628\u06cc\u0634\u062a\u0631 \u0627\u0632 \u0633\u0627\u06cc\u0631 \u0639\u0646\u0627\u0635\u0631 \u062f\u0631 \u06cc\u06a9 \u0641\u0647\u0631\u0633\u062a \u062a\u06a9\u0631\u0627\u0631 \u0634\u062f\u0647 \u0627\u0633\u062a<\/span><\/strong><br \/>\n<span style=\"font-size: 16px;\"><\/span><span style=\"font-size: 16px;\"><\/span><\/p>\n<pre class=\"lang:python decode:true \">test = [1, 2, 3, 4, 2, 2, 3, 1, 4, 4, 4]\r\nprint(max(set(test), key = test.count))<\/pre>\n<p style=\"text-align: justify;\"><strong><span style=\"font-size: 16px;\">\u06f9- \u0628\u0631\u0631\u0633\u06cc \u0648\u0636\u0639\u06cc\u062a \u062d\u0627\u0641\u0638\u0647 \u06cc\u06a9 \u0634\u06cc<\/span><\/strong><br \/>\n<span style=\"font-size: 16px;\"><\/span><span style=\"font-size: 16px;\"><\/span><\/p>\n<pre class=\"lang:python decode:true \">import sys\r\nx = 1\r\nprint(sys.getsizeof(x))<\/pre>\n<p style=\"text-align: justify;\"><strong><span style=\"font-size: 16px;\">\u06f1\u06f0- \u0686\u0627\u067e \u0631\u0634\u062a\u0647\u200c\u0627\u06cc \u0628\u0647 \u062a\u0639\u062f\u0627\u062f N \u0645\u0631\u062a\u0628\u0647<\/span><\/strong><br \/>\n<span style=\"font-size: 16px;\"><\/span><span style=\"font-size: 16px;\"><\/span><\/p>\n<pre class=\"lang:python decode:true \">n = 2\r\na = \"GeeksforGeeks\"\r\nprint(a * n)<\/pre>\n<p style=\"text-align: justify;\"><strong><span style=\"font-size: 16px;\">\u06f1\u06f1- \u06a9\u062f \u0628\u0631\u0631\u0633\u06cc \u0622\u0646\u0627\u06af\u0631\u0627\u0645 \u0628\u0648\u062f\u0646 \u062f\u0648 \u06a9\u0644\u0645\u0647 \u062f\u0631 \u067e\u0627\u06cc\u062a\u0648\u0646<\/span><\/strong><br \/>\n<span style=\"font-size: 16px;\"><\/span><span style=\"font-size: 16px;\"><\/span><\/p>\n<pre class=\"lang:python decode:true \">from collections import Counter\r\ndef is_anagram(str1, str2):\r\nreturn Counter(str1) == Counter(str2)\r\n# or without having to import anything\r\ndef is_anagram(str1, str2):\r\nreturn sorted(str1) == sorted(str2)\r\nprint(is_anagram('geek', 'eegk'))\r\nprint(is_anagram('geek', 'peek'))<\/pre>\n<p style=\"text-align: justify;\"><strong><span style=\"font-size: 16px;\">\u06f1\u06f2- \u0630\u062e\u06cc\u0631\u0647\u200c\u0633\u0627\u0632\u06cc \u0633\u0647 \u0645\u0642\u062f\u0627\u0631 \u06cc\u06a9 \u0641\u0647\u0631\u0633\u062a \u062f\u0631\u0648\u0646 \u0633\u0647 \u0645\u062a\u063a\u06cc\u0631 \u062c\u062f\u06cc\u062f<\/span><\/strong><br \/>\n<span style=\"font-size: 16px;\"><\/span><span style=\"font-size: 16px;\"><\/span><\/p>\n<pre class=\"lang:python decode:true\">&gt;&gt;&gt; a = [1, 2, 3]\r\n&gt;&gt;&gt; x, y, z = a\r\n&gt;&gt;&gt; x\r\n\u06f1\r\n&gt;&gt;&gt; y\r\n\u06f2\r\n&gt;&gt;&gt; z\r\n\u06f3<\/pre>\n<p style=\"text-align: justify;\"><strong><span style=\"font-size: 16px;\">\u06f1\u06f3- \u0633\u0627\u062e\u062a \u06cc\u06a9 \u0641\u0647\u0631\u0633\u062a \u0648\u0627\u062d\u062f \u0628\u062f\u0648\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062d\u0644\u0642\u0647\u200c\u0647\u0627<\/span><\/strong><br \/>\n<span style=\"font-size: 16px;\"><\/span><span style=\"font-size: 16px;\"><\/span><\/p>\n<pre class=\"lang:python decode:true\">import itertools\r\ntest = [[-1, -2], [30, 40], [25, 35]]\r\nprint(list(itertools.chain.from_iterable(test)))\r\n#-&gt; [-1, -2, 30, 40, 25, 35]<\/pre>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u0627\u06af\u0631 \u06cc\u06a9 \u0641\u0647\u0631\u0633\u062a \u0648\u0631\u0648\u062f\u06cc \u0628\u0627 \u062d\u0644\u0642\u0647\u200c\u0647\u0627\u06cc \u062a\u0648\u062f\u0631\u062a\u0648 \u06cc\u0627 \u0646\u0648\u0639 \u062a\u0627\u067e\u0644 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0639\u0646\u0635\u0627\u0631 \u062f\u0627\u0631\u06cc\u062f\u060c \u0628\u0647\u062a\u0631 \u0627\u0633\u062a \u0627\u0632 \u062a\u06a9\u0646\u06cc\u06a9 \u0632\u06cc\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/span><\/p>\n<pre class=\"lang:python decode:true\">def unifylist(l_input, l_target):\r\nfor it in l_input:\r\nif isinstance(it, list):\r\nunifylist(it, l_target)\r\nelif isinstance(it, tuple):\r\nunifylist(list(it), l_target)\r\nelse:\r\nl_target.append(it)\r\nreturn l_target\r\ntest = [[-1, -2], [1,2,3, [4,(5,[6,7])]], (30, 40), [25, 35]]\r\nprint(unifylist(test,[]))\r\n#Output =&gt; [-1, -2, 1, 2, 3, 4, 5, 6, 7, 30, 40, 25, 35]<\/pre>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u0631\u0648\u0634 \u0633\u0627\u062f\u0647 \u062f\u06cc\u06af\u0631 \u0628\u0631\u0627\u06cc \u0633\u0627\u062e\u062a \u06cc\u06a9 \u0641\u0647\u0631\u0633\u062a \u0648\u0627\u062d\u062f \u06a9\u0647 \u0634\u0627\u0645\u0644 \u0641\u0647\u0631\u0633\u062a\u200c\u0647\u0627 \u0648 \u062a\u0627\u067e\u0644\u200c\u0647\u0627 \u0627\u0633\u062a \u0628\u0647\u200c\u06a9\u0627\u0631\u06af\u06cc\u0631\u06cc \u0628\u0633\u062a\u0647 &lt;more_itertools&gt; \u062f\u0631 \u067e\u0627\u06cc\u062a\u0648\u0646 \u0627\u0633\u062a. \u0627\u06cc\u0646 \u062a\u06a9\u0646\u06cc\u06a9 \u0647\u0645 \u0646\u06cc\u0627\u0632\u06cc \u0628\u0647 \u062d\u0644\u0642\u0647 \u0646\u062f\u0627\u0631\u062f. \u0631\u0648\u0634 \u0627\u0646\u062c\u0627\u0645 \u0627\u06cc\u0646\u200c\u06a9\u0627\u0631 \u0628\u0647 \u0634\u0631\u062d \u0632\u06cc\u0631 \u0627\u0633\u062a:<\/span><\/p>\n<pre class=\"lang:python decode:true\">import more_itertools\r\ntest = [[-1, -2], [1, 2, 3, [4, (5, [6, 7])]], (30, 40), [25, 35]]\r\nprint(list(more_itertools.collapse(test)))\r\n#Output=&gt; [-1, -2, 1, 2, 3, 4, 5, 6, 7, 30, 40, 25, 35]<\/pre>\n<p style=\"text-align: justify;\"><strong><span style=\"font-size: 16px;\">\u06f1\u06f4- \u067e\u06cc\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u06cc\u06a9 \u062f\u0633\u062a\u0648\u0631 switch-case \u062f\u0631 \u067e\u0627\u06cc\u062a\u0648\u0646<\/span><\/strong><\/p>\n<pre class=\"lang:python decode:true \">def xswitch(x):\r\nreturn xswitch._system_dict.get(x, None)\r\nxswitch._system_dict = {'files': 10, 'folders': 5, 'devices': 2}\r\nprint(xswitch('default'))\r\nprint(xswitch('devices'))\r\n#\u06f1-&gt; None\r\n#\u06f2-&gt; 2<\/pre>\n<p style=\"text-align: justify;\"><strong><span style=\"font-size: 16px;\">\u06f1\u06f5- \u062c\u0633\u062a\u200c\u0648\u062c\u0648\u06cc \u062f\u0631\u0648\u0646 \u062e\u0637\u06cc \u0628\u0631\u0627\u06cc \u067e\u06cc\u0634\u0648\u0646\u062f\u200c\u0647\u0627\u06cc \u0686\u0646\u062f\u06af\u0627\u0646\u0647 \u062f\u0631\u0648\u0646 \u06cc\u06a9 \u0631\u0634\u062a\u0647<\/span><\/strong><br \/>\n<span style=\"font-size: 16px;\"><\/span><span style=\"font-size: 16px;\"><\/span><\/p>\n<pre class=\"lang:python decode:true \">print(\"http:\/\/www.google.com\".startswith((\"http:\/\/\", \"https:\/\/\")))\r\nprint(\"http:\/\/www.google.co.uk\".endswith((\".com\", \".co.uk\")))\r\n#\u06f1-&gt; True\r\n#\u06f2-&gt; True<\/pre>\n<p style=\"text-align: justify;\"><strong><span style=\"font-size: 16px;\">\u06f1\u06f6- \u0633\u0627\u062e\u062a \u06cc\u06a9 \u0644\u063a\u062a\u200c\u0646\u0627\u0645\u0647 \u0627\u0632 \u062f\u0648 \u0645\u062c\u0645\u0648\u0639\u0647 \u0645\u0631\u062a\u0628\u0637 \u0628\u0627 \u0647\u0645<\/span><\/strong><br \/>\n<span style=\"font-size: 16px;\"><\/span><span style=\"font-size: 16px;\"><\/span><\/p>\n<pre class=\"lang:python decode:true\">t1 = (1, 2, 3)\r\nt2 = (10, 20, 30)\r\nprint(dict (zip(t1,t2)))\r\n#-&gt; {1: 10, 2: 20, 3: 30}<\/pre>\n<p style=\"text-align: justify;\"><strong><span style=\"font-size: 16px;\">\u06f1\u06f7- \u0628\u0627\u0645\u0628\u062f\u0627 \u0628\u0631\u0627\u06cc \u062a\u0642\u0644\u06cc\u062f \u0639\u0645\u0644\u06a9\u0631\u062f \u0686\u0627\u067e<\/span><\/strong><br \/>\n<span style=\"font-size: 16px;\"><\/span><span style=\"font-size: 16px;\"><\/span><\/p>\n<pre class=\"lang:python decode:true\">import sys\r\nlprint=lambda *args:sys.stdout.write(\" \".join(map(str,args)))\r\nlprint(\"python\", \"tips\",1000,1001)\r\n#-&gt; python tips 1000 1001<\/pre>\n<p style=\"text-align: justify;\"><strong><span style=\"font-size: 16px;\">\u06f1\u06f8- \u0628\u0647\u200c\u06a9\u0627\u0631\u200c\u06af\u06cc\u0631\u06cc __slots__to \u0628\u0631\u0627\u06cc \u06a9\u0645 \u06a9\u0631\u062f\u0646 \u0633\u0631\u0628\u0627\u0631\u0647 \u062d\u0627\u0641\u0638\u0647<\/span><\/strong><br \/>\n<span style=\"font-size: 16px;\"><\/span><span style=\"font-size: 16px;\"><\/span><\/p>\n<pre class=\"lang:python decode:true\">import sys\r\nclass FileSystem(object):\r\ndef __init__(self, files, folders, devices):\r\nself.files = files\r\nself.folders = folders\r\nself.devices = devices\r\nprint(sys.getsizeof( FileSystem ))\r\nclass FileSystem1(object):\r\n__slots__ = ['files', 'folders', 'devices']\r\ndef __init__(self, files, folders, devices):\r\nself.files = files\r\nself.folders = folders\r\nself.devices = devices\r\nprint(sys.getsizeof( FileSystem1 ))\r\n#In Python 3.5\r\n#\u06f1-&gt; 1016\r\n#\u06f2-&gt; 888<\/pre>\n<p style=\"text-align: justify;\"><strong><span style=\"font-size: 16px;\">\u06f1\u06f9- \u0645\u062d\u0627\u0633\u0628\u0647 \u0641\u0627\u06a9\u062a\u0648\u0631\u06cc\u0644 \u0647\u0631 \u0639\u062f\u062f\u06cc \u062a\u0646\u0647\u0627 \u062f\u0631 \u06cc\u06a9 \u062e\u0637<\/span><\/strong><br \/>\n<span style=\"font-size: 16px;\"><\/span><span style=\"font-size: 16px;\"><\/span><\/p>\n<pre class=\"lang:python decode:true \">import functools\r\nresult = (lambda k: functools.reduce(int.__mul__, range(1,k+1),1))(3)\r\nprint(result)\r\n#-&gt; 6<\/pre>\n<p style=\"text-align: justify;\"><strong><span style=\"font-size: 16px;\">\u06f2\u06f0- \u200c\u0628\u0647\u200c\u06a9\u0627\u0631\u06af\u06cc\u0631\u06cc \u06cc\u06a9 \u0644\u063a\u062a\u200c\u0646\u0627\u0645\u0647 \u0628\u0631\u0627\u06cc \u0630\u062e\u06cc\u0631\u0647\u200c\u0633\u0627\u0632\u06cc \u06cc\u06a9 \u0633\u0648\u06cc\u06cc\u0686<\/span><\/strong><br \/>\n<span style=\"font-size: 16px;\"><\/span><span style=\"font-size: 16px;\"><\/span><\/p>\n<pre class=\"lang:python decode:true \">stdcalc = {\r\n'sum': lambda x, y: x + y,\r\n'subtract': lambda x, y: x - y\r\n}\r\nprint(stdcalc['sum'](9,3))\r\nprint(stdcalc['subtract'](9,3))\r\n#\u06f1-&gt; 12\r\n#\u06f2-&gt; 6<\/pre>\n<p style=\"text-align: justify;\"><strong><span style=\"font-size: 16px;\">\u06f2\u06f1- \u0628\u0627\u0632 \u06a9\u0631\u062f\u0646 \u0639\u0645\u0644\u06af\u0631\u062f\u0647\u0627\u06cc \u06cc\u06a9 \u062a\u0627\u0628\u0639 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0639\u0645\u0644\u06af\u0631 splat<\/span><\/strong><br \/>\n<span style=\"font-size: 16px;\"><\/span><span style=\"font-size: 16px;\"><\/span><\/p>\n<pre class=\"lang:python decode:true \">def test(x, y, z):\r\nprint(x, y, z)\r\ntestDict = {'x': 1, 'y': 2, 'z': 3}\r\ntestList = [10, 20, 30]\r\ntest(*testDict)\r\ntest(**testDict)\r\ntest(*testList)\r\n#\u06f1-&gt; x y z\r\n#\u06f2-&gt; 1 2 3\r\n#\u06f3-&gt; 10 20 30<\/pre>\n<p style=\"text-align: justify;\"><strong><span style=\"font-size: 16px;\">\u06f2\u06f2- \u0645\u0639\u06a9\u0648\u0633 \u06a9\u0631\u062f\u0646 \u06cc\u06a9 \u0631\u0634\u062a\u0647 \u062f\u0631 \u06cc\u06a9 \u062e\u0637<\/span><\/strong><\/p>\n<pre class=\"lang:python decode:true \">\"Test Python\"[::-1]<\/pre>\n<p style=\"text-align: justify;\"><strong><span style=\"font-size: 16px;\">\u06f2\u06f3- \u0645\u0639\u06a9\u0648\u0633 \u06a9\u0631\u062f\u0646 \u06cc\u06a9 \u0641\u0647\u0631\u0633\u062a<\/span><\/strong><br \/>\n<span style=\"font-size: 16px;\"><\/span><span style=\"font-size: 16px;\"><\/span><\/p>\n<pre class=\"lang:python decode:true \">testList = [1, 3, 5]\r\ntestList.reverse()\r\nprint(testList)\r\n#-&gt; [5, 3, 1]<\/pre>\n<p style=\"text-align: justify;\"><strong><span style=\"font-size: 16px;\">\u06f2\u06f4- \u0634\u0646\u0627\u0633\u0627\u06cc\u06cc \u0646\u0633\u062e\u0647 \u067e\u0627\u06cc\u062a\u0648\u0646 \u062f\u0631 \u0632\u0645\u0627\u0646 \u0627\u062c\u0631\u0627<\/span><\/strong><br \/>\n<span style=\"font-size: 16px;\">\u06af\u0627\u0647\u06cc \u0627\u0648\u0642\u0627\u062a \u062a\u0645\u0627\u06cc\u0644\u06cc \u0646\u062f\u0627\u0631\u06cc\u0645 \u0628\u0631\u0646\u0627\u0645\u0647 \u0645\u0627 \u062f\u0631 \u0634\u0631\u0627\u06cc\u0637\u06cc \u0627\u062c\u0631\u0627 \u0634\u0648\u062f \u06a9\u0647 \u0645\u0648\u062a\u0648\u0631 \u067e\u0627\u06cc\u062a\u0648\u0646 \u06a9\u0645\u062a\u0631 \u0627\u0632 \u0646\u0633\u062e\u0647\u200c\u0627\u06cc \u0628\u0627\u0634\u062f \u06a9\u0647 \u0628\u0631\u0646\u0627\u0645\u0647 \u062e\u0648\u062f \u0631\u0627 \u0628\u0631 \u0645\u0628\u0646\u0627\u06cc \u0622\u0646 \u0633\u0627\u062e\u062a\u0647\u200c\u0627\u06cc\u0645. \u0628\u0631\u0627\u06cc \u0627\u0646\u062c\u0627\u0645 \u0627\u06cc\u0646\u200c\u06a9\u0627\u0631 \u0628\u0627\u06cc\u062f \u0642\u0637\u0639\u0647 \u06a9\u0648\u0686\u06a9\u06cc \u0628\u0631\u0627\u06cc \u0628\u0631\u0631\u0633\u06cc \u0627\u06cc\u0646 \u0645\u0648\u0636\u0648\u0639 \u0628\u0646\u0648\u06cc\u0633\u06cc\u0645. \u0642\u0637\u0639\u0647 \u06a9\u062f \u0632\u06cc\u0631 \u0646\u062d\u0648\u0647 \u0627\u0646\u062c\u0627\u0645 \u0627\u06cc\u0646\u200c\u06a9\u0627\u0631 \u0631\u0627 \u0628\u0627 \u0641\u0631\u0645\u062a\u06cc \u0642\u0627\u0628\u0644 \u0641\u0647\u0645 \u0646\u0634\u0627\u0646 \u0645\u06cc\u200c\u062f\u0647\u062f.<\/span><\/p>\n<pre class=\"lang:python decode:true \">import sys\r\n#Detect the Python version currently in use.\r\nif not hasattr(sys, \"hexversion\") or sys.hexversion != 50660080:\r\nprint(\"Sorry, you aren't running on Python 3.5\\n\")\r\nprint(\"Please upgrade to 3.5.\\n\")\r\nsys.exit(1)\r\n#Print Python version in a readable format.\r\nprint(\"Current Python version: \", sys.version)<\/pre>\n<p style=\"text-align: justify;\"><strong><span style=\"font-size: 16px;\">\u06f2\u06f5- \u0633\u0627\u062f\u0647 \u06a9\u0631\u062f\u0646 \u062f\u0633\u062a\u0648\u0631 if<\/span><\/strong><br \/>\n<span style=\"font-size: 16px;\">\u0628\u0631\u0627\u06cc \u0627\u0639\u062a\u0628\u0627\u0631\u0633\u0646\u062c\u06cc \u0686\u0646\u062f \u0645\u0642\u062f\u0627\u0631\u060c \u0645\u0627 \u0627\u0632 \u0631\u0648\u0634 \u0632\u06cc\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645<\/span><\/p>\n<pre class=\"lang:python decode:true \">if m in [1,3,5,7]:<\/pre>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u0628\u0647 \u062c\u0627\u06cc \u0631\u0648\u0634 \u0641\u0648\u0642 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0627\u0632 \u0631\u0648\u0634 \u0632\u06cc\u0631 \u0646\u06cc\u0632 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f:<\/span><\/p>\n<pre class=\"lang:python decode:true \">if m==1 or m==3 or m==5 or m==7:<\/pre>\n<p style=\"text-align: justify;\"><strong><span style=\"font-size: 16px;\">\u06f2\u06f6- \u0628\u0627\u0632\u0631\u0633\u06cc \u06cc\u06a9 \u0634\u06cc \u062f\u0631 \u067e\u0627\u06cc\u062a\u0648\u0646<\/span><\/strong><br \/>\n<span style=\"font-size: 16px;\">\u0645\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u0645 \u0628\u0647 \u0628\u0627\u0632\u0631\u0633\u06cc \u0627\u0634\u06cc\u0627 \u062f\u0631 \u067e\u0627\u06cc\u062a\u0648\u0646 \u0628\u0627 \u0641\u0631\u0627\u062e\u0648\u0627\u0646\u06cc \u0645\u062a\u062f dir() \u0628\u067e\u0631\u062f\u0627\u0632\u06cc\u0645. \u0642\u0637\u0639\u0647 \u06a9\u062f \u0632\u06cc\u0631 \u0646\u062d\u0648\u0647 \u0627\u0646\u062c\u0627\u0645 \u0627\u06cc\u0646\u200c\u06a9\u0627\u0631 \u0631\u0627 \u0646\u0634\u0627\u0646 \u0645\u06cc\u200c\u062f\u0647\u062f.<\/span><\/p>\n<pre class=\"lang:python decode:true \">test = [1, 3, 5, 7]\r\nprint( dir(test) )<\/pre>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u062e\u0631\u0648\u062c\u06cc \u0642\u0637\u0639\u0647 \u06a9\u062f \u0628\u0627\u0644\u0627 \u0628\u0647 \u0634\u0631\u062d \u0632\u06cc\u0631 \u0627\u0633\u062a:<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">[&#8216;__add__&#8217;, &#8216;__class__&#8217;, &#8216;__contains__&#8217;, &#8216;__delattr__&#8217;, &#8216;__delitem__&#8217;, &#8216;__delslice__&#8217;, &#8216;__doc__&#8217;, &#8216;__eq__&#8217;, &#8216;__format__&#8217;, &#8216;__ge__&#8217;, &#8216;__getattribute__&#8217;, &#8216;__getitem__&#8217;, &#8216;__getslice__&#8217;, &#8216;__gt__&#8217;, &#8216;__hash__&#8217;, &#8216;__iadd__&#8217;, &#8216;__imul__&#8217;, &#8216;__init__&#8217;, &#8216;__iter__&#8217;, &#8216;__le__&#8217;, &#8216;__len__&#8217;, &#8216;__lt__&#8217;, &#8216;__mul__&#8217;, &#8216;__ne__&#8217;, &#8216;__new__&#8217;, &#8216;__reduce__&#8217;, &#8216;__reduce_ex__&#8217;, &#8216;__repr__&#8217;, &#8216;__reversed__&#8217;, &#8216;__rmul__&#8217;, &#8216;__setattr__&#8217;, &#8216;__setitem__&#8217;, &#8216;__setslice__&#8217;, &#8216;__sizeof__&#8217;, &#8216;__str__&#8217;, &#8216;__subclasshook__&#8217;, &#8216;append&#8217;, &#8216;count&#8217;, &#8216;extend&#8217;, &#8216;index&#8217;, &#8216;insert&#8217;, &#8216;pop&#8217;, &#8216;remove&#8217;, &#8216;reverse&#8217;, &#8216;sort&#8217;]<\/span><\/p>\n<p style=\"text-align: justify;\"><strong><span style=\"font-size: 16px;\">\u06f2\u06f7- \u062a\u0646\u0638\u06cc\u0645 File Sharing<\/span><\/strong><br \/>\n<span style=\"font-size: 16px;\">\u067e\u0627\u06cc\u062a\u0648\u0646 \u0627\u062c\u0627\u0632\u0647 \u0627\u062c\u0631\u0627\u06cc \u06cc\u06a9 \u0633\u0631\u0648\u0631 HTTP \u0631\u0627 \u0645\u06cc\u200c\u062f\u0647\u062f \u06a9\u0647 \u0634\u0645\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0631\u0627\u06cc \u0628\u0647\u200c\u0627\u0634\u062a\u0631\u0627\u06a9\u200c\u06af\u0630\u0627\u0631\u06cc \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u0627\u0632 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0631\u06cc\u0634\u0647 \u0633\u0631\u0648\u0631 \u0627\u0632 \u0622\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f. \u0641\u0631\u0645\u0627\u0646 \u0632\u06cc\u0631 \u0628\u0631\u0627\u06cc \u0627\u0646\u062c\u0627\u0645 \u0627\u06cc\u0646\u200c\u06a9\u0627\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f:<\/span><\/p>\n<pre class=\"lang:python decode:true \">python3 -m http.server<\/pre>\n<p style=\"text-align: justify;\"><strong><span style=\"font-size: 16px;\">\u06f2\u06f8- \u062f\u06cc\u0628\u0627\u06af \u06a9\u0631\u062f\u0646 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a\u200c\u0647\u0627<\/span><\/strong><br \/>\n<span style=\"font-size: 16px;\">\u0645\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u0645 \u0646\u0642\u0627\u0637 \u0634\u06a9\u0633\u062a\u06cc \u062f\u0631 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a\u200c\u0647\u0627\u06cc \u067e\u0627\u06cc\u062a\u0648\u0646 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0645\u0627\u0698\u0648\u0644 &lt;pdb&gt; \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u0645. \u0642\u0637\u0639\u0647 \u06a9\u062f \u0632\u06cc\u0631 \u0646\u062d\u0648\u0647 \u0627\u0646\u062c\u0627\u0645 \u0627\u06cc\u0646\u200c\u06a9\u0627\u0631 \u0631\u0627 \u0646\u0634\u0627\u0646 \u0645\u06cc\u200c\u062f\u0647\u062f:<\/span><\/p>\n<pre class=\"lang:python decode:true \">import pdb\r\npdb.set_trace()<\/pre>\n<p style=\"text-align: justify;\"><strong><span style=\"font-size: 16px;\">\u06f2\u06f9- \u0627\u0632 \u06a9\u0627\u0631\u0628\u0631\u062f \u0639\u0645\u0644\u06af\u0631 _ \u200c\u063a\u0627\u0641\u0644 \u0646\u0634\u0648\u06cc\u062f<\/span><\/strong><br \/>\n<span style=\"font-size: 16px;\">\u0627\u06cc\u0646 \u0642\u0627\u0628\u0644\u06cc\u062a \u062e\u06cc\u0644\u06cc \u0645\u0641\u06cc\u062f \u0627\u0633\u062a \u0648 \u0628\u06cc\u0634\u062a\u0631 \u0645\u0627 \u0627\u0632 \u0648\u062c\u0648\u062f \u0622\u0646 \u0628\u06cc \u0627\u0637\u0644\u0627\u0639 \u0647\u0633\u062a\u06cc\u0645. \u062f\u0631 \u06a9\u0646\u0633\u0648\u0644 \u067e\u0627\u06cc\u062a\u0648\u0646 \u060c \u0647\u0631 \u0632\u0645\u0627\u0646 \u0639\u0628\u0627\u0631\u062a\u06cc \u0631\u0627 \u062a\u0633\u062a \u06a9\u0646\u06cc\u0645 \u06cc\u0627 \u062a\u0627\u0628\u0639\u06cc \u0631\u0627 \u0641\u0631\u0627\u062e\u0648\u0627\u0646\u06cc \u06a9\u0646\u06cc\u0645\u060c \u0646\u062a\u06cc\u062c\u0647 \u0628\u0647 \u06cc\u06a9 \u0646\u0627\u0645 \u0645\u0648\u0642\u062a \u0627\u0631\u0633\u0627\u0644 \u0645\u06cc\u200c\u0634\u0648\u062f \u06a9\u0647 \u06cc\u06a9 \u0632\u06cc\u0631\u062e\u0637 (_ ) \u0627\u0633\u062a \u0627\u0631\u0633\u0627\u0644 \u0645\u06cc\u200c\u0634\u0648\u062f. _ \u0628\u0647 \u0622\u062e\u0631\u06cc\u0646 \u062e\u0631\u0648\u062c\u06cc \u0627\u0632 \u0622\u062e\u0631\u06cc\u0646 \u0639\u0628\u0627\u0631\u062a \u0627\u062c\u0631\u0627\u06cc\u06cc \u0627\u0634\u0627\u0631\u0647 \u062f\u0627\u0631\u062f. \u0628\u0647 \u0642\u0637\u0639\u0647 \u06a9\u062f \u0632\u06cc\u0631 \u062f\u0642\u062a \u06a9\u0646\u06cc\u062f.<\/span><\/p>\n<pre class=\"lang:python decode:true \">&gt;&gt;&gt; 2 + 1\r\n\u06f3\r\n&gt;&gt;&gt; _\r\n\u06f3\r\n&gt;&gt;&gt; print _\r\n\u06f3<\/pre>\n<p><span style=\"font-size: 16px;\">\u0647\u0645\u0627\u0646\u200c\u06af\u0648\u0646\u0647 \u06a9\u0647 \u0645\u0634\u0627\u0647\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u062f \u062f\u0633\u062a\u0648\u0631 \u0686\u0627\u067e \u0647\u0645\u0631\u0627\u0647 \u0628\u0627 \u0639\u0645\u0644\u06af\u0631 \u0632\u06cc\u0631 \u062e\u0637 \u062e\u0631\u0648\u062c\u06cc \u0631\u0627 \u0622\u062e\u0631\u06cc\u0646 \u0641\u0631\u0645\u0627\u0646 \u0627\u062c\u0631\u0627\u06cc\u06cc \u0631\u0627 \u0646\u0634\u0627\u0646 \u0645\u06cc\u200c\u062f\u0647\u062f.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u067e\u0627\u06cc\u062a\u0648\u0646 \u06cc\u06a9\u06cc \u0627\u0632 \u067e\u0631 \u06a9\u0627\u0631\u0628\u0631\u062f\u062a\u0631\u06cc\u0646 \u0632\u0628\u0627\u0646\u200c\u0647\u0627\u06cc \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u06cc \u0627\u0633\u062a. \u062e\u0648\u0627\u0646\u0627\u06cc\u06cc \u0648 \u06a9\u0648\u062a\u0627\u0647\u200c\u0646\u0648\u06cc\u0633\u06cc \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0628\u0627\u0639\u062b \u0634\u062f\u0647 \u062a\u0627 \u062a\u0648\u0633\u0639\u0647\u200c\u062f\u0647\u0646\u062f\u06af\u0627\u0646 \u0627\u0632 \u067e\u0627\u06cc\u062a\u0648\u0646 \u0628\u0631\u0627\u06cc \u0627\u0646\u062c\u0627\u0645 \u067e\u0631\u0648\u0698\u0647\u200c\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u0646\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628 \u0628\u0647 \u0645\u0639\u0631\u0641\u06cc \u0686\u0646\u062f \u062a\u0631\u0641\u0646\u062f \u06a9\u0627\u0631\u0628\u0631\u062f\u06cc \u0645\u06cc\u200c\u067e\u0631\u062f\u0627\u0632\u06cc\u0645 \u06a9\u0647 \u062f\u0631 \u0632\u0645\u0627\u0646 \u06a9\u062f\u0646\u0648\u06cc\u0633\u06cc \u0628\u0647 \u0634\u0645\u0627 \u06a9\u0645\u06a9 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f.<\/p>\n","protected":false},"author":1,"featured_media":7706,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[458,399,6,2175],"tags":[381,109,382,2254],"class_list":["post-7705","post","type-post","status-publish","format-standard","has-post-thumbnail","category-__","category-399","category-6","category-2175","tag-python","tag-109","tag-382","tag-2254"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u062a\u0631\u0641\u0646\u062f\u0647\u0627\u06cc \u0645\u0647\u0645 \u0648 \u06a9\u0627\u0631 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632 \u067e\u0627\u06cc\u062a\u0648\u0646! - \u0633\u06cc\u062f \u0645\u0647\u062f\u06cc \u0633\u0644\u06cc\u0645\u06cc<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mehdisalimi.ir\/?p=7705\" \/>\n<meta property=\"og:locale\" content=\"fa_IR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u062a\u0631\u0641\u0646\u062f\u0647\u0627\u06cc \u0645\u0647\u0645 \u0648 \u06a9\u0627\u0631 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632 \u067e\u0627\u06cc\u062a\u0648\u0646! - \u0633\u06cc\u062f \u0645\u0647\u062f\u06cc \u0633\u0644\u06cc\u0645\u06cc\" \/>\n<meta property=\"og:description\" content=\"\u067e\u0627\u06cc\u062a\u0648\u0646 \u06cc\u06a9\u06cc \u0627\u0632 \u067e\u0631 \u06a9\u0627\u0631\u0628\u0631\u062f\u062a\u0631\u06cc\u0646 \u0632\u0628\u0627\u0646\u200c\u0647\u0627\u06cc \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u06cc \u0627\u0633\u062a. \u062e\u0648\u0627\u0646\u0627\u06cc\u06cc \u0648 \u06a9\u0648\u062a\u0627\u0647\u200c\u0646\u0648\u06cc\u0633\u06cc \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0628\u0627\u0639\u062b \u0634\u062f\u0647 \u062a\u0627 \u062a\u0648\u0633\u0639\u0647\u200c\u062f\u0647\u0646\u062f\u06af\u0627\u0646 \u0627\u0632 \u067e\u0627\u06cc\u062a\u0648\u0646 \u0628\u0631\u0627\u06cc \u0627\u0646\u062c\u0627\u0645 \u067e\u0631\u0648\u0698\u0647\u200c\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u0646\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628 \u0628\u0647 \u0645\u0639\u0631\u0641\u06cc \u0686\u0646\u062f \u062a\u0631\u0641\u0646\u062f \u06a9\u0627\u0631\u0628\u0631\u062f\u06cc \u0645\u06cc\u200c\u067e\u0631\u062f\u0627\u0632\u06cc\u0645 \u06a9\u0647 \u062f\u0631 \u0632\u0645\u0627\u0646 \u06a9\u062f\u0646\u0648\u06cc\u0633\u06cc \u0628\u0647 \u0634\u0645\u0627 \u06a9\u0645\u06a9 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mehdisalimi.ir\/?p=7705\" \/>\n<meta property=\"og:site_name\" content=\"\u0633\u06cc\u062f \u0645\u0647\u062f\u06cc \u0633\u0644\u06cc\u0645\u06cc\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/mehdisalimi13\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/mehdisalimi13\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-28T11:42:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-01-28T12:08:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mehdisalimi.ir\/wp-content\/uploads\/2021\/01\/python-trick.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"580\" \/>\n\t<meta property=\"og:image:height\" content=\"263\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Mehd!Salimi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/mehdisalimi13\" \/>\n<meta name=\"twitter:site\" content=\"@mehdisalimi13\" \/>\n<meta name=\"twitter:label1\" content=\"\u0646\u0648\u0634\u062a\u0647\u200c\u0634\u062f\u0647 \u0628\u062f\u0633\u062a\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mehd!Salimi\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u062f\u0642\u06cc\u0642\u0647\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/?p=7705#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/?p=7705\"},\"author\":{\"name\":\"Mehd!Salimi\",\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/#\\\/schema\\\/person\\\/aa4ebf7fb5115362f325b292af001e65\"},\"headline\":\"\u062a\u0631\u0641\u0646\u062f\u0647\u0627\u06cc \u0645\u0647\u0645 \u0648 \u06a9\u0627\u0631 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632 \u067e\u0627\u06cc\u062a\u0648\u0646!\",\"datePublished\":\"2021-01-28T11:42:28+00:00\",\"dateModified\":\"2021-01-28T12:08:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/?p=7705\"},\"wordCount\":115,\"publisher\":{\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/#\\\/schema\\\/person\\\/aa4ebf7fb5115362f325b292af001e65\"},\"image\":{\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/?p=7705#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/mehdisalimi.ir\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/python-trick.jpg\",\"keywords\":[\"Python\",\"\u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc\",\"\u067e\u0627\u06cc\u062a\u0648\u0646\",\"\u062a\u0631\u0641\u0646\u062f\"],\"articleSection\":[\"#\u0628\u0631\u0646\u0627\u0645\u0647_\u0646\u0648\u06cc\u0633\u06cc_\u067e\u0627\u06cc\u062a\u0648\u0646\",\"\u0622\u0645\u0648\u0632\u0634\",\"\u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc\",\"\u0645\u062c\u0644\u0647 \u0641\u0646\u0627\u0648\u0631\u06cc\"],\"inLanguage\":\"fa-IR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/?p=7705\",\"url\":\"https:\\\/\\\/mehdisalimi.ir\\\/?p=7705\",\"name\":\"\u062a\u0631\u0641\u0646\u062f\u0647\u0627\u06cc \u0645\u0647\u0645 \u0648 \u06a9\u0627\u0631 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632 \u067e\u0627\u06cc\u062a\u0648\u0646! - \u0633\u06cc\u062f \u0645\u0647\u062f\u06cc \u0633\u0644\u06cc\u0645\u06cc\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/?p=7705#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/?p=7705#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/mehdisalimi.ir\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/python-trick.jpg\",\"datePublished\":\"2021-01-28T11:42:28+00:00\",\"dateModified\":\"2021-01-28T12:08:48+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/?p=7705#breadcrumb\"},\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/mehdisalimi.ir\\\/?p=7705\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/?p=7705#primaryimage\",\"url\":\"https:\\\/\\\/mehdisalimi.ir\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/python-trick.jpg\",\"contentUrl\":\"https:\\\/\\\/mehdisalimi.ir\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/python-trick.jpg\",\"width\":580,\"height\":263},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/?p=7705#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u062e\u0627\u0646\u0647\",\"item\":\"https:\\\/\\\/mehdisalimi.ir\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u062a\u0631\u0641\u0646\u062f\u0647\u0627\u06cc \u0645\u0647\u0645 \u0648 \u06a9\u0627\u0631 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632 \u067e\u0627\u06cc\u062a\u0648\u0646!\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/#website\",\"url\":\"https:\\\/\\\/mehdisalimi.ir\\\/\",\"name\":\"\u0633\u06cc\u062f \u0645\u0647\u062f\u06cc \u0633\u0644\u06cc\u0645\u06cc\",\"description\":\"[\u06cc\u0627\u062f\u062f\u0627\u0634\u062a \u0647\u0627 \u0648 \u0647\u0631 \u0627\u0632 \u06af\u0627\u0647\u06cc \u0686\u0646\u062f \u062e\u0637 \u06a9\u062f]\",\"publisher\":{\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/#\\\/schema\\\/person\\\/aa4ebf7fb5115362f325b292af001e65\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/mehdisalimi.ir\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fa-IR\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/#\\\/schema\\\/person\\\/aa4ebf7fb5115362f325b292af001e65\",\"name\":\"Mehd!Salimi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/llog2.png\",\"url\":\"https:\\\/\\\/mehdisalimi.ir\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/llog2.png\",\"contentUrl\":\"https:\\\/\\\/mehdisalimi.ir\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/llog2.png\",\"width\":450,\"height\":180,\"caption\":\"Mehd!Salimi\"},\"logo\":{\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/llog2.png\"},\"sameAs\":[\"http:\\\/\\\/www.mehdisalimi.ir\",\"https:\\\/\\\/www.facebook.com\\\/mehdisalimi13\",\"https:\\\/\\\/ir.linkedin.com\\\/in\\\/mehdisalimi13\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/mehdisalimi13\"],\"url\":\"https:\\\/\\\/mehdisalimi.ir\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u062a\u0631\u0641\u0646\u062f\u0647\u0627\u06cc \u0645\u0647\u0645 \u0648 \u06a9\u0627\u0631 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632 \u067e\u0627\u06cc\u062a\u0648\u0646! - \u0633\u06cc\u062f \u0645\u0647\u062f\u06cc \u0633\u0644\u06cc\u0645\u06cc","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/mehdisalimi.ir\/?p=7705","og_locale":"fa_IR","og_type":"article","og_title":"\u062a\u0631\u0641\u0646\u062f\u0647\u0627\u06cc \u0645\u0647\u0645 \u0648 \u06a9\u0627\u0631 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632 \u067e\u0627\u06cc\u062a\u0648\u0646! - \u0633\u06cc\u062f \u0645\u0647\u062f\u06cc \u0633\u0644\u06cc\u0645\u06cc","og_description":"\u067e\u0627\u06cc\u062a\u0648\u0646 \u06cc\u06a9\u06cc \u0627\u0632 \u067e\u0631 \u06a9\u0627\u0631\u0628\u0631\u062f\u062a\u0631\u06cc\u0646 \u0632\u0628\u0627\u0646\u200c\u0647\u0627\u06cc \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u06cc \u0627\u0633\u062a. \u062e\u0648\u0627\u0646\u0627\u06cc\u06cc \u0648 \u06a9\u0648\u062a\u0627\u0647\u200c\u0646\u0648\u06cc\u0633\u06cc \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0628\u0627\u0639\u062b \u0634\u062f\u0647 \u062a\u0627 \u062a\u0648\u0633\u0639\u0647\u200c\u062f\u0647\u0646\u062f\u06af\u0627\u0646 \u0627\u0632 \u067e\u0627\u06cc\u062a\u0648\u0646 \u0628\u0631\u0627\u06cc \u0627\u0646\u062c\u0627\u0645 \u067e\u0631\u0648\u0698\u0647\u200c\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u0646\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628 \u0628\u0647 \u0645\u0639\u0631\u0641\u06cc \u0686\u0646\u062f \u062a\u0631\u0641\u0646\u062f \u06a9\u0627\u0631\u0628\u0631\u062f\u06cc \u0645\u06cc\u200c\u067e\u0631\u062f\u0627\u0632\u06cc\u0645 \u06a9\u0647 \u062f\u0631 \u0632\u0645\u0627\u0646 \u06a9\u062f\u0646\u0648\u06cc\u0633\u06cc \u0628\u0647 \u0634\u0645\u0627 \u06a9\u0645\u06a9 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f.","og_url":"https:\/\/mehdisalimi.ir\/?p=7705","og_site_name":"\u0633\u06cc\u062f \u0645\u0647\u062f\u06cc \u0633\u0644\u06cc\u0645\u06cc","article_publisher":"https:\/\/www.facebook.com\/mehdisalimi13","article_author":"https:\/\/www.facebook.com\/mehdisalimi13","article_published_time":"2021-01-28T11:42:28+00:00","article_modified_time":"2021-01-28T12:08:48+00:00","og_image":[{"width":580,"height":263,"url":"https:\/\/mehdisalimi.ir\/wp-content\/uploads\/2021\/01\/python-trick.jpg","type":"image\/jpeg"}],"author":"Mehd!Salimi","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/mehdisalimi13","twitter_site":"@mehdisalimi13","twitter_misc":{"\u0646\u0648\u0634\u062a\u0647\u200c\u0634\u062f\u0647 \u0628\u062f\u0633\u062a":"Mehd!Salimi","\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646":"4 \u062f\u0642\u06cc\u0642\u0647"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/mehdisalimi.ir\/?p=7705#article","isPartOf":{"@id":"https:\/\/mehdisalimi.ir\/?p=7705"},"author":{"name":"Mehd!Salimi","@id":"https:\/\/mehdisalimi.ir\/#\/schema\/person\/aa4ebf7fb5115362f325b292af001e65"},"headline":"\u062a\u0631\u0641\u0646\u062f\u0647\u0627\u06cc \u0645\u0647\u0645 \u0648 \u06a9\u0627\u0631 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632 \u067e\u0627\u06cc\u062a\u0648\u0646!","datePublished":"2021-01-28T11:42:28+00:00","dateModified":"2021-01-28T12:08:48+00:00","mainEntityOfPage":{"@id":"https:\/\/mehdisalimi.ir\/?p=7705"},"wordCount":115,"publisher":{"@id":"https:\/\/mehdisalimi.ir\/#\/schema\/person\/aa4ebf7fb5115362f325b292af001e65"},"image":{"@id":"https:\/\/mehdisalimi.ir\/?p=7705#primaryimage"},"thumbnailUrl":"https:\/\/mehdisalimi.ir\/wp-content\/uploads\/2021\/01\/python-trick.jpg","keywords":["Python","\u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc","\u067e\u0627\u06cc\u062a\u0648\u0646","\u062a\u0631\u0641\u0646\u062f"],"articleSection":["#\u0628\u0631\u0646\u0627\u0645\u0647_\u0646\u0648\u06cc\u0633\u06cc_\u067e\u0627\u06cc\u062a\u0648\u0646","\u0622\u0645\u0648\u0632\u0634","\u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc","\u0645\u062c\u0644\u0647 \u0641\u0646\u0627\u0648\u0631\u06cc"],"inLanguage":"fa-IR"},{"@type":"WebPage","@id":"https:\/\/mehdisalimi.ir\/?p=7705","url":"https:\/\/mehdisalimi.ir\/?p=7705","name":"\u062a\u0631\u0641\u0646\u062f\u0647\u0627\u06cc \u0645\u0647\u0645 \u0648 \u06a9\u0627\u0631 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632 \u067e\u0627\u06cc\u062a\u0648\u0646! - \u0633\u06cc\u062f \u0645\u0647\u062f\u06cc \u0633\u0644\u06cc\u0645\u06cc","isPartOf":{"@id":"https:\/\/mehdisalimi.ir\/#website"},"primaryImageOfPage":{"@id":"https:\/\/mehdisalimi.ir\/?p=7705#primaryimage"},"image":{"@id":"https:\/\/mehdisalimi.ir\/?p=7705#primaryimage"},"thumbnailUrl":"https:\/\/mehdisalimi.ir\/wp-content\/uploads\/2021\/01\/python-trick.jpg","datePublished":"2021-01-28T11:42:28+00:00","dateModified":"2021-01-28T12:08:48+00:00","breadcrumb":{"@id":"https:\/\/mehdisalimi.ir\/?p=7705#breadcrumb"},"inLanguage":"fa-IR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mehdisalimi.ir\/?p=7705"]}]},{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/mehdisalimi.ir\/?p=7705#primaryimage","url":"https:\/\/mehdisalimi.ir\/wp-content\/uploads\/2021\/01\/python-trick.jpg","contentUrl":"https:\/\/mehdisalimi.ir\/wp-content\/uploads\/2021\/01\/python-trick.jpg","width":580,"height":263},{"@type":"BreadcrumbList","@id":"https:\/\/mehdisalimi.ir\/?p=7705#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u062e\u0627\u0646\u0647","item":"https:\/\/mehdisalimi.ir\/"},{"@type":"ListItem","position":2,"name":"\u062a\u0631\u0641\u0646\u062f\u0647\u0627\u06cc \u0645\u0647\u0645 \u0648 \u06a9\u0627\u0631 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632 \u067e\u0627\u06cc\u062a\u0648\u0646!"}]},{"@type":"WebSite","@id":"https:\/\/mehdisalimi.ir\/#website","url":"https:\/\/mehdisalimi.ir\/","name":"\u0633\u06cc\u062f \u0645\u0647\u062f\u06cc \u0633\u0644\u06cc\u0645\u06cc","description":"[\u06cc\u0627\u062f\u062f\u0627\u0634\u062a \u0647\u0627 \u0648 \u0647\u0631 \u0627\u0632 \u06af\u0627\u0647\u06cc \u0686\u0646\u062f \u062e\u0637 \u06a9\u062f]","publisher":{"@id":"https:\/\/mehdisalimi.ir\/#\/schema\/person\/aa4ebf7fb5115362f325b292af001e65"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mehdisalimi.ir\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fa-IR"},{"@type":["Person","Organization"],"@id":"https:\/\/mehdisalimi.ir\/#\/schema\/person\/aa4ebf7fb5115362f325b292af001e65","name":"Mehd!Salimi","image":{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/mehdisalimi.ir\/wp-content\/uploads\/2020\/04\/llog2.png","url":"https:\/\/mehdisalimi.ir\/wp-content\/uploads\/2020\/04\/llog2.png","contentUrl":"https:\/\/mehdisalimi.ir\/wp-content\/uploads\/2020\/04\/llog2.png","width":450,"height":180,"caption":"Mehd!Salimi"},"logo":{"@id":"https:\/\/mehdisalimi.ir\/wp-content\/uploads\/2020\/04\/llog2.png"},"sameAs":["http:\/\/www.mehdisalimi.ir","https:\/\/www.facebook.com\/mehdisalimi13","https:\/\/ir.linkedin.com\/in\/mehdisalimi13","https:\/\/x.com\/https:\/\/twitter.com\/mehdisalimi13"],"url":"https:\/\/mehdisalimi.ir\/?author=1"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mehdisalimi.ir\/index.php?rest_route=\/wp\/v2\/posts\/7705","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mehdisalimi.ir\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mehdisalimi.ir\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mehdisalimi.ir\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mehdisalimi.ir\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7705"}],"version-history":[{"count":3,"href":"https:\/\/mehdisalimi.ir\/index.php?rest_route=\/wp\/v2\/posts\/7705\/revisions"}],"predecessor-version":[{"id":7709,"href":"https:\/\/mehdisalimi.ir\/index.php?rest_route=\/wp\/v2\/posts\/7705\/revisions\/7709"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mehdisalimi.ir\/index.php?rest_route=\/wp\/v2\/media\/7706"}],"wp:attachment":[{"href":"https:\/\/mehdisalimi.ir\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7705"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mehdisalimi.ir\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7705"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mehdisalimi.ir\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7705"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}