Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.