[EMAIL PROTECTED] wrote:
Hans Georg Krauthaeuser wrote:
[EMAIL PROTECTED] wrote:
Can objects be saved and reloaded by Pickle ? I have tried but no
success.
Yes, that's the intended use of pickle/cPickle. There are examples in
the docs:
http://docs.python.org/lib/module
[EMAIL PROTECTED] wrote:
Can objects be saved and reloaded by Pickle ? I have tried but no
success.
Yes, that's the intended use of pickle/cPickle. There are examples in
the docs:
http://docs.python.org/lib/module-pickle.html
What have you tried and what didn't work?
Hans Georg
--
manstey wrote:
Hi,
I am running a script that produces about 450,000 dictionaries. I tried
putting them into a tuple and then pickling the tuple, but the tuple
gets too big. Can I pickle dictionaries one after another into the same
file and then read them out again?
Cheers,
Matthew
If
Sandra-24 wrote:
I'm not sure how complex this is, I've been brainstorming a little, and
I've come up with:
If the previous line ended with a comma or a \ (before an optional
comment)
That's easy to cover with a regex
But that doesn't cover everything, because this is legal:
l = [
LabWINC wrote:
Hi all,
i'm looking for a module to implement a digital FIR filter!
Can anyone help me?
Thanks,
Vincent
gnuradio?
Hans Georg
--
http://mail.python.org/mailman/listinfo/python-list
LabWINC wrote:
What's gnuradio?
http://www.gnu.org/software/gnuradio/
It's a c++ lib with a python wrapper.
BTW, thats the first hit in google ...
Hans Georg
--
http://mail.python.org/mailman/listinfo/python-list
LabWINC wrote:
I can't understand how gnuradio can help me...
I find scipy is the only way to implement a good FIR.
Well, then do it with scipy...
gnuradio has a module for FIR. I never used it. I just wanted to share
that information.
Hans Georg
--
jason schrieb:
Hello:
I installed the following:
python-2.4.2.msi
pywin32-207.win32-py2.4.exe
R-2.2.1-win32.exe
rpy-0.4.6-R-2.0.0-to-2.2.1-py24.win32.exe
on a Windows XP (SP2) box.
When I try to run the following (source:
http://rpy.sourceforge.net/plotting-with-RPy.html) in IDLE
Steven Bethard schrieb:
Carl Cerecke wrote:
Python has no goto.
Not in the standard library. You have to download the module:
http://www.entrian.com/goto/
;)
STeVe
This remerbers me to VATICAL, a famous programming language from the 80s.
Hi All,
I was playing with scipy.stats.itemfreq when I observed the following
overflow:
In [119]:for i in [254,255,256,257,258]:
.:l=[0]*i
.:print i, stats.itemfreq(l), l.count(0)
.:
254 [ [ 0 254]] 254
255 [ [ 0 255]] 255
256 [ [0 0]] 256
257 [ [0 1]] 257
258
Hans Georg Krauthaeuser schrieb:
Hi All,
I was playing with scipy.stats.itemfreq when I observed the following
overflow:
In [119]:for i in [254,255,256,257,258]:
.:l=[0]*i
.:print i, stats.itemfreq(l), l.count(0)
.:
254 [ [ 0 254]] 254
255 [ [ 0 255
Hans Georg Krauthaeuser schrieb:
Hans Georg Krauthaeuser schrieb:
Hi All,
I was playing with scipy.stats.itemfreq when I observed the following
overflow:
In [119]:for i in [254,255,256,257,258]:
.:l=[0]*i
.:print i, stats.itemfreq(l), l.count(0)
.:
254
derek schrieb:
Hello! I'm new to the group and am looking for a decent reference for
information about the history / evolution of the Python language and
its features. Typing, scoping, etc... I'd appreciate any good links.
Thanks!
- Derek
Looking at the title of your mail I would answer
Mingus Tsai schrieb:
Hello- please help with unpickling problem:
I am using Python version 2.3.4 with IDLE version 1.0.3 on a Windows
XPhome system.
My problem is with using cPickle to deserialize my pickled arrays of
datetime.datetime instances. The following is the code I have written:
malv schrieb:
Hans Georg Krauthaeuser wrote:
Dear all,
for the measurements in our labs we have developed python scripts that
are pretty fine for our needs. Basically, we have classes and call the
appropriate methods from the command line (or by other scripts). So, we
don't have any GUI.
Now
, Germany).
If someone is interested: contact me by email, please.
Best regards
Hans Georg Krauthaeuser
--
http://mail.python.org/mailman/listinfo/python-list
Peter Otten schrieb:
Pseud O'Nym wrote:
the following fragment doesn't cause any errors and results in buttons the
correct size for the images, but the buttons don't work, and the images
aren't displayed. If I add a text property, and remove the images, they
work fine, so the rest of my
Peter wrote:
I released a new version of the Windows installer for Python 2.3 that
includes the missing _TTSFast.pyd file.
Unfortunenately, the file TTSFast.py is missing, not _TTSFast.pyd.
Hans Georg
--
http://mail.python.org/mailman/listinfo/python-list
Mike P. wrote:
Hi,
I was wondering if anyone has had any luck with the python text to speech
(pyTTS) module available on Sourceforge:
http://sourceforge.net/projects/uncassist
I have followed the tutorial for pyTTS at:
http://www.cs.unc.edu/~parente/tech/tr02.shtml
Using the first simple speech
this http://my.execpc.com/~geezer/software/kbhit.c C
source that has a kbhit() and a getch() for linux/unix that I can SWIG
to python.
Are there other (more simple, pure python, true platform independent)
possibilities?
Best regards
Hans Georg Krauthaeuser
--
www.uni-magdeburg.de/krauthae
--
http
20 matches
Mail list logo