Maybe there is another group for posting this... I am a total newbie to
Python... so please forgive me if I ask a bunch of inappropriate
questions... as I am a big question asker.
If I develope an application in Python and use the Py2exe (hope I have that
right) tool... can I embed certain files... like graphic files... and even
video files... into the exe... so that they reside there, during
execution... as opposed to uncompressing into seperate files upon
installation.
For example, if I have a propritary graphic/slide and/or short propritary
video that I don't want to be a 'standalone' file... like a jpg or mov or
whatever... as I don't want people to be able to re-distribute the proteray
graphic/movie files w/o my application... will Py2exe or some other tool or
method bury those some way... like keeping them as data in the exe file?
It's been a long time since I have programed, but Python has got me
interested again.
Thanks for any suggestions.
Will 2 1695
"Will" <ws*******@netp v.com> writes: Maybe there is another group for posting this... I am a total newbie to Python... so please forgive me if I ask a bunch of inappropriate questions... as I am a big question asker.
If I develope an application in Python and use the Py2exe (hope I have that right) tool... can I embed certain files... like graphic files... and even video files... into the exe... so that they reside there, during execution... as opposed to uncompressing into seperate files upon installation.
For example, if I have a propritary graphic/slide and/or short propritary video that I don't want to be a 'standalone' file... like a jpg or mov or whatever... as I don't want people to be able to re-distribute the proteray graphic/movie files w/o my application... will Py2exe or some other tool or method bury those some way... like keeping them as data in the exe file?
py2exe allows to include data files as windows resources in the exe
file. Another thing you may be interested in is Mike Fletcher's
resourcepackage : http://resourcepackage.sourceforge.net/
Thomas
Will wrote: For example, if I have a propritary graphic/slide and/or short propritary video that I don't want to be a 'standalone' file... like a jpg or mov or whatever... as I don't want people to be able to re-distribute the proteray graphic/movie files w/o my application... will Py2exe or some other tool or method bury those some way... like keeping them as data in the exe file?
How will that proprietary media be used? I ask because once you go to view it,
won't it be completely open and available to the user anyway? (if it's a jpg,
then the user could just take a screen shot of it, and if it's a movie, then
you either have to make it available on the filesystem so the video player can
play it, or go through the non-trivial tasks of streaming the data to the
player, in which case the player's own DRM scheme may be better as true media
access control requires integration with the media sink or player, and not just
the transport).
-Dave This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: RJS |
last post by:
Hi all,
I can't get a py2exe compiled app to run with numarray (numarray-0.5.win32-
py2.2).
Also wxPythonWIN32-2.3.3.1-Py22 and ActivePython-2.2.1-222.
In the sample below, commenting out "import numarray" allows the exe to
run. Left in, I get "4.exe has generated errors" etc.
I'm going around and around and there isn't much on Google.
py2exe output is last.
|
by: Stefan Behrens |
last post by:
Hi,
does anybody know how I can get py2exe to work with wxPython's
wxCalendarCtrl?
Currently, I have just a "standard" setup.py, and py2exe gives me a
syntax error.
Do I need to include any special extension and how?
Below is the output I get as well as a small demo app to reproduce the
problem.
|
by: Achim Domma |
last post by:
Hi,
I managed to build a simple com server with py2exe. My script only imports
codecs and re, but the dist folder contains tcl84.dll, tk84.dll and
win32ui.pyd. Can somebody tell me why? And how to prevent this? I don't do
any gui stuff, so where does the dependency comes from?
regards,
Achim
|
by: Kathleen Kudzma |
last post by:
Does anyone know how to resolve the following problem that I'm getting in
Python 2.2 and 2.3?
PROBLEM: When I try to create a classReader object I get an exception:
"SAXReaderNotAvailable: No parsers found". This only happens when I run the
..EXE; it does not happen if I run the .PY file. When I'm running the .EXE
this exception doesn't happen immediately. It happens as soon as I try to
create a classReader object.
Please see the...
|
by: Marc |
last post by:
Hi all,
I know that to hide a console normally you simply change the extension
from .py to .pyw. That's simple enough. However I can't seem to
accomplish the same thing after freezing the program. I've tried
building the setup file with the python script as a .pyw file, but it
crashes and doesn't give me a reason. This is of course because the
debug window doesn't open, so you don't know what happened (ahh, the
irony).
| |
by: Thomas Heller |
last post by:
**py2exe 0.5.0** (finally) released
===================================
py2exe is a Python distutils extension which converts python scripts
into executable windows programs, able to run without requiring a
python installation.
News
Python 2.3 is required, because the new zipimport feature is used.
|
by: Funduk |
last post by:
Hello,
So I've been playing with Python and Pygame for a while and I decided
I wanted to make a real executable so I could send that stuff over to
my friends to show off my <sarcasm>maad skillz</sarcasm>.
Everything was going great I went and got all the newest software
(including Distutils and PY2EXE) and read the docs on making a setup
py.
|
by: Robin Becker |
last post by:
Don't know if this is the right place to ask, but has anyone considered using
something like tcl's freewrap code to integrate tkinter into py2xe single
executables?
We currently use the (fairly clunky) nsis route to create single file
executables with py2exe as input, but with the new bundle_files option it should
be possible to integrate our tcl/tk stuff into a common library.zip as that
seems to be the method used by freewrap.
--...
|
by: Isaac Rodriguez |
last post by:
Hi,
I am looking for feedback from people that has used or still uses
Py2Exe. I love to program in python, and I would like to use it to
write support tools for our development team, but I cannot require
everyone to install python in their machines, so I was thinking that
Py2Exe would help on that.
The support tools I write are mostly command line driven (no GUI), but
in the future, I would like to write some expert applications that...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |