Are images stored in a Python project folder as efficient as my web_space?


On my last RTS, I stored all my images, animated GIF's in my webspace, a folder. (It seemed most convenient for a distributed Java RTS, to pull my media from there)
But, in Pycharm, there can be folders within the project area. If I store my images there, is it as efficient as on my web domain? Where should I keep my project images and sounds? How is the app distributed, like a JAR file? Are there disadvantages?

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

disk space will be the same independent of where the folder containing the images is located.

However the more important issue is how you want to distribute your code.

If they are part of the python package myapp, then you could create a directory myapp/data where you store all required files

If the person that wants to run your app has python installed then the simplest way to create an application is to create a python package.

(creating a file named, which has to describe which files data has to be added)

some inital info can be found at
if you created the properly you can create a tar file of your application that can then be installed by other userss with pip install.

if you want to create an executable, that does not need python, then you can look at tools like pyinstaller / cxfreeze / py2exe / . . .

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
beavoidAuthor Commented:

What do most people do, - in real world use - do they have their apps launched in a browser.
How many people make desktop python projects?
I don't know. More and more people implement web interfaces, if performance is not critical, but that means, that you have to know python and html and javascript (and ideally for bigger projects a javascript frame work like VueJs / AngularJS or ReactJS)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.