Re: ANN: P(x) 0.2 applet builder
>The tarball can be found at http://www.mired.org/downloads/P(x)-0.2.tar.gz >. Something doesn't work wit the link. LB -- http://mail.python.org/mailman/listinfo/python-list
Re: ANN: P(x) 0.2 applet builder
>The tarball can be found at http://www.mired.org/downloads/P(x)-0.2.tar.gz >. Something doesn't work with the link. LB -- http://mail.python.org/mailman/listinfo/python-list
Re: ANN: P(x) 0.2 applet builder
Sorry, I can only obtain a windows with caption: "VRML Console" and text: [ Info] Unable to open input file: http://www.mired.org/downloads/P(x)-0.2.tar.gz [ Info] Compilation error: Unrecognized header string ? LB -- http://mail.python.org/mailman/listinfo/python-list
Re: ANN: P(x) 0.2 applet builder
>it looks like LB has configured his browser to pass all gz files to some >ancient VRML plugin; see e.g. You are right! And now it's fixed. But till yesterday I did download of .gz file with no problems at all... Thanks, LB -- http://mail.python.org/mailman/listinfo/python-list
Re: ANN: P(x) 0.2 applet builder
>it looks like LB has configured his browser to pass all gz files to some >ancient VRML plugin; see e.g. You are right! And now it's fixed. But till yesterday I did download of .gz file with no problems at all... Thanks, LB -- http://mail.python.org/mailman/listinfo/python-list
Re: Accessing files on a PocketPC device
walterbyrd ha scritto: > I want my python app to read a file from a pocketpc mobile device, if > possible. > > Assume I am running windows-xp, and activesync 3.8. Assume I have > "exported" the file. > > As I understand it, exported files are not really on the PC, even after > syncing. You have to use your stylus on the PDA to get to the file in > question, then use your PC mouse to drag the file onto the PC. I hate > this. As it is, to get to the file, I have to open "my computer" then > open the "mobile device" icon. > On my PPC (win mobile 2003 and activesync 3.8) syncing replicate (and in some cases translate,as for excel, word...) file between PPC and PC. So finally you have a copy on PC and a copy on PPC. Otherwise you can access your PPC as a remote device via activesync. I don't know if you can read a file on the PPC using a python app, but surely you can operate on the syncronized file on the PC. LB -- http://mail.python.org/mailman/listinfo/python-list
Re: odt -> pdf
pyUNO ia a bridge between python and Openoffice.org. Nothing directly to do with export in pdf format. If you prefer you can "print" a pdf file from a.odt or .doc or .* source with external freeware/shareware or business utilities as pdf creator, adobe acrobat etc. sometimes with more control on results. LB -- http://mail.python.org/mailman/listinfo/python-list
Help needed to freeze a script.
Hi, I would like to freeze a numpy based script in order to have an application which could run without having to install numpy and cie. Indeed, I'm not root on the targeted computer and I can't easily make a complete install of numpy and scipy. So I decided to test the freeze.py tool shipped with python2.5. To complicate matters, I must say that I only have a local installation of python2.5 and numpy. I used the following command line : > python2.5 ../Python-2.5.1/Tools/freeze/freeze.py ~/Python/numpy/test_freeze.py At first sight, it seems to be fine, as I saw numpy in the liste of frozen dependancies : [...] freezing numpy ... freezing numpy.__config__ ... freezing numpy._import_tools ... freezing numpy.add_newdocs ... freezing numpy.core ... freezing numpy.core._internal ... freezing numpy.core.arrayprint ... freezing numpy.core.defchararray ... freezing numpy.core.defmatrix ... freezing numpy.core.fromnumeric ... freezing numpy.core.info ... freezing numpy.core.memmap ... freezing numpy.core.numeric ... freezing numpy.core.numerictypes ... freezing numpy.core.records ... freezing numpy.ctypeslib ... [...] freezing numpy.version ... But at the end I saw this message : Warning: unknown modules remain: _bisect _csv _ctypes _curses _hashlib _heapq [...] numpy.core._dotblas numpy.core._sort numpy.core.multiarray numpy.core.scalarmath numpy.core.umath numpy.fft.fftpack_lite numpy.lib._compiled_base numpy.linalg.lapack_lite numpy.random.mtrand operator parser pyexpat readline [...] Now run "make" to build the target: test_weibull I runned make without any problem but the final application didn't work : % ./test_freeze Traceback (most recent call last): File "/home/loic/Python/numpy/test_freeze.py", line 8, in import numpy as np [...] File "/home/loic/tmp/bluelagoon/lib/python2.5/site-packages/numpy/ core/__init__.py", line 5, in import multiarray ImportError: No module named multiarray Is there any known issue when freezing a numpy based script ? I should add that I configured my PYTHONPATH to match my local installation > echo $PYTHONPATH /home/loic/lib/python:/home/loic/tmp/bluelagoon/lib/python2.5:/home/ loic/tmp/bluelagoon/lib/python2.5/site-packages/: and this local installation work fine : > python2.5 -c 'import numpy; print numpy.__version__; import > numpy.core.multiarray; print "no pb"' 1.2.0b2 no pb Have you got any recipe to freeze numpy based script ? Regards, -- LB -- http://mail.python.org/mailman/listinfo/python-list
Re: Help needed to freeze a script.
> Did you try py2exe instead offreeze? On the page > > http://www.py2exe.org/index.cgi/WorkingWithVariousPackagesAndModules > > there is only one brief mention of numpy packaging troubles, > suggesting that it might work better. I have used py2exe in the past > without much trouble. Unfortunately, I'm working under Linux and py2exe works only for windows as far as I know. Do you know if py2exe executable embedding a lot of C extensions - like numpy and scipy - can ben executed on another computer, with a different architecture (64bits vs 32 bits) and a different OS ? -- LB -- http://mail.python.org/mailman/listinfo/python-list
