<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2980121266019308398</id><updated>2024-10-09T11:55:27.447+03:00</updated><category term="python"/><category term="django"/><category term="django templates"/><category term="exif"/><category term="music"/><category term="photos"/><category term="rsa"/><category term="ubuntu"/><category term="Joy Olasunmibo Ogunmakin"/><category term="Yüksek Sadakat"/><category term="ayo"/><category term="base64"/><category term="cache"/><category term="dict"/><category term="django forms"/><category term="hard rock"/><category term="images"/><category term="jpg"/><category term="linux"/><category term="list"/><category term="login"/><category term="nautilus"/><category term="nautilus scripts"/><category term="notification"/><category term="openssl_sign"/><category term="organize"/><category term="png"/><category term="random"/><category term="range"/><category term="skype"/><category term="sort"/><category term="ssh"/><category term="ssl"/><category term="turkish"/><category term="youtube"/><title type='text'>Miga at Blogspot</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://migaat.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2980121266019308398/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://migaat.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09105756052788619710</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>13</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2980121266019308398.post-4868552636654324748</id><published>2013-01-15T11:22:00.000+02:00</published><updated>2013-01-15T18:40:15.914+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="notification"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Undistract-me will notify you</title><summary type="text">
Yesterday I came across a short article in WebUpd8 about this little tool called undistract-me. It will alerts you when long-running commands finally complete.

In ubuntu the installation is as simple as this:
$ sudo add-apt-repository ppa:undistract-me-packagers/daily
$ sudo apt-get update
$ sudo apt-get install undistract-me


Few more steps are needed in order to set it up in one of your </summary><link rel='replies' type='application/atom+xml' href='http://migaat.blogspot.com/feeds/4868552636654324748/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://migaat.blogspot.com/2013/01/undistract-me-will-notify-you.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2980121266019308398/posts/default/4868552636654324748'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2980121266019308398/posts/default/4868552636654324748'/><link rel='alternate' type='text/html' href='http://migaat.blogspot.com/2013/01/undistract-me-will-notify-you.html' title='Undistract-me will notify you'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09105756052788619710</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnjjI5jivQMdoH7Uz9WyiitAEBn1e38yEqoRete5mWOm4LT8EeCBXTjV6WNk1dc_h34kdip1_q04I2_-j5l0ToUsx8YY7VPD_QdEXzWobS8GYR8nrVtI8JJzDS7POb69Q90ZcLPYuRjZLd/s72-c/terminal_profile_preference.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2980121266019308398.post-7993943558205300105</id><published>2011-12-21T15:55:00.000+02:00</published><updated>2011-12-21T15:55:08.288+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cache"/><category scheme="http://www.blogger.com/atom/ns#" term="django"/><category scheme="http://www.blogger.com/atom/ns#" term="django templates"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>Different ways for low level caching in Django</title><summary type="text">Often in a Django projects complex data processing can be involved in order to get desire output. It can be a good idea to use some kind of caching. Django provides a robust cache system. It&#39;s possible to store and retrieve wide range of data with different level of complexity.
Most easiest ways to use caching is to use:
per-site cache for the entire site.
per-view cache for caching the output of</summary><link rel='replies' type='application/atom+xml' href='http://migaat.blogspot.com/feeds/7993943558205300105/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://migaat.blogspot.com/2011/11/different-ways-for-low-level-caching-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2980121266019308398/posts/default/7993943558205300105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2980121266019308398/posts/default/7993943558205300105'/><link rel='alternate' type='text/html' href='http://migaat.blogspot.com/2011/11/different-ways-for-low-level-caching-in.html' title='Different ways for low level caching in Django'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09105756052788619710</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX2WJP8RNzX0pN14-tNFwNuBnTGBb8dCTUNtbXYJuI5DBgzMY-Rsd3On_47P4SRSCecJvXBhADqXyktWLAxoJ9Es-c1RcQLJ9Hxz-sAjcaSEtLT7MPAvc84SKLRbvRXeOJJck07K0s691D/s72-c/python_and_template_cache.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2980121266019308398.post-7329448731355451966</id><published>2011-07-11T14:42:00.003+03:00</published><updated>2011-07-11T14:45:43.512+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="python"/><category scheme="http://www.blogger.com/atom/ns#" term="skype"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Python script to toggle Skype main window with keyboard</title><summary type="text">I spent some time searching for some way to toggle skype&#39;s main window with keyboard shortcut.
But there is no way to do it with anything out of the box.
Finally found a really useful python script. You can read more at&amp;nbsp;scorpspot.blogspot.com.</summary><link rel='replies' type='application/atom+xml' href='http://migaat.blogspot.com/feeds/7329448731355451966/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://migaat.blogspot.com/2011/07/python-script-to-toggle-skype-main.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2980121266019308398/posts/default/7329448731355451966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2980121266019308398/posts/default/7329448731355451966'/><link rel='alternate' type='text/html' href='http://migaat.blogspot.com/2011/07/python-script-to-toggle-skype-main.html' title='Python script to toggle Skype main window with keyboard'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09105756052788619710</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2980121266019308398.post-6982099066671951217</id><published>2011-05-07T23:58:00.005+03:00</published><updated>2011-10-19T15:24:35.036+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="django"/><category scheme="http://www.blogger.com/atom/ns#" term="django forms"/><title type='text'>At least one field of the form is required</title><summary type="text">Suppose we have a form to collect user data and three of the fields are for contact details - mail, phone and fax. We want users to fill with valid data at least one of them. In other words they must have required=False and their validation should be done both in clean_FIELDNAME() and clean(). Usually in order to check whether a field has a fair value, we check in cleaned_data keys. But these </summary><link rel='replies' type='application/atom+xml' href='http://migaat.blogspot.com/feeds/6982099066671951217/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://migaat.blogspot.com/2011/05/at-least-one-field-of-form-is-required.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2980121266019308398/posts/default/6982099066671951217'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2980121266019308398/posts/default/6982099066671951217'/><link rel='alternate' type='text/html' href='http://migaat.blogspot.com/2011/05/at-least-one-field-of-form-is-required.html' title='At least one field of the form is required'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09105756052788619710</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2980121266019308398.post-8857866902794099087</id><published>2011-03-02T11:08:00.001+02:00</published><updated>2013-01-14T17:08:47.364+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="django"/><category scheme="http://www.blogger.com/atom/ns#" term="django templates"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>Having global variable in your django templates</title><summary type="text">This post is based on question in&amp;nbsp;stackoverflow.com
The question is about having &#39;now&#39; in blocktrans.
In blocktrans we can&#39;t use templatetags so we will assign result of the templatetags to a variable, like this:
&amp;nbsp;{% url &quot;add_account&quot; as add_account_url %}

