How to pack several files into one in order to go through them in a handmade file manager?How to extract text from several .txt files with Python?python array of decimals into binary numbers efficientyHow to get Numpy array of Canvas data?zipfile in Python produces not quite normal ZIP filesPython 3.x, Trouble accessing key value with special characters in Python Dict (loaded through json)Python3 multiprocessingPython Tkinter : Control/set the (Tab key) widget “visit” orderHow can i properly use random.sample in my code?Kivy 1.10.1 how can I change something's font_size using options settings?user-upload huge txt file javascript strategies
What aircraft was used as Air Force One for the flight between Southampton and Shannon?
What would be the way to say "just saying" in German? (Not the literal translation)
Electricity free spaceship
Which is the better way to call a method that is only available to one class that implements an interface but not the other one?
Russian word for a male zebra
How to learn Linux system internals
Discarding ox heart fat
Is it safe to change the harddrive power feature so that it never turns off?
I've been given a project I can't complete, what should I do?
Is it a bad idea to to run 24 tap and shock lands in standard
How to publish items after pipeline is finished?
Can a human be transformed into a Mind Flayer?
What is the color of artificial intelligence?
Why am I Seeing A Weird "Notch" on the Data Line For Some Logical 1s?
A word that means "blending into a community too much"
What's the difference between the Add and Linear Dodge blend modes in After Effects?
Which languages would be most useful in Europe at the end of the 19th century?
How do free-speech protections in the United States apply in public to corporate misrepresentations?
60s or 70s novel about Empire of Man making 1st contact with 1st discovered alien race
Is it possible to have a wealthy country without a middle class?
What is the purpose of bonds within an investment portfolio?
Why is there always a fire truck present before refuelling?
Getting UPS Power from One Room to Another
Does the new finding on "reversing a quantum jump mid-flight" rule out any interpretations of QM?
How to pack several files into one in order to go through them in a handmade file manager?
How to extract text from several .txt files with Python?python array of decimals into binary numbers efficientyHow to get Numpy array of Canvas data?zipfile in Python produces not quite normal ZIP filesPython 3.x, Trouble accessing key value with special characters in Python Dict (loaded through json)Python3 multiprocessingPython Tkinter : Control/set the (Tab key) widget “visit” orderHow can i properly use random.sample in my code?Kivy 1.10.1 how can I change something's font_size using options settings?user-upload huge txt file javascript strategies
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
An application works with entities that consist of images and texts. For the program, several JPGs, PNGs, TIFFs, texts or jsons are considered as a one whole work, but they are a bunch of different files on a disk. It's convinient for a user to be able to easily copy works, sent them to another people, download, upload etc. While a work is actually several files it's cumbersome to work with them for a user.
Probably, I can zip required files but it looks like a heavy workaround. I don't need compression, and speed of the application is important.
I'm not sure, may be, it's okay to just strictly read the whole data from each file and sequentially write it to a final file, construct it as a json or something else... but I suppose that a turnkey solution may be here.
My question:
How can I pack different files into one in order to go quickly through them, copy, move, delete, edit in a GUI application like any file manager does, and to be able for a person to manually copy works, send to a friend etc.?
I code in Python.
Thank you in advance.
python-3.x
add a comment |
An application works with entities that consist of images and texts. For the program, several JPGs, PNGs, TIFFs, texts or jsons are considered as a one whole work, but they are a bunch of different files on a disk. It's convinient for a user to be able to easily copy works, sent them to another people, download, upload etc. While a work is actually several files it's cumbersome to work with them for a user.
Probably, I can zip required files but it looks like a heavy workaround. I don't need compression, and speed of the application is important.
I'm not sure, may be, it's okay to just strictly read the whole data from each file and sequentially write it to a final file, construct it as a json or something else... but I suppose that a turnkey solution may be here.
My question:
How can I pack different files into one in order to go quickly through them, copy, move, delete, edit in a GUI application like any file manager does, and to be able for a person to manually copy works, send to a friend etc.?
I code in Python.
Thank you in advance.
python-3.x
1
Did you trytar?
– DYZ
Mar 24 at 21:17
@DYZ, I didn't know what is it. As I've looked some articles about tar format, and it looks as what I need. Most likely, it's the simplest and the fastest way. Thank you!
– Sergey V.
Mar 25 at 4:48
add a comment |
An application works with entities that consist of images and texts. For the program, several JPGs, PNGs, TIFFs, texts or jsons are considered as a one whole work, but they are a bunch of different files on a disk. It's convinient for a user to be able to easily copy works, sent them to another people, download, upload etc. While a work is actually several files it's cumbersome to work with them for a user.
Probably, I can zip required files but it looks like a heavy workaround. I don't need compression, and speed of the application is important.
I'm not sure, may be, it's okay to just strictly read the whole data from each file and sequentially write it to a final file, construct it as a json or something else... but I suppose that a turnkey solution may be here.
My question:
How can I pack different files into one in order to go quickly through them, copy, move, delete, edit in a GUI application like any file manager does, and to be able for a person to manually copy works, send to a friend etc.?
I code in Python.
Thank you in advance.
python-3.x
An application works with entities that consist of images and texts. For the program, several JPGs, PNGs, TIFFs, texts or jsons are considered as a one whole work, but they are a bunch of different files on a disk. It's convinient for a user to be able to easily copy works, sent them to another people, download, upload etc. While a work is actually several files it's cumbersome to work with them for a user.
Probably, I can zip required files but it looks like a heavy workaround. I don't need compression, and speed of the application is important.
I'm not sure, may be, it's okay to just strictly read the whole data from each file and sequentially write it to a final file, construct it as a json or something else... but I suppose that a turnkey solution may be here.
My question:
How can I pack different files into one in order to go quickly through them, copy, move, delete, edit in a GUI application like any file manager does, and to be able for a person to manually copy works, send to a friend etc.?
I code in Python.
Thank you in advance.
python-3.x
python-3.x
asked Mar 24 at 19:25
Sergey V.Sergey V.
225
225
1
Did you trytar?
– DYZ
Mar 24 at 21:17
@DYZ, I didn't know what is it. As I've looked some articles about tar format, and it looks as what I need. Most likely, it's the simplest and the fastest way. Thank you!
– Sergey V.
Mar 25 at 4:48
add a comment |
1
Did you trytar?
– DYZ
Mar 24 at 21:17
@DYZ, I didn't know what is it. As I've looked some articles about tar format, and it looks as what I need. Most likely, it's the simplest and the fastest way. Thank you!
– Sergey V.
Mar 25 at 4:48
1
1
Did you try
tar?– DYZ
Mar 24 at 21:17
Did you try
tar?– DYZ
Mar 24 at 21:17
@DYZ, I didn't know what is it. As I've looked some articles about tar format, and it looks as what I need. Most likely, it's the simplest and the fastest way. Thank you!
– Sergey V.
Mar 25 at 4:48
@DYZ, I didn't know what is it. As I've looked some articles about tar format, and it looks as what I need. Most likely, it's the simplest and the fastest way. Thank you!
– Sergey V.
Mar 25 at 4:48
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55327650%2fhow-to-pack-several-files-into-one-in-order-to-go-through-them-in-a-handmade-fil%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55327650%2fhow-to-pack-several-files-into-one-in-order-to-go-through-them-in-a-handmade-fil%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Did you try
tar?– DYZ
Mar 24 at 21:17
@DYZ, I didn't know what is it. As I've looked some articles about tar format, and it looks as what I need. Most likely, it's the simplest and the fastest way. Thank you!
– Sergey V.
Mar 25 at 4:48