Roie Kerstein wrote:
I am looking for a python package that deals with galois fields.
Does anybody know where can I find it?
Googling for
python "finite field"
reveals among other things the URLs
http://www.hpcf.upr.edu/~humberto/software/fields/
http://www.csua.berkeley.edu/~emin/source_c
Jeffrey Barish wrote:
[snip]
OK, I downloaded tcl8.4.8 and tk8.4.8. They are now installed. Back to
python2.4 make. It now bombs at:
gcc -pthread -shared build/temp.linux-i686-2.4/_tkinter.o
build/temp.linux-i686-2.4/tkappinit.o -L/usr/X11R6/lib64
-L/usr/X11R6/lib -L/usr/local/lib -ltk8.4 -ltcl8
On Thu, Dec 02, 2004 at 04:22:25PM -0800, Kevin wrote:
> Hello All,
>
> I wondering if anyone has encountered the same issue
> with using PySQL. This is my first time using this DB
> so this preformance may be typical. I'm reading an
> ASCII file through PyParse that contains about 1.3Meg
> of F
Hello all,
I am just starting out on learning Python and joined this list. I
have grabbed the Learning Perl book by Mark & David. This book really
seems good so far.. the concepts are explained pretty nicely. :) I
have a background a bit in Java but Python seems so cooler. The
concept of Dynamica
On Thu, Dec 02, 2004 at 08:39:31PM -0800, Kevin wrote:
> Hello All,
>
> I wanted to thank Roger Binn for his email. He had
> the answer to my issue with writing speed. It's
> actual made an incredible change in the preformace. I
> didn't have to go all the way to implementing the
> synchronous
> > PS: Please feel free to set FU-Ts as appropriate.
>
> What are FU-Ts?
"It took me 3 hours to figure out FU meant 'Felix Unger'.""
-- Oscar Madison, The Odd Couple
MTC.
--
James Stroud, Ph.D.
UCLA-DOE Institute for Genomics and Proteomics
611 Charles E. Young Dr. S.
MBI 205, UCLA
"Gordon Williams" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I have to lists that I need to find the common numbers (2nd rounded to
> nearest integral) and I am wondering if there is a more efficient way of
> doing it.
>
> >>> a= [(123,1.3),(123,2.4),(123,7.8),(123,10.2)]
"Peter Hansen" <[EMAIL PROTECTED]> wrote:
> Only pure Python code can run without change on a newer interpreter.
Is the interpreter smart enough to rebuild a pyc (if the corresponding py
file is there of course) file that was built by a previous version?
--
http://mail.python.org/mailman/list
Rocco Moretti wrote:
For some reason I can't seem to make use of the google links. When I
use the above eg
http://groups.google.com/groups?frame=right&th=e562a771d1c827c9
I get a not found google page with url
http://groups-beta.google.com/groups?frame=right&th=e562a771d1c827c9
really wanted to
Dan Perl wrote:
Here is a problem I am having trouble with and I hope someone in this group
will suggest a solution. First, some code that works. 3 classes that are
derived from each other (A->B->C), each one implementing only 2 methods,
__init__ and setConfig.
Can I somehow in config-main.cfg set how big shall (and where) open the
IDLE window? Cause in my w98 it is always opening so that I can not see
the bottom line
Thank you
Pavel
--
http://mail.python.org/mailman/listinfo/python-list
Ramon Felciano wrote:
> I'm using the csv module to parse a tab-delimited file and wondered
> whether there was a more elegant way to skip an possible header line.
> I'm doing
>
> line = 0
> reader = csv.reader(file(filename))
> for row in reader:
> if (ignoreFirstLine & line == 0):
> continue
>
--- Timo Virkkala <[EMAIL PROTECTED]> wrote:
>
> Do you mean the structure and design of the
> language, or the process of
> designing the language?
I mean the structure and design of the language.
Sorry for the umbiguous question.
>
> Well, in either case, you'll probably find your
> answer
*** WARNING **
Este mensaje ha sido analizado por MDaemon AntiVirus y ha encontrado
un fichero anexo(s) infectado(s). Por favor revise el reporte de abajo.
AttachmentVirus name Action taken
---
Peter Otten wrote:
> Functions written in Python have a __get__ attribute while builtin
> functions (implemented in C) don't. Python-coded functions therefore
> automatically act as descriptors while builtins are just another
> attribute.
Jp Calderone <[EMAIL PROTECTED]> wrote:
> When the class ob
Robert Brewer wrote:
Kamus of Kadizhar wrote:
I'm having a problem with logging. I have an older app that used the
RotatingFileHandler before it became part of the main distribution (I
guess in 2.3).
[snip]
The offending snippet of code is:
logFile =
logging.handlers.RotatingFileHandler('/var/l
To clarify, I mean the internal structure and design
of python interpreter. Any hint? Thanks.
Regards,
Limin
__
Do you Yahoo!?
Yahoo! Mail - 250MB free storage. Do more. Manage less.
http://info.mail.yahoo.com/mail_250
--
http://mail.python.org
>>> Im trying to compile a script with py2exe. The pickle module is
causing the
>>> program to give an error.
>>>
>>> Traceback (most recent call last):
>>> File "SETIstat.pyw", line 330, in ?
>>> File "SETIstat.pyw", line 84, in start_up
>>> File "SETIstat.pyw", line 79, in config_load
>>>
Kamus of Kadizhar <[EMAIL PROTECTED]> wrote in message news:<[EMAIL
PROTECTED]>...
> Thanks to Robert Brewer, I got enough insight into logging to make it work
>
> Now I have another issue: file locking. Sorry if this is a very basic
> question, but I can't find a handy reference anywhere t
Terry Reedy wrote:
> Googling python 'galois fields' gives over 500 hits, the most recent being
> your identical question on catalog-sig. Have you looked at them?
Yes. Nothing there is a module. only discussions.
:(
--
Best regards
Roie Kerstein
--
http://mail.python.org/mailman/listinfo/pyt
Steven Bethard wrote:
Yeah, almost certainly since he's looking at lists 3K long. If they
were small, you never know since the list comprehension gets the C-code
speedup, while sets.Set is Python code:
> [list comprehension]
1 loops, best of 3: 27.5 usec per loop
> [Python 2.3 Set]
1 lo
The VirusCheck at the IMST generated the following Message:
V I R U S A L E R T
Our VirusCheck found a Virus (W32/Netsky-Q) in your eMail to "empire.support".
This eMail has been deleted !
Now it is on you to check your System for Viruses
This Syst
When I edit a Python script with XEmacs, then hit C-c C-c, the script is
executed, the output is shown in a *Python Output* buffer, and the
cursor is moved into this buffer.
How can I change the behaviour so that the cursor stays where it was
before? I'm using Revision 4.29, if it matters.
Thank
Hello,
I'm writing this little program, and I've came across a function
that I need to call. Since the execution of the function takes a
real long time I want to put a timer, or an animated 'loading'
screen (it would be best if it was a progressbar). The questions is
how to make two commands to
hi kosina although i am new to this list as well, please CC to the
python list as well. That way not only 'we' but everyone benefits. :)
On Fri, 03 Dec 2004 11:30:06 +0100, gen2n <[EMAIL PROTECTED]> wrote:
> Thanks a lot. Could you help me once more with beginners question?
> In IDLE, when saving
Bartlomiej Rymarski <[EMAIL PROTECTED]> wrote:
> [...]
> And the loader() function would run in a loop until connect_db() is
> is finished. Is that possible in python? Or are there any other,
> better ways to do it?
> [...]
Oh, I forgot - I'm using Linux, and curses module in Python 2.3.
--
Bar
Mikael Olofsson wrote:
> Googling for
>
> python "finite field"
>
> reveals among other things the URLs
>
> http://www.hpcf.upr.edu/~humberto/software/fields/
> http://www.csua.berkeley.edu/~emin/source_code/py_ecc/
>
Thank you very much!
However, I lack two important things in the packages i
"Peter Hansen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Python is exceptionally backwards compatible, so generally
> code from an older version will run unchanged on newer
> Pythons.
I'm just curious: why exceptionally? I like Python for a lot of
reasons but I wouldn't put A
No one in the world knows the answer to my question!
" Is it possible to emulate in Python for Linux the mouse and/or the
keyboard?"
I am coming from XP, where I have plenty of methods (AutoIt, Macro
Express,
Macro Scheduler and even VBA macro registration in Excel).
On Fri, 03 Dec 2004 02:43:22 GMT, Jp Calderone <[EMAIL PROTECTED]> wrote:
> Bob Ippolito, you mean. And, no offense to Bob, but woopidy freaking doo.
> Now the vast hordes of PyObjC developers get to use their editor's name
> completion feature a little bit less. What an awesome justificatio
I am not only learning Python but programming itself ; reading your
posts makes me believe that nobody is that much of a beginner here. Is
there a newgroup or list for my type somewhere I can't find it ?
To illustrate my case this script :
# function to draw rings for an Olympic flag
def rings(
On Fri, 3 Dec 2004 11:03:58 -, Richard Brodie <[EMAIL PROTECTED]> wrote:
> I'm just curious: why exceptionally? I like Python for a lot of
> reasons but I wouldn't put API stability high on the list.
> Not compared with a traditional language like C or Fortran,
> anyway. Which languages go aro
Richard Brodie wrote:
"Peter Hansen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
Python is exceptionally backwards compatible, so generally
code from an older version will run unchanged on newer
Pythons.
I'm just curious: why exceptionally? I like Python for a lot of
reasons but I
... at the start of the file.
I just thought it to be too obvious to be included : my mistake.
Thanks
Jean
--
http://mail.python.org/mailman/listinfo/python-list
Matt Gerrans wrote:
"Peter Hansen" <[EMAIL PROTECTED]> wrote:
Only pure Python code can run without change on a newer interpreter.
Is the interpreter smart enough to rebuild a pyc (if the corresponding py
file is there of course) file that was built by a previous version?
Yes. The .pyc files cont
On Fri, 03 Dec 2004 06:38:54 -0500, Jean Montambeault
<[EMAIL PROTECTED]> wrote:
> I am not only learning Python but programming itself ; reading your
> posts makes me believe that nobody is that much of a beginner here. Is
> there a newgroup or list for my type somewhere I can't find it ?
The tut
Kevin wrote:
Hello All,
I wanted to thank Roger Binn for his email. He had
the answer to my issue with writing speed. It's
actual made an incredible change in the preformace. I
didn't have to go all the way to implementing the
synchronous mode(for my app). Previously, I was
insert one record at
Jean Montambeault wrote:
I am not only learning Python but programming itself ; reading your
posts makes me believe that nobody is that much of a beginner here. Is
there a newgroup or list for my type somewhere I can't find it ?
To illustrate my case this script :
# function to draw rings for a
On Fri, Dec 03, 2004 at 06:06:11AM -0500, Kent Johnson wrote:
> If your data is (or can be) created by an iterator, you can use this recipe
> to group the data into batches of whatever size you choose and write the
> individual batches to the db.
> http://aspn.activestate.com/ASPN/Cookbook/Python
Jive wrote:
I've un-installed Python 2.4, re-installed Python 2.3 and PythonWin for 2.3,
but it's still broke.
When I start PythonWin, sometimes it looks like it is going to be okay. But
as soon as I open a .py file, the interactive window grabs the focus and
will not let go. I am stumped.
Is the
Paul Rubin wrote:
Steven Bethard <[EMAIL PROTECTED]> writes:
IMHO this too easy to accomplish right now to warrant
an "official" implementation:
class Bunch:
pass
b = Bunch()
b.one, b.two, b.three = 1,2,3
works just fine, depending on the problem I might add a few special
operators. For anything
Roie Kerstein wrote:
Thank you very much!
However, I lack two important things in the packages introduced there:
1. There is only element arithmetic - no polynomials, in which I have
need.
2. there is support only for fields of order 2^p, while I need fields of
prime order.
You still helped me, as
"Peter Hansen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Anyway, you're confusing "instability" (I hate that word,
> it has connotations of unreliability, which aren't intended)
> with "enhancement". The API gets changed, yes, but by
> adding new things, almost never by remov
Limin Fu wrote:
To clarify, I mean the internal structure and design
of python interpreter. Any hint? Thanks.
Regards,
Limin
In the open source world, of course, the usual answer from people like
me (who don't delve deeply into the internals most of the time) is "use
the source, Luke".
But I'm s
lamb2000 <[EMAIL PROTECTED]> wrote:
> [-- text/plain, encoding 7bit, charset: us-ascii, 21 lines --]
>
>
>No one in the world knows the answer to my question!
>" Is it possible to emulate in Python for Linux the mouse and/or the
> keyboard?"
>I am coming from XP, where I
Hi All,
I'm writing an application that sends out emails, for workflow-item
tracking purposes.
I am using a VERP-style addressing mechanism, whereby I send each
message from an uniquely generated email address, so that I can relate
bounces, notification failures, etc, to the original address to
This is almost the same code as Greg's with the only difference being that
test for configuration having been done. But the test is unnecessary. I
don't see how setConfig could be invoked in the super of the base class (A),
so such a test would be relevant only in subclasses, if they DO invoke
Mike wrote:
AttributeError: 'module' object has no attribute 'xxx'
We know the calling script finds the necessary modules, and the
attribute clearly appears in the module's .py file.
Can anyone tell me what the problem is or if what we're trying to do is
not possible? Is there something in additio
Peter Hansen wrote:
Matt Gerrans wrote:
"Peter Hansen" <[EMAIL PROTECTED]> wrote:
Only pure Python code can run without change on a newer interpreter.
Is the interpreter smart enough to rebuild a pyc (if the corresponding
py file is there of course) file that was built by a previous version?
Yes
Anyone playing with the CPython interpreter's new command line switch might have
noticed that it only works with top-level modules (i.e. scripts that are
directly on sys.path). If the script is inside a package, the invocation will
fail with a "Module not found" error.
This PEP is aimed at fixi
On Fri, 03 Dec 2004 09:40:07 +, Vinay Sajip wrote:
> Of course, you should not normally be calling emit() from user code. The
> correct approach is to log events to loggers, and not emit them to
> handlers directly.
Thanks, I finally got that figured out. Lots changed between the time I
> While looking into this, I had seen some mention of protocol option in
> pickle. I
> hadnt specified anything for protocol, so it defaults to 0 though I dont know
> what that is. Its my first time using pickle and second with py2exe.
If you think this might be your problem, then it would be bes
> I have no way to build it on Windows though, as I don't have Visual C++
> 7.1, for that we must wait for Robin Dunn.
Would it be too difficult of a task to try getting the build working
with Dev-C++? That way those without enough incentive for purchasing
Visual C++ (in excess of $100, I believe)
On Fri, 03 Dec 2004 07:41:59 -0500, Steve Holden <[EMAIL PROTECTED]> wrote:
> Next question: bunch is a cute name, but not very suggestive of purpose.
> Who can think of a better one?
"Better"is highly subjective in this context. There are several alternatives:
Bunch
Generic
Record
DataRecord
I
On Fri, 2004-12-03 at 06:38, Jean Montambeault wrote:
> I am not only learning Python but programming itself ; reading your
> posts makes me believe that nobody is that much of a beginner here. Is
> there a newgroup or list for my type somewhere I can't find it ?
>
> To illustrate my case this s
Steven Bethard wrote:
> The question is not how easy it is to write,
> but how many times it's going to get written.
but with that logic we could create a standard
"looping" construct called loop(x) that would stand in for
for i in range(x):
or a file_reader('whatever') generator that would be
a s
hi all,
can anyone tell me why this distinction? i mean why it returns False
on floats??
>>> a = 1
>>> b = 1
>>> a is b
True
>>> a = 1.1
>>> b = 1.1
>>> a is b
False
>>>
thanx .
--
cheers,
Ishwor Gurung
--
http://mail.python.org/mailman/listinfo/python-list
Istvan Albert wrote:
> On the other hand, it would be nice to have a module that
> implements various design patterns. The Bunch, the Borg, the Null,
> the Proxy all nicely documented tucked away in their separate
> module. That would feel a lot less like littering the standard name space
> with an
>
> > bou_europe=Button(fen1, text='Europe',\
> >command=rings(41, 100, -22, 'blue'))
Silly me. I misunderstood what you wanted first time around.
In Python functions are "first class objects" that are treated no
differently than anything else. When you setup your button
Ishwor wrote:
hi all,
can anyone tell me why this distinction? i mean why it returns False
on floats??
a = 1
b = 1
a is b
True
a = 1.1
b = 1.1
a is b
False
thanx .
There is no guarantee that this will hold in all implementations of Python.
The majority implementation, usually called CPython becaus
Daniel Bickett wrote in news:mailman.7076.1102081193.5135.python-
[EMAIL PROTECTED] in comp.lang.python:
>> I have no way to build it on Windows though, as I don't have Visual C++
>> 7.1, for that we must wait for Robin Dunn.
>
> Would it be too difficult of a task to try getting the build workin
On Fri, 2004-12-03 at 09:01, Ishwor wrote:
> hi all,
> can anyone tell me why this distinction? i mean why it returns False
> on floats??
> >>> a = 1
> >>> b = 1
> >>> a is b
> True
> >>> a = 1.1
> >>> b = 1.1
> >>> a is b
> False
> >>>
>
> thanx .
> --
> cheers,
> Ishwor Gurung
In Python, so
On Fri, 03 Dec 2004 08:58:48 -0500, Istvan Albert
<[EMAIL PROTECTED]> wrote:
> On the other hand, it would be nice to have a module that
> implements various design patterns. The Bunch, the Borg, the Null,
> the Proxy all nicely documented tucked away in their separate
> module. That would feel a l
Is there a way in python to access properties of floats? I need something
equiv to C DBL_EPSILON defined in .
--
http://mail.python.org/mailman/listinfo/python-list
Hi All,
I've been working with python for about 6 months now, and have been
very impressed with the size and scope of the libraries. I have,
however, run into a bit of a problem.
I discoverred Marc Hammonds PyWin32 extensions, (whcih are awesome)
and Tim Golden's WMI wrapper for accessing the Wi
Neal D. Becker wrote:
Is there a way in python to access properties of floats? I need something
equiv to C DBL_EPSILON defined in .
you could try the traditional algorithm
>>> def dbl_epsilon():
... n = 0
... while 1:
... e = 1.0/2**n
... if (1.0+e==1.0): break
...
I was just wondering what the best books were for learning Python.
Which books are good for getting started, and which should be saved for
later, or or not useful except as a reference for the learned?
I have a decent programming background in VB, JavaScript, VBScript,
Net.Data (IBM's macro langu
Bartlomiej Rymarski <[EMAIL PROTECTED]> wrote in message news:<[EMAIL
PROTECTED]>...
> Bartlomiej Rymarski <[EMAIL PROTECTED]> wrote:
> > [...]
> > And the loader() function would run in a loop until connect_db() is
> > is finished. Is that possible in python? Or are there any other,
> > better w
Title: RE: How did you learn Python?
[Shawn Milo]
#- I was just wondering what the best books were for learning Python.
#-
#- Which books are good for getting started, and which should
#- be saved for
#- later, or or not useful except as a reference for the learned?
My particular process
verzeihung , was ist das?
- Original Message -
From: "merman" <[EMAIL PROTECTED]>
Newsgroups: comp.lang.python.announce
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 25, 2004 8:12 PM
Subject: Plone
> Hallo,
>
> das ist schon wichtig:
>
> http://plone.org/newsitems/plone-2.0.5-rc
>
Robin Becker wrote:
Neal D. Becker wrote:
Is there a way in python to access properties of floats? I need
something
equiv to C DBL_EPSILON defined in .
you could try the traditional algorithm
>>> def dbl_epsilon():
... n = 0
... while 1:
... e = 1.0/2**n
... if (1.0+e==
Is this the best/simplest way to generate a module list?
python -c 'from pydoc import help; help("modules")'
Thanks,
Doug
--
http://mail.python.org/mailman/listinfo/python-list
Am Fri, 03 Dec 2004 09:54:36 -0500 schrieb Shawn Milo:
> I was just wondering what the best books were for learning Python.
>
> Which books are good for getting started, and which should be saved for
> later, or or not useful except as a reference for the learned?
Hi,
I learned a lot by reading
Let's see, there are tools that do what you want but you are
being told not use them? If you use py2exe to bundle up all
your commercial software (with extensions) and then Inno Setup
to create a setup.exe file for setting everything up, nobody
ever knows about Python, extensions, etc. This elimi
Hi Shawn,
I would recommend the following for starters:
- The Tutorial (http://www.python.org/dev/doc/devel/tut/tut.html)
- Python "How to Program" by Deitel
After that it is like any language, natural or computer related! Use it!
However, I think you'll find that it is a lot easier to use tha
Well I would suggest the Python in a Nutshell and the Python Cookbook both
by O'Reilly as references. They are great for a desktop reference and I
check them first before I google/search else where for answers. Being they
are reference books they or more on aide then a teaching device however
Mikael Olofsson <[EMAIL PROTECTED]> wrote:
> At our department we use Magma (http://magma.maths.usyd.edu.au/)
> for finite field arithmetic and error control codes. Magma has
> nothing to do with Python, instead it is a very mature tool of its
> own, mainly for descrete math. It knows what a pe
The code
for text in open("file.txt","r"):
print text.replace("foo","bar")[:-1]
replaces 'foo' with 'bar' in a file, but how do I avoid changing text
inside single or double quotes? For making changes to Python code, I
would also like to avoid changing text in comments, either the '#' or
'""
I'd like to second this suggestion. While there are a few things you
need to be aware of when writing your code (mostly taken care of in
the latest release) it's a mostly trivial code change. (For me it was
replacing a few dictionaries with PersistentMap objects and changing
the base class of a f
Eric Brunel wrote:
> Jeffrey Barish wrote:
> [snip]
>> OK, I downloaded tcl8.4.8 and tk8.4.8. They are now installed. Back
>> to
>> python2.4 make. It now bombs at:
>>
>> gcc -pthread -shared build/temp.linux-i686-2.4/_tkinter.o
>> build/temp.linux-i686-2.4/tkappinit.o -L/usr/X11R6/lib64
>> -L
"Shawn Milo" wrote:
> My point is, I don't want something that is going to explain the
> basic
> programming concepts, but does give a good introduction to
> Python-specific
> things.
I think you might appreciate "Learning Python" as it's written very succinctly,
but it goes through the lang
Daniel Bickett <[EMAIL PROTECTED]> wrote:
>> I have no way to build it on Windows though, as I don't have Visual C++
>> 7.1, for that we must wait for Robin Dunn.
>
> Would it be too difficult of a task to try getting the build working
> with Dev-C++? That way those without enough incentive for pu
I'm trying to embed a Python interpreter in a GUI I'm developing, and
I'm having trouble understanding the proper use of
code.InteractiveInterpreter.
Here's what I'm trying:
% python
Python 2.3 (#1, Sep 13 2003, 00:49:11)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin
Type "help",
Bob Parnes <[EMAIL PROTECTED]> writes:
> my /etc/ld.so.conf file already has that lib in it. So something else is
> happening, but it clearly has nothing to do with python.
Have you run ldconfig (probably /sbin/ldconfig) since the line was
added to the /etc ld config file?
--
---
Ishwor Gurung said unto the world upon 2004-12-03 03:36:
Hello all,
I am just starting out on learning Python and joined this list. I
have grabbed the Learning Perl book by Mark & David. This book really
seems good so far.. the concepts are explained pretty nicely. :) I
have a background a bit in
unicode or other?
we what judge?
thank all
--
http://mail.python.org/mailman/listinfo/python-list
p.kosina said unto the world upon 2004-12-03 04:04:
Can I somehow in config-main.cfg set how big shall (and where) open the
IDLE window? Cause in my w98 it is always opening so that I can not see
the bottom line
Thank you
Pavel
Hi Pavel,
I had the same issue with IDLE 1.03 running on Pytho
I do have permission toa ccess the file as that file is careted and read my me.
I have read/write access to that location. regards
Aaron Bingham <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> ed wrote:
>
> >I have used batch script to do it but it has a lot of issues with
> >a
I used those:
http://diveintopython.org/
http://www.fzu.cz/texty/ruzne/python/
http://www.pythonware.com/library/tkinter/introduction/
Then O'Reilly 'Programming Python'
Regards,
Philippe
--
*
Philippe C. Martin
SnakeCard LLC
www.snakecard.com
*
--
h
Shawn Milo said unto the world upon 2004-12-03 09:54:
I was just wondering what the best books were for learning Python.
Which books are good for getting started, and which should be saved for
later, or or not useful except as a reference for the learned?
I have a decent programming background in V
Hi Steve, Larry,
Thanks for the Help! I am using the pickle module now as i just need
to store and retrieve dictionaries.
Best Regards,
Shivram U
On Thu, 2004-12-02 at 23:59, Steve wrote:
> Hi Shivam,
>
> If storing and retrieving is all that you are interested in, you
> should consider 'pi
Hello,
I am using a program that has to read binary data from files coming
from different machines. The file are always written with big endian.
I am using the struct module to read the data and it is fine because I
can specify in the format if the data are to be read with big or small
endian co
I have googled for Python bindings for freetype2 and have not found any recent
projects. The freetype page references this at Sourceforge:
http://www.sourceforge.net/projects/pyft2
...but it is "nonexistent". Nothing else at Sourceforge for python + freetype.
I will wrap the api myself (my fi
Istvan Albert wrote:
Steven Bethard wrote:
> The question is not how easy it is to write,
> but how many times it's going to get written.
but with that logic we could create a standard
"looping" construct called loop(x) that would stand in for
for i in range(x):
IMHO, that example is quite the o
Take a look at the source code of the code module (file code.py in the
lib directory). The push() method of the InteractiveConsole class
shows how to handle multi-line statements.
Basically, keep collecting lines as long as the result returned by the
runsource() call is true. Maybe instead of c
Hello,
I'm trying to write a tool to scrape through some of the Ribosomal
Database Project II's (http://rdp.cme.msu.edu/) pages, specifically,
through the Hierarchy Browser. (http://rdp.cme.msu.edu/hierarchy/)
The Hierarchy Browser is accessed first through a page with a form.
There are four fi
[EMAIL PROTECTED] wrote:
I'm trying to embed a Python interpreter in a GUI I'm developing, and
I'm having trouble understanding the proper use of
code.InteractiveInterpreter.
[examples of calling the interpreter instance]
What's the proper way to call the interpreter instance for a multiline
exampl
hlddn wrote:
unicode or other?
we what judge?
thank all
You need to usually know the encoding from the context, otherwise you'll
have to guess. In this regard I find http://www.eki.ee/letter/ helpful
But if you want more details, you'll need to provide a clearer question ...
David
--
http://mail.
Hi all,
Psyco 1.3 has been released:
http://sourceforge.net/project/showfiles.php?group_id=41036
Doug Kearns wrote:
Is this the best/simplest way to generate a module list?
python -c 'from pydoc import help; help("modules")'
Thanks,
Doug
I am not sure if this is what you want, but how about:
For python 2.4, try:
python -c "import sys; print sorted(sys.modules)"
For earlier pythons, use:
pytho
1 - 100 of 210 matches
Mail list logo