But &#39;now&#39; doesn&#39;t act the same way.

{% now &quot;Y&quot; as my_date %} will print the year and my_date will be empty.
If you want to have </summary><link rel='replies' type='application/atom+xml' href='http://migaat.blogspot.com/feeds/8857866902794099087/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://migaat.blogspot.com/2011/03/having-global-variable-in-your-django.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2980121266019308398/posts/default/8857866902794099087'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2980121266019308398/posts/default/8857866902794099087'/><link rel='alternate' type='text/html' href='http://migaat.blogspot.com/2011/03/having-global-variable-in-your-django.html' title='Having global variable in your django templates'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09105756052788619710</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2980121266019308398.post-3111222046632988192</id><published>2011-02-18T12:27:00.001+02:00</published><updated>2011-02-24T09:53:49.646+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="login"/><category scheme="http://www.blogger.com/atom/ns#" term="rsa"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><title type='text'>SSH login without password</title><summary type="text">Too often I have to login on different server over ssh in order to do my daily duties.
If you are using PuTTY on Windows you can pass your login credentials in command line. In such way you can create a shortcut and skip the login process.
ssh does not have such command line option, but you can achieve the same effect with few simple steps.



Create public and private keys by running ssh-keygen </summary><link rel='replies' type='application/atom+xml' href='http://migaat.blogspot.com/feeds/3111222046632988192/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://migaat.blogspot.com/2011/02/ssh-login-without-password.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2980121266019308398/posts/default/3111222046632988192'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2980121266019308398/posts/default/3111222046632988192'/><link rel='alternate' type='text/html' href='http://migaat.blogspot.com/2011/02/ssh-login-without-password.html' title='SSH login without password'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09105756052788619710</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2980121266019308398.post-5857082006799052408</id><published>2011-02-18T02:34:00.001+02:00</published><updated>2011-02-24T09:55:36.144+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="openssl_sign"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><category scheme="http://www.blogger.com/atom/ns#" term="rsa"/><category scheme="http://www.blogger.com/atom/ns#" term="ssl"/><title type='text'>openssl_sign in python</title><summary type="text">You need to sign something with private RSA key. You have some documentation or make your google search about subject. &amp;nbsp;And all excamples are with&amp;nbsp;PHP function&amp;nbsp;openssl_sign.

