It is very easy to use pyrcc4 command in terminal and i've been easily able to do it. 
<div><br></div><div><br></div><div>Please tell me if there&#39;s a way to run this command from a python code instead of terminal. The reason i wanna do this is because i want to constantly update an image for which i am using this command to create a resource file for.</div>
<div><br></div><div>regards</div><div>Anshul</div>