{"id":217,"date":"2008-08-10T07:24:00","date_gmt":"2008-08-10T07:24:00","guid":{"rendered":"http:\/\/www.kurianos.com\/wordpress\/?p=217"},"modified":"2010-12-23T03:41:39","modified_gmt":"2010-12-23T03:41:39","slug":"%e0%b4%b2%e0%b5%88%e0%b4%b1%e0%b5%8d%e0%b4%b1%e0%b5%8d-%e0%b4%ac%e0%b5%8b%e0%b4%95%e0%b5%8d%e0%b4%b8%e0%b5%8d-%e0%b4%97%e0%b4%be%e0%b4%b2%e0%b4%b1%e0%b4%bf-%e0%b4%ac%e0%b4%bf%e0%b4%b2%e0%b5%8d","status":"publish","type":"post","link":"https:\/\/www.kurianos.com\/wordpress\/?p=217","title":{"rendered":"..:: \u0d32\u0d48\u0d31\u0d4d\u0d31\u0d4d \u0d2c\u0d4b\u0d15\u0d4d\u0d38\u0d4d \u0d17\u0d3e\u0d32\u0d31\u0d3f \u0d2c\u0d3f\u0d32\u0d4d\u200d\u0d21\u0d4d \u0d1f\u0d42\u0d33\u0d4d\u200d ::.."},"content":{"rendered":"<p><strong>\u0d07\u0d24\u0d41  python \u0d0e\u0d28\u0d4d\u0d28 \u0d2a\u0d4d\u0d30\u0d4b\u0d17\u0d4d\u0d30\u0d3e\u0d2e\u0d3f\u0d19\u0d4d\u0d19\u0d4d\u200c  \u0d32\u0d3e\u0d02\u0d17\u0d4d\u0d35\u0d47\u0d1c\u0d4d \u0d09\u0d2a\u0d2f\u0d4b\u0d17\u0d3f\u0d1a\u0d4d\u0d1a\u0d41 \u0d09\u0d33\u0d4d\u0d33 <br \/>\u0d12\u0d30\u0d41 \u0d1f\u0d42\u0d33\u0d4d\u200d  \u0d06\u0d23\u0d4d  \u0d07\u0d24\u0d41 \u0d35\u0d46\u0d1a\u0d4d\u0d1a\u0d41 \u0d35\u0d33\u0d30\u0d46 \u0d0e\u0d33\u0d41\u0d2a\u0d4d\u0d2a\u0d02 \u0d28\u0d3f\u0d19\u0d4d\u0d19\u0d33\u0d4d\u0d15\u0d4d\u0d15\u0d4d \u0d38\u0d4d\u0d35\u0d28\u0d4d\u0d24\u0d02<br \/>\u0d2b\u0d4b\u0d1f\u0d4d\u0d1f\u0d4b \u0d17\u0d3e\u0d32\u0d31\u0d3f \u0d09\u0d23\u0d4d\u0d1f\u0d3e\u0d15\u0d4d\u0d15\u0d3e\u0d28\u0d4d\u200d \u0d38\u0d3e\u0d27\u0d3f\u0d15\u0d4d\u0d15\u0d41\u0d02 . \u0d09\u0d2a\u0d2f\u0d4b\u0d17\u0d3f\u0d15\u0d4d\u0d15\u0d41\u0d28\u0d4d\u0d28 \u0d35\u0d3f\u0d27\u0d02<\/p>\n<p>windows <\/p>\n<p>Start -> Run -> cmd <br \/>python D:\\Temp\\ myGalBuild.py<\/p>\n<p>\u0d05\u0d2a\u0d4d\u0d2a\u0d4a \u0d0e\u0d19\u0d4d\u0d19\u0d28\u0d46 \u0d1a\u0d4b\u0d26\u0d3f\u0d15\u0d4d\u0d15\u0d41\u0d02 <br \/>Enter Image folder Name &#8230; \u0d07\u0d35\u0d3f\u0d1f\u0d46 \u0d28\u0d3f\u0d19\u0d4d\u0d19\u0d33\u0d41\u0d1f\u0d46 \u0d2b\u0d4b\u0d1f\u0d4d\u0d1f\u0d4b\u0d38\u0d4d \u0d07\u0d1f\u0d4d\u0d1f\u0d3f\u0d30\u0d3f\u0d15\u0d4d\u0d15\u0d41\u0d28\u0d4d\u0d28 <br \/>\u0d2b\u0d4b\u0d33\u0d4d\u200d\u0d21\u0d30\u0d4d\u200d \u0d28\u0d46\u0d2f\u0d3f\u0d02 \u0d15\u0d4a\u0d1f\u0d41\u0d15\u0d4d\u0d15\u0d41\u0d15 .. \u0d0e\u0d28\u0d4d\u0d28\u0d3f\u0d1f\u0d4d\u0d1f\u0d4d Enter \u0d15\u0d40 \u0d2a\u0d4d\u0d30\u0d38\u0d4d \u0d1a\u0d46\u0d2f\u0d4d\u0d2f\u0d41\u0d15<\/p>\n<p>\u0d05\u0d2a\u0d4d\u0d2a\u0d4a \u0d05\u0d1f\u0d41\u0d24\u0d4d\u0d24 \u0d12\u0d30\u0d41 \u0d1a\u0d4b\u0d26\u0d4d\u0d2f\u0d02 \u0d15\u0d42\u0d1f\u0d46 \u0d35\u0d30\u0d41\u0d02 .. \u0d0e\u0d24\u0d4d\u0d30   \u0d2b\u0d4b\u0d1f\u0d4d\u0d1f\u0d4b \u0d35\u0d47\u0d23\u0d02 \u0d12\u0d30\u0d41 \u0d35\u0d30\u0d3f\u0d2f\u0d3f\u0d32\u0d4d\u200d <br \/> \u0d0e\u0d28\u0d4d\u0d28\u0d4d \u0d05\u0d24\u0d3f\u0d28\u0d41\u0d02 \u0d09\u0d24\u0d4d\u0d24\u0d30\u0d02 \u0d15\u0d4a\u0d1f\u0d41\u0d24\u0d4d\u0d24\u0d41  Enter \u0d15\u0d40 \u0d2a\u0d4d\u0d30\u0d38\u0d4d \u0d1a\u0d46\u0d2f\u0d4d\u0d2f\u0d41\u0d15 &#8230;<\/p>\n<p>\u0d15\u0d41\u0d31\u0d1a\u0d4d\u0d1a\u0d4d \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d33\u0d4d\u200d\u0d15\u0d4d\u0d15\u0d15\u0d02 \u0d28\u0d3f\u0d19\u0d4d\u0d19\u0d33\u0d41\u0d1f\u0d46 \u0d2b\u0d4b\u0d1f\u0d4d\u0d1f\u0d4b \u0d17\u0d3e\u0d32\u0d31\u0d3f \u0d31\u0d46\u0d21\u0d3f \u0d09\u0d26\u0d39\u0d30\u0d23\u0d02 <br \/><a href=\"http:\/\/www.freewebs.com\/myflower\/sendit.html\">\u0d07\u0d35\u0d3f\u0d1f\u0d46 \u0d28\u0d4b\u0d15\u0d4d\u0d15\u0d3f\u0d15\u0d4d\u0d15\u0d47 <\/a><\/p>\n<p>\u0d07\u0d28\u0d3f \u0d2b\u0d41\u0d33\u0d4d\u200d \u0d2a\u0d3e\u0d2f\u0d4d\u0d15\u0d4d\u0d15\u0d4d \u0d21\u0d4c\u0d23\u0d4d\u200d\u0d32\u0d4b\u0d21\u0d4d \u0d07\u0d35\u0d3f\u0d1f\u0d46 \u0d15\u0d3f\u0d1f\u0d4d\u0d1f\u0d41\u0d02 <\/p>\n<p><a href=\"http:\/\/www.esnips.com\/doc\/f1353b35-7a98-4efb-97aa-d288a23e0df8\/myGalBuild\">\u0d21\u0d4c\u0d23\u0d4d\u200d\u0d32\u0d4b\u0d21\u0d4d <\/a><\/p>\n<p>\u0d07\u0d24\u0d3f\u0d28\u0d4d\u0d31\u0d46 \u0d38\u0d4b\u0d34\u0d4d\u0d38\u0d4d \u0d15\u0d4b\u0d21\u0d4d \u0d07\u0d24\u0d3e\u0d23\u0d4d <\/strong><\/p>\n<p><\/p>\n<ol>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8216;Image Galary<br \/>Builder<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(72, 61, 139);\">Copyright (C) 2008 KURIAN O.Samuel<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(72, 61, 139);\">This program is free software; you can redistribute it<br \/>and\/or modify<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(72, 61, 139);\">it under the terms of the GNU General Public License as<br \/>published by<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(72, 61, 139);\">the Free Software Foundation; either version 2 of the<br \/>License, or<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(72, 61, 139);\">(at your option) any later version.<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp;<\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(72, 61, 139);\">This program is distributed in the hope that it will be<br \/>useful,<\/span><\/div>\n<\/li>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(72, 61, 139);\">but WITHOUT ANY WARRANTY; without even the implied warranty<br \/>of<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(72, 61, 139);\">MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.&nbsp;<br \/>See the<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(72, 61, 139);\">GNU General Public License for more<br \/>details.<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp;<\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(72, 61, 139);\">You should have received a copy of the GNU General Public<br \/>License<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(72, 61, 139);\">along with this program; if not, write to the Free<br \/>Software<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(72, 61, 139);\">Foundation, Inc., 51 Franklin Street, Fifth Floor,<br \/><\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(72, 61, 139);\">Boston, MA&nbsp; 02110-1301, USA<\/span><\/div>\n<\/li>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(72, 61, 139);\">Creadits : LightBox Team<br \/>http:\/\/www.lokeshdhakar.com\/projects\/lightbox2\/<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(72, 61, 139);\">&#8216;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(255, 119, 0); font-weight: bold;\">import<\/span> Image<\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(255, 119, 0); font-weight: bold;\">import<\/span> <span style=\"color: rgb(220, 20, 60);\">os<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(255, 119, 0); font-weight: bold;\">import<\/span> <span style=\"color: rgb(220, 20, 60);\">sys<\/span><\/div>\n<\/li>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(255, 119, 0); font-weight: bold;\">def<\/span> makeThumbHere<span style=\"color: black;\">(<\/span>getFileName,outputFld<span style=\"color: black;\">)<\/span>:<\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; imageFile = getFileName<\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; im1 = Image.<span style=\"color: rgb(0, 128, 0);\">open<\/span><span style=\"color: black;\">(<\/span>imageFile<span style=\"color: black;\">)<\/span><\/div>\n<\/li>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; width = <span style=\"color: rgb(255, 69, 0);\">100<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; height = <span style=\"color: rgb(255, 69, 0);\">75<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; im5 = im1.<span style=\"color: black;\">resize<\/span><span style=\"color: black;\">(<\/span><span style=\"color: black;\">(<\/span>width, height<span style=\"color: black;\">)<\/span>, Image.<span style=\"color: black;\">ANTIALIAS<\/span><span style=\"color: black;\">)<\/span><\/div>\n<\/li>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; getTotaleFilename=<span style=\"color: rgb(220, 20, 60);\">os<\/span>.<span style=\"color: black;\">path<\/span>.<span style=\"color: black;\">basename<\/span><span style=\"color: black;\">(<\/span>imageFile<span style=\"color: black;\">)<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; im5.<span style=\"color: black;\">save<\/span><span style=\"color: black;\">(<\/span>outputFld+<span style=\"color: rgb(72, 61, 139);\">&#8220;\/&#8221;<\/span>+getTotaleFilename<span style=\"color: black;\">)<\/span><\/div>\n<\/li>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(255, 119, 0); font-weight: bold;\">def<\/span> findFilesinFolder<span style=\"color: black;\">(<\/span>getFolderNameHere,outputFld,getRowHere<span style=\"color: black;\">)<\/span>:<\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; sendToHtmlFiles=<span style=\"color: black;\">[<\/span><span style=\"color: black;\">]<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: rgb(220, 20, 60);\">os<\/span>.<span style=\"color: black;\">chdir<\/span><span style=\"color: black;\">(<\/span>getFolderNameHere<span style=\"color: black;\">)<\/span><\/div>\n<\/li>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; mainFilepath=<span style=\"color: rgb(220, 20, 60);\">os<\/span>.<span style=\"color: black;\">listdir<\/span><span style=\"color: black;\">(<\/span>getFolderNameHere<span style=\"color: black;\">)<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: rgb(255, 119, 0); font-weight: bold;\">for<\/span><\/p>\n<p>eachfile <span style=\"color: rgb(255, 119, 0); font-weight: bold;\">in<\/span> mainFilepath:<\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: rgb(255, 119, 0); font-weight: bold;\">if<\/span> <span style=\"color: rgb(220, 20, 60);\">os<\/span>.<span style=\"color: black;\">path<\/span>.<span style=\"color: black;\">isfile<\/span><span style=\"color: black;\">(<\/span>eachfile<span style=\"color: black;\">)<\/span> == <span style=\"color: rgb(0, 128, 0);\">True<\/span> :<\/div>\n<\/li>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br \/>eachfile=eachfile.<span style=\"color: black;\">lower<\/span><span style=\"color: black;\">(<\/span><span style=\"color: black;\">)<\/span><\/div>\n<\/li>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: rgb(255, 119, 0); font-weight: bold;\">if<\/span><span style=\"color: black;\">(<\/span><span style=\"color: black;\">(<\/span>eachfile.<span style=\"color: black;\">endswith<\/span><span style=\"color: black;\">(<\/span><span style=\"color: rgb(72, 61, 139);\">&#8216;.jpg&#8217;<\/span><span style=\"color: black;\">)<\/span><span style=\"color: black;\">)<\/span> <span style=\"color: rgb(255, 119, 0); font-weight: bold;\">or<\/span> <span style=\"color: black;\">(<\/span>eachfile.<span style=\"color: black;\">endswith<\/span><span style=\"color: black;\">(<\/span><span style=\"color: rgb(72, 61, 139);\">&#8216;.bmp&#8217;<\/span><span style=\"color: black;\">)<\/span><span style=\"color: black;\">)<\/span> <span style=\"color: rgb(255, 119, 0); font-weight: bold;\">or<\/span> <span style=\"color: black;\">(<\/span>eachfile.<span style=\"color: black;\">endswith<\/span><span style=\"color: black;\">(<\/span><span style=\"color: rgb(72, 61, 139);\">&#8216;.png&#8217;<\/span><span style=\"color: black;\">)<\/span><span style=\"color: black;\">)<\/span> <span style=\"color: rgb(255, 119, 0); font-weight: bold;\">or<\/span> <span style=\"color: black;\">(<\/span>eachfile.<span style=\"color: black;\">endswith<\/span><span style=\"color: black;\">(<\/span><span style=\"color: rgb(72, 61, 139);\">&#8216;.gif&#8217;<\/span><span style=\"color: black;\">)<\/span><span style=\"color: black;\">)<\/span><span style=\"color: black;\">)<\/span>:<\/div>\n<\/li>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br \/>&nbsp; &nbsp; &nbsp; myFullFilePath=getFolderNameHere+<span style=\"color: rgb(72, 61, 139);\">&#8220;\/&#8221;<\/span>+eachfile<\/div>\n<\/li>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br \/>&nbsp; &nbsp; &nbsp; makeThumbHere<span style=\"color: black;\">(<\/span>myFullFilePath,outputFld<span style=\"color: black;\">)<\/span><\/div>\n<\/li>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br \/>&nbsp; &nbsp; &nbsp; sendToHtmlFiles.<span style=\"color: black;\">append<\/span><span style=\"color: black;\">(<\/span>eachfile<span style=\"color: black;\">)<\/span><\/div>\n<\/li>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: rgb(255, 119, 0); font-weight: bold;\">elif<\/span> <span style=\"color: rgb(220, 20, 60);\">os<\/span>.<span style=\"color: black;\">path<\/span>.<span style=\"color: black;\">isdir<\/span><span style=\"color: black;\">(<\/span>eachfile<span style=\"color: black;\">)<\/span> == <span style=\"color: rgb(0, 128, 0);\">True<\/span> :<\/div>\n<\/li>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br \/>mst=<span style=\"color: rgb(72, 61, 139);\">&#8216;fld&#8217;<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; createHtmFileHere<span style=\"color: black;\">(<\/span>sendToHtmlFiles,getRowHere,getFolderNameHere<span style=\"color: black;\">)<\/span><\/div>\n<\/li>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(255, 119, 0); font-weight: bold;\">def<\/span> createHtmFileHere<span style=\"color: black;\">(<\/span>getTotaleFilename,getRowHere,getFolderNameHere<span style=\"color: black;\">)<\/span>:<\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; myHeadLine=<span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8216;&lt;html xmlns=&#8221;http:\/\/www.w3.org\/1999\/xhtml&#8221;<br \/>lang=&#8221;en&#8221;&gt;<\/span><\/div>\n<\/li>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(72, 61, 139);\">&lt;head&gt;<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(72, 61, 139);\">&nbsp; &nbsp; &nbsp; &nbsp; &lt;title&gt;My Photo<br \/>Gallery&lt;\/title&gt;<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(72, 61, 139);\">&nbsp; &nbsp; &nbsp; &nbsp; &lt;link<br \/>rel=&#8221;stylesheet&#8221; href=&#8221;css\/lightbox.css&#8221; type=&#8221;text\/css&#8221;<br \/>media=&#8221;screen&#8221; \/&gt;<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(72, 61, 139);\">&nbsp; &nbsp; &nbsp; &nbsp; &lt;script<br \/>src=&#8221;js\/prototype.js&#8221;<br \/>type=&#8221;text\/javascript&#8221;&gt;&lt;\/script&gt;<\/span><\/div>\n<\/li>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(72, 61, 139);\">&nbsp; &nbsp; &nbsp; &nbsp; &lt;script<br \/>src=&#8221;js\/scriptaculous.js?load=effects,builder&#8221;<br \/>type=&#8221;text\/javascript&#8221;&gt;&lt;\/script&gt;<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(72, 61, 139);\">&nbsp; &nbsp; &nbsp; &nbsp; &lt;script<br \/>src=&#8221;js\/lightbox.js&#8221;<br \/>type=&#8221;text\/javascript&#8221;&gt;&lt;\/script&gt;<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(72, 61, 139);\">&nbsp; &nbsp; &nbsp; &nbsp; &lt;style<br \/>type=&#8221;text\/css&#8221;&gt;<\/span><\/div>\n<\/li>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(72, 61, 139);\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br \/>body{ color: #333; font: 13px &#8216;<\/span>Lucida Grande<span style=\"color: rgb(72, 61, 139);\">&#8216;, Verdana,<br \/>sans-serif;&nbsp; &nbsp; &nbsp;}<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(72, 61, 139);\">&nbsp; &nbsp; &nbsp; &nbsp; &lt;\/style&gt;<\/span><\/div>\n<\/li>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(72, 61, 139);\">&lt;\/head&gt;<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(72, 61, 139);\">&lt;body&gt;<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(72, 61, 139);\">&lt;table cellpadding=8 cellspacing=8 border=0 align=center<br \/>width=30%&gt;&#8217;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span>+<span style=\"color: rgb(72, 61, 139);\">&#8220;<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\n<\/span>&#8220;<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; myEndLine=<span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8216;&lt;\/tr&gt;&lt;\/table&gt;<\/span><\/div>\n<\/li>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(72, 61, 139);\">&lt;\/div&gt;&lt;\/body&gt;<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(72, 61, 139);\">&lt;\/html&gt;&#8217;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; fileHandle = <span style=\"color: rgb(0, 128, 0);\">open<\/span> <span style=\"color: black;\">(<\/span> getFolderNameHere+<span style=\"color: rgb(72, 61, 139);\">&#8220;\/my_gallary.html&#8221;<\/span>, <span style=\"color: rgb(72, 61, 139);\">&#8216;w&#8217;<\/span> <span style=\"color: black;\">)<\/span><\/div>\n<\/li>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; fileHandle.<span style=\"color: black;\">write<\/span><span style=\"color: black;\">(<\/span>myHeadLine<span style=\"color: black;\">)<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; fileHandle.<span style=\"color: black;\">close<\/span><span style=\"color: black;\">(<\/span><span style=\"color: black;\">)<\/span> <\/div>\n<\/li>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; myDivsart=<span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8216;&lt;tr valign=top align=center&gt;&#8217;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span>+<span style=\"color: rgb(72, 61, 139);\">&#8220;<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\n<\/span>&#8220;<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; myDivEnd=<span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8216;&lt;\/tr&gt;&#8217;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span>+<span style=\"color: rgb(72, 61, 139);\">&#8220;<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\n<\/span>&#8220;<\/span><\/div>\n<\/li>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; myint=<span style=\"color: rgb(255, 69, 0);\">1<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: rgb(255, 119, 0); font-weight: bold;\">for<\/span><br \/>myCnt <span style=\"color: rgb(255, 119, 0); font-weight: bold;\">in<\/span> <span style=\"color: rgb(0, 128, 0);\">range<\/span><span style=\"color: black;\">(<\/span><span style=\"color: rgb(0, 128, 0);\">len<\/span><span style=\"color: black;\">(<\/span>getTotaleFilename<span style=\"color: black;\">)<\/span><span style=\"color: black;\">)<\/span>:<\/div>\n<\/li>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: rgb(255, 119, 0); font-weight: bold;\">if<\/span> myCnt==<span style=\"color: rgb(72, 61, 139);\">&#8216;1&#8217;<\/span>:<\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<\/p>\n<p>mytablepars=myDivsart+<span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8216;&lt;td&gt;&lt;a href=<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\&#8221;<\/span>&#8216;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span>+getTotaleFilename<span style=\"color: black;\">[<\/span>myCnt<span style=\"color: black;\">]<\/span>+<span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8216;<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\&#8221;<\/span> rel=&#8221;lightbox&#8221;&gt;&lt;img src=&#8221;gal_thum\/&#8217;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span>+getTotaleFilename<span style=\"color: black;\">[<\/span>myCnt<span style=\"color: black;\">]<\/span>+<span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8216;<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\&#8221;<\/span> width=&#8221;100&#8243;<br \/>height=&#8221;75&#8243; alt=&#8221;&#8221; \/&gt;&lt;\/a&gt;&lt;\/td&gt;&#8217;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span>+<span style=\"color: rgb(72, 61, 139);\">&#8220;<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\n<\/span>&#8220;<\/span><\/div>\n<\/li>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br \/>fileHandle = <span style=\"color: rgb(0, 128, 0);\">open<\/span> <span style=\"color: black;\">(<\/span><\/p>\n<p>getFolderNameHere+<span style=\"color: rgb(72, 61, 139);\">&#8220;\/my_gallary.html&#8221;<\/span>, <span style=\"color: rgb(72, 61, 139);\">&#8216;a&#8217;<\/span> <span style=\"color: black;\">)<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<\/p>\n<p>fileHandle.<span style=\"color: black;\">write<\/span><span style=\"color: black;\">(<\/span>mytablepars<span style=\"color: black;\">)<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<\/p>\n<p>fileHandle.<span style=\"color: black;\">close<\/span><span style=\"color: black;\">(<\/span><span style=\"color: black;\">)<\/span> <\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<\/p>\n<p>myint=myint<span style=\"color: rgb(255, 69, 0);\">+1<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: rgb(255, 119, 0); font-weight: bold;\">else<\/span>:<\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<\/p>\n<p>mytablepars=<span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8216;&lt;td&gt;&lt;a<br \/>href=<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\&#8221;<\/span>&#8216;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span>+getTotaleFilename<span style=\"color: black;\">[<\/span>myCnt<span style=\"color: black;\">]<\/span>+<span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8216;<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\&#8221;<\/span><\/p>\n<p>rel=&#8221;lightbox&#8221;&gt;&lt;img src=&#8221;gal_thum\/&#8217;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span>+getTotaleFilename<span style=\"color: black;\">[<\/span>myCnt<span style=\"color: black;\">]<\/span>+<span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8216;<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\&#8221;<\/span> width=&#8221;100&#8243;<br \/>height=&#8221;75&#8243; alt=&#8221;&#8221; \/&gt;&lt;\/a&gt;&lt;\/td&gt;&#8217;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span>+<span style=\"color: rgb(72, 61, 139);\">&#8220;<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\n<\/span>&#8220;<\/span><\/div>\n<\/li>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: rgb(255, 119, 0); font-weight: bold;\">if<\/span> myint == getRowHere:<\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<\/p>\n<p>myparserMost=mytablepars+myDivEnd+myDivsart<\/p><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br \/>fileHandle = <span style=\"color: rgb(0, 128, 0);\">open<\/span> <span style=\"color: black;\">(<\/span><\/p>\n<p>getFolderNameHere+<span style=\"color: rgb(72, 61, 139);\">&#8220;\/my_gallary.html&#8221;<\/span>, <span style=\"color: rgb(72, 61, 139);\">&#8216;a&#8217;<\/span> <span style=\"color: black;\">)<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<\/p>\n<p>fileHandle.<span style=\"color: black;\">write<\/span><span style=\"color: black;\">(<\/span>myparserMost<span style=\"color: black;\">)<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<\/p>\n<p>fileHandle.<span style=\"color: black;\">close<\/span><span style=\"color: black;\">(<\/span><span style=\"color: black;\">)<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<\/p>\n<p>myint=<span style=\"color: rgb(255, 69, 0);\">1<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: rgb(255, 119, 0); font-weight: bold;\">else<\/span>:<\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<\/p>\n<p>fileHandle = <span style=\"color: rgb(0, 128, 0);\">open<\/span> <span style=\"color: black;\">(<\/span><br \/>getFolderNameHere+<span style=\"color: rgb(72, 61, 139);\">&#8220;\/my_gallary.html&#8221;<\/span>, <span style=\"color: rgb(72, 61, 139);\">&#8216;a&#8217;<\/span> <span style=\"color: black;\">)<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<\/p>\n<p>fileHandle.<span style=\"color: black;\">write<\/span><span style=\"color: black;\">(<\/span>mytablepars<span style=\"color: black;\">)<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<\/p>\n<p>fileHandle.<span style=\"color: black;\">close<\/span><span style=\"color: black;\">(<\/span><span style=\"color: black;\">)<\/span> <\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<\/p>\n<p>myint=myint<span style=\"color: rgb(255, 69, 0);\">+1<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; fileHandle = <span style=\"color: rgb(0, 128, 0);\">open<\/span> <span style=\"color: black;\">(<\/span> getFolderNameHere+<span style=\"color: rgb(72, 61, 139);\">&#8220;\/my_gallary.html&#8221;<\/span>, <span style=\"color: rgb(72, 61, 139);\">&#8216;a&#8217;<\/span> <span style=\"color: black;\">)<\/span><\/div>\n<\/li>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; fileHandle.<span style=\"color: black;\">write<\/span><span style=\"color: black;\">(<\/span>myEndLine<span style=\"color: black;\">)<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; fileHandle.<span style=\"color: black;\">close<\/span><span style=\"color: black;\">(<\/span><span style=\"color: black;\">)<\/span><\/div>\n<\/li>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; <\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">getRootFolderHere=<span style=\"color: rgb(0, 128, 0);\">raw_input<\/span><span style=\"color: black;\">(<\/span><span style=\"color: rgb(72, 61, 139);\">&#8220;Enter Image Folder Name &#8230; <span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\n<\/span>Where you kept galary images please give<br \/>foldername here&#8230;<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\n<\/span>&#8220;<\/span><span style=\"color: black;\">)<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">getRowHere=<span style=\"color: rgb(0, 128, 0);\">int<\/span><span style=\"color: black;\">(<\/span><span style=\"color: rgb(0, 128, 0);\">raw_input<\/span><span style=\"color: black;\">(<\/span><span style=\"color: rgb(72, 61, 139);\">&#8220;How Much Image You Want in a Raw ???<br \/>&#8230;<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\n<\/span>&#8220;<\/span><span style=\"color: black;\">)<\/span><span style=\"color: black;\">)<\/span><\/div>\n<\/li>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">setThumbFloder=getRootFolderHere.<span style=\"color: black;\">replace<\/span><span style=\"color: black;\">(<\/span><span style=\"color: rgb(72, 61, 139);\">&#8220;<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\\\<\/span>&#8220;<\/span>,<span style=\"color: rgb(72, 61, 139);\">&#8220;\/&#8221;<\/span><span style=\"color: black;\">)<\/span>+<span style=\"color: rgb(72, 61, 139);\">&#8220;\/gal_thum&#8221;<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">setJsFloder=getRootFolderHere.<span style=\"color: black;\">replace<\/span><span style=\"color: black;\">(<\/span><span style=\"color: rgb(72, 61, 139);\">&#8220;<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\\\<\/span>&#8220;<\/span>,<span style=\"color: rgb(72, 61, 139);\">&#8220;\/&#8221;<\/span><span style=\"color: black;\">)<\/span>+<span style=\"color: rgb(72, 61, 139);\">&#8220;\/js&#8221;<\/span><\/div>\n<\/li>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">getRootFolderHere=getRootFolderHere.<span style=\"color: black;\">replace<\/span><span style=\"color: black;\">(<\/span><span style=\"color: rgb(72, 61, 139);\">&#8220;<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\\\<\/span>&#8220;<\/span>,<span style=\"color: rgb(72, 61, 139);\">&#8220;\/&#8221;<\/span><span style=\"color: black;\">)<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(255, 119, 0); font-weight: bold;\">try<\/span>:<\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: rgb(220, 20, 60);\">os<\/span>.<span style=\"color: black;\">mkdir<\/span><span style=\"color: black;\">(<\/span>setThumbFloder<span style=\"color: black;\">)<\/span><\/div>\n<\/li>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: rgb(220, 20, 60);\">os<\/span>.<span style=\"color: black;\">mkdir<\/span><span style=\"color: black;\">(<\/span>setJsFloder<span style=\"color: black;\">)<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\"><span style=\"color: rgb(255, 119, 0); font-weight: bold;\">except<\/span> <span style=\"color: rgb(0, 128, 0);\">WindowsError<\/span>:<\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: rgb(255, 119, 0); font-weight: bold;\">print<\/span><\/p>\n<p><span style=\"color: rgb(72, 61, 139);\">&#8220;Thumbnail Folder is exists !!! please move or rename the folder<br \/>and run script again !!!&#8221;<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: rgb(0, 128, 0);\">raw_input<\/span><span style=\"color: black;\">(<\/span><span style=\"color: rgb(72, 61, 139);\">&#8220;Press any Key To Exit<br \/>!!!&#8221;<\/span><span style=\"color: black;\">)<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: rgb(220, 20, 60);\">sys<\/span>.<span style=\"color: black;\">exit<\/span><span style=\"color: black;\">(<\/span><span style=\"color: rgb(255, 69, 0);\">1<\/span><span style=\"color: black;\">)<\/span><\/div>\n<\/li>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">findFilesinFolder<span style=\"color: black;\">(<\/span>getRootFolderHere,setThumbFloder,getRowHere<span style=\"color: black;\">)<\/span><\/div>\n<\/li>\n<p><\/p>\n<li style=\"font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal;\">\n<div style=\"font-family: 'Courier New',Courier,monospace; font-weight: normal;\">&nbsp;<\/div>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>\u0d07\u0d24\u0d41 python \u0d0e\u0d28\u0d4d\u0d28 \u0d2a\u0d4d\u0d30\u0d4b\u0d17\u0d4d\u0d30\u0d3e\u0d2e\u0d3f\u0d19\u0d4d\u0d19\u0d4d\u200c \u0d32\u0d3e\u0d02\u0d17\u0d4d\u0d35\u0d47\u0d1c\u0d4d \u0d09\u0d2a\u0d2f\u0d4b\u0d17\u0d3f\u0d1a\u0d4d\u0d1a\u0d41 \u0d09\u0d33\u0d4d\u0d33 \u0d12\u0d30\u0d41 \u0d1f\u0d42\u0d33\u0d4d\u200d \u0d06\u0d23\u0d4d \u0d07\u0d24\u0d41 \u0d35\u0d46\u0d1a\u0d4d\u0d1a\u0d41 \u0d35\u0d33\u0d30\u0d46 \u0d0e\u0d33\u0d41\u0d2a\u0d4d\u0d2a\u0d02 \u0d28\u0d3f\u0d19\u0d4d\u0d19\u0d33\u0d4d\u0d15\u0d4d\u0d15\u0d4d \u0d38\u0d4d\u0d35\u0d28\u0d4d\u0d24\u0d02\u0d2b\u0d4b\u0d1f\u0d4d\u0d1f\u0d4b \u0d17\u0d3e\u0d32\u0d31\u0d3f \u0d09\u0d23\u0d4d\u0d1f\u0d3e\u0d15\u0d4d\u0d15\u0d3e\u0d28\u0d4d\u200d \u0d38\u0d3e\u0d27\u0d3f\u0d15\u0d4d\u0d15\u0d41\u0d02 . \u0d09\u0d2a\u0d2f\u0d4b\u0d17\u0d3f\u0d15\u0d4d\u0d15\u0d41\u0d28\u0d4d\u0d28 \u0d35\u0d3f\u0d27\u0d02 windows Start -> Run -> cmd python D:\\Temp\\ myGalBuild.py \u0d05\u0d2a\u0d4d\u0d2a\u0d4a \u0d0e\u0d19\u0d4d\u0d19\u0d28\u0d46 \u0d1a\u0d4b\u0d26\u0d3f\u0d15\u0d4d\u0d15\u0d41\u0d02 Enter Image folder Name &#8230; \u0d07\u0d35\u0d3f\u0d1f\u0d46 \u0d28\u0d3f\u0d19\u0d4d\u0d19\u0d33\u0d41\u0d1f\u0d46 \u0d2b\u0d4b\u0d1f\u0d4d\u0d1f\u0d4b\u0d38\u0d4d \u0d07\u0d1f\u0d4d\u0d1f\u0d3f\u0d30\u0d3f\u0d15\u0d4d\u0d15\u0d41\u0d28\u0d4d\u0d28 \u0d2b\u0d4b\u0d33\u0d4d\u200d\u0d21\u0d30\u0d4d\u200d \u0d28\u0d46\u0d2f\u0d3f\u0d02 \u0d15\u0d4a\u0d1f\u0d41\u0d15\u0d4d\u0d15\u0d41\u0d15 .. \u0d0e\u0d28\u0d4d\u0d28\u0d3f\u0d1f\u0d4d\u0d1f\u0d4d Enter \u0d15\u0d40 \u0d2a\u0d4d\u0d30\u0d38\u0d4d \u0d1a\u0d46\u0d2f\u0d4d\u0d2f\u0d41\u0d15 \u0d05\u0d2a\u0d4d\u0d2a\u0d4a \u0d05\u0d1f\u0d41\u0d24\u0d4d\u0d24 \u0d12\u0d30\u0d41 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[14],"tags":[],"class_list":["post-217","post","type-post","status-publish","format-standard","hentry","category-python"],"_links":{"self":[{"href":"https:\/\/www.kurianos.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/217","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kurianos.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kurianos.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kurianos.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kurianos.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=217"}],"version-history":[{"count":1,"href":"https:\/\/www.kurianos.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/217\/revisions"}],"predecessor-version":[{"id":445,"href":"https:\/\/www.kurianos.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/217\/revisions\/445"}],"wp:attachment":[{"href":"https:\/\/www.kurianos.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=217"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kurianos.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=217"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kurianos.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}