But we don&#39;t eat PHP anymore. So let&#39;s translate few lines PHP into something better, like Python.


If you see this:
$data = &quot;Beeeeer is really good.. hic...&quot;;

$fp = fopen(&quot;private.key&quot;, &quot;r&quot;);
$priv_key = </summary><link rel='replies' type='application/atom+xml' href='http://migaat.blogspot.com/feeds/5857082006799052408/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://migaat.blogspot.com/2011/02/opensslsign-in-python.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2980121266019308398/posts/default/5857082006799052408'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2980121266019308398/posts/default/5857082006799052408'/><link rel='alternate' type='text/html' href='http://migaat.blogspot.com/2011/02/opensslsign-in-python.html' title='openssl_sign in python'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09105756052788619710</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2980121266019308398.post-3950110055701708602</id><published>2011-02-17T20:50:00.005+02:00</published><updated>2011-02-24T09:56:48.971+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="hard rock"/><category scheme="http://www.blogger.com/atom/ns#" term="music"/><category scheme="http://www.blogger.com/atom/ns#" term="turkish"/><category scheme="http://www.blogger.com/atom/ns#" term="Yüksek Sadakat"/><title type='text'>Yüksek Sadakat - Haydi Gel İçelim</title><summary type="text">
Recently found this song - Haydi Gel İçelim. It&#39;s in turkish, but sounds very good, I think.

More information about the band can be found in wikipedia and on their Official website. I don&#39;t know turkish, but roughly translated the title means Let&#39;s go to dring.
</summary><link rel='replies' type='application/atom+xml' href='http://migaat.blogspot.com/feeds/3950110055701708602/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://migaat.blogspot.com/2011/02/yuksek-sadakat-haydi-gel-icelim.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2980121266019308398/posts/default/3950110055701708602'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2980121266019308398/posts/default/3950110055701708602'/><link rel='alternate' type='text/html' href='http://migaat.blogspot.com/2011/02/yuksek-sadakat-haydi-gel-icelim.html' title='Yüksek Sadakat - Haydi Gel İçelim'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09105756052788619710</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/Fwg7cOKZZ9Y/default.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2980121266019308398.post-6167110564762325069</id><published>2011-02-17T20:20:00.006+02:00</published><updated>2011-02-24T09:58:58.134+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="base64"/><category scheme="http://www.blogger.com/atom/ns#" term="images"/><category scheme="http://www.blogger.com/atom/ns#" term="jpg"/><category scheme="http://www.blogger.com/atom/ns#" term="png"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>Images, python and base64</title><summary type="text">


Kari - embeded as base64 :)


Look at the image on the left. It&#39;s embedded. The idea is very simple.

Open some image file.

Read it in a string.

Encode it with base64.

Now you can use the result as src in the img tag. This image can be used in html email messages or can be used in the css.




Here is some python code:

