Solved

Compact Lua Files

Posted on 2010-09-02
6
388 Views
Last Modified: 2012-05-10
I do not know if and permitodo post FILES for download here on Experts ...
But I have a problem in that case would be integration with Delphi Python ...
I have this series of files in python, and I want to compress all files in the folder ...
So a file with the. KOM

It is possible?

Archive .lua
https://nkilla.box.net/files#/files/0/f/49847828/1/f_496028178

If possible the compactor in Language Format .Bat or Delphi ...
Thanks for the help
0
Comment
Question by:nkilla
  • 3
  • 2
6 Comments
 
LVL 15

Accepted Solution

by:
mish33 earned 500 total points
ID: 33597563
Python supports importing from .zip archives since version 2.3 (http://docs.python.org/library/zipimport.html)
0
 

Author Comment

by:nkilla
ID: 33604356
Can u help me if code ?

I dont understing your question of supports from zip imporiting..
0
 
LVL 15

Expert Comment

by:mish33
ID: 33605161
Just add zip archive file to sys.path and use import as usual to get modules from the archive file. See also an example with code at the bottom of the link above.
0
 

Author Comment

by:nkilla
ID: 33608988
Dont have a way more sample ?
0
 

Author Closing Comment

by:nkilla
ID: 33651804
Python supports importing from .zip archives since version 2.3 (http://docs.python.org/library/zipimport.html)
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show the steps for installing Python on Ubuntu Operating System. I have created a virtual machine with Ubuntu Operating system 8.10 and this installing process also works with upgraded version of Ubuntu OS. For installing Py…
Sequence is something that used to store data in it in very simple words. Let us just create a list first. To create a list first of all we need to give a name to our list which I have taken as “COURSE” followed by equals sign and finally enclosed …
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question