Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm writing simple application in Python using Quickly.

Now I want to include few extra text files (templates) to my application so I can access it when application is installed. I want to store it in ~/aplication_name/templates for instance.

How could I do this?

share|improve this question
up vote 1 down vote accepted

I noticed that files stored in ./data/media are packaged with the app.

However, apart from pictures and videos, I don't know whether this is considered as a best practice or not.

share|improve this answer
Ok, but where I can find it after app is installed ? – Majster-pl Oct 25 '12 at 20:47
Ok, if you put staff ( files ) to ./data/media after you package your application and install it this files are stored in: /usr/share/app_name/media Thanks for help! – Majster-pl Nov 5 '12 at 19:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.