png_file = open(&#39;applets-screenshooter.png&#39;,&#39;rb&#39;)
png_txt = </summary><link rel='replies' type='application/atom+xml' href='http://migaat.blogspot.com/feeds/6167110564762325069/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://migaat.blogspot.com/2011/02/images-python-and-base64.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2980121266019308398/posts/default/6167110564762325069'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2980121266019308398/posts/default/6167110564762325069'/><link rel='alternate' type='text/html' href='http://migaat.blogspot.com/2011/02/images-python-and-base64.html' title='Images, python and base64'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09105756052788619710</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2980121266019308398.post-6697405141419788403</id><published>2011-02-11T01:48:00.008+02:00</published><updated>2011-05-27T11:37:40.410+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dict"/><category scheme="http://www.blogger.com/atom/ns#" term="list"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><category scheme="http://www.blogger.com/atom/ns#" term="random"/><category scheme="http://www.blogger.com/atom/ns#" term="range"/><category scheme="http://www.blogger.com/atom/ns#" term="sort"/><title type='text'>Random python thoughts, sorted by number of occurrences</title><summary type="text">This is just a memo about ease of working with ranges, random choices and sorting.
Let&#39;s see a piece of code:
import random
import string
from operator import itemgetter

sample_dict = {}
for x in range(random.choice(range(2,25))):
    r_num = random.choice(range(0,x+1))
    lst = random.sample(string.letters,r_num)
    for l in lst:
        if l in sample_dict.keys():
            sample_dict[l] </summary><link rel='replies' type='application/atom+xml' href='http://migaat.blogspot.com/feeds/6697405141419788403/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://migaat.blogspot.com/2011/02/random-python-thoughts-sorted-by-number.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2980121266019308398/posts/default/6697405141419788403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2980121266019308398/posts/default/6697405141419788403'/><link rel='alternate' type='text/html' href='http://migaat.blogspot.com/2011/02/random-python-thoughts-sorted-by-number.html' title='Random python thoughts, sorted by number of occurrences'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09105756052788619710</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2980121266019308398.post-4182105513782052528</id><published>2010-11-26T08:56:00.015+02:00</published><updated>2011-02-24T10:01:52.045+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ayo"/><category scheme="http://www.blogger.com/atom/ns#" term="Joy Olasunmibo Ogunmakin"/><category scheme="http://www.blogger.com/atom/ns#" term="music"/><category scheme="http://www.blogger.com/atom/ns#" term="youtube"/><title type='text'>Ayo - Down On My Knees</title><summary type="text">Recently I discovered Joy Olasunmibo Ogunmakin.
More information about her can be found in&amp;nbsp;wikipedia&amp;nbsp;and on her&amp;nbsp;Official website.

&amp;nbsp;&amp;nbsp;Just wanted to share one of her songs.
</summary><link rel='replies' type='application/atom+xml' href='http://migaat.blogspot.com/feeds/4182105513782052528/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://migaat.blogspot.com/2010/11/ayo-down-on-my-knees.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2980121266019308398/posts/default/4182105513782052528'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2980121266019308398/posts/default/4182105513782052528'/><link rel='alternate' type='text/html' href='http://migaat.blogspot.com/2010/11/ayo-down-on-my-knees.html' title='Ayo - Down On My Knees'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09105756052788619710</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/hdXrIGjA9SU/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2980121266019308398.post-2130837683093050235</id><published>2010-11-21T02:42:00.007+02:00</published><updated>2011-02-24T10:02:49.107+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="exif"/><category scheme="http://www.blogger.com/atom/ns#" term="nautilus"/><category scheme="http://www.blogger.com/atom/ns#" term="nautilus scripts"/><category scheme="http://www.blogger.com/atom/ns#" term="photos"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>Organize your photos by date in nautilus</title><summary type="text">I already know how to use the exif information in pyhton to group photos in folders by date the picture was taken( see here ). The problem is that you must run the script in a terminal and the script must by in the python path. So I changed it a bit. Now the script can be used in the Nautilus. To group photos in any directory I can select Scripts-&amp;gt; Group By Date.

Changes from the previous  </summary><link rel='replies' type='application/atom+xml' href='http://migaat.blogspot.com/feeds/2130837683093050235/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://migaat.blogspot.com/2010/11/organize-your-photos-by-date-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2980121266019308398/posts/default/2130837683093050235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2980121266019308398/posts/default/2130837683093050235'/><link rel='alternate' type='text/html' href='http://migaat.blogspot.com/2010/11/organize-your-photos-by-date-in.html' title='Organize your photos by date in nautilus'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09105756052788619710</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2980121266019308398.post-6574477814272182142</id><published>2010-11-02T19:51:00.007+02:00</published><updated>2010-11-22T01:28:25.166+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="exif"/><category scheme="http://www.blogger.com/atom/ns#" term="organize"/><category scheme="http://www.blogger.com/atom/ns#" term="photos"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>Simple way to organize photos by date</title><summary type="text">I have a lot of pictures. Like most people today. They were all dumped in one directory. It was very difficult to view them. So I wrote a very short python script that reads from the EXIF date the photo was taken. Create a directory for that date and move the photo in this directory.
Here&#39;s the script:
import os
from PIL import Image
import shutil

cdate_tag = 0x9003

files = [f for f in </summary><link rel='replies' type='application/atom+xml' href='http://migaat.blogspot.com/feeds/6574477814272182142/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://migaat.blogspot.com/2010/11/simple-way-to-organize-photos-by-date.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2980121266019308398/posts/default/6574477814272182142'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2980121266019308398/posts/default/6574477814272182142'/><link rel='alternate' type='text/html' href='http://migaat.blogspot.com/2010/11/simple-way-to-organize-photos-by-date.html' title='Simple way to organize photos by date'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09105756052788619710</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>