First  |  Prev |  Next  |  Last
Pages: 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111
Properly posting links (was Re: Python Forum)
On 6/2/2010 4:04 AM, pyDev wrote: forum for Python enthusiasts over at PythonForum.org (http:// pythonforum.org). Web-based forums is a preferred method by Python This is the second time today I have read a post with a useless link wrapped over two lines. Email lists and newsgroups (this is both) are tex... 2 Jun 2010 12:00
functools.wraps and help()
Hi! When I use help() on a function, it displays the arguments of the function, along with the docstring. However, when wrapping the function using functools.wraps it only displays the arguments that the (internal) wrapper function takes, which is typically "*args, **kwargs", which isn't very useful. Any sugg... 2 Jun 2010 09:48
optional optional args vs optional positional options
On Wed, 2 Jun 2010 01:49:18 -0700 (PDT) Michele Simionato <michele.simionato(a)gmail.com> wrote: Notice that optparse is basically useless in the use case Tim is considering (positional arguments) since it only manages options. By the way, could you stop naming these "optional arguments", since positional ... 2 Jun 2010 09:48
Vote to Add Python Package "pubsub" to the Python Standard Library
Daniel Fetchinson <fetchinson(a)googlemail.com> writes: A good example for the first couple of stages of this process is PEP 3143 concerning adding a daemon package to the stdlib: http://www.python.org/dev/peps/pep-3143/ Thanks for the shout-out for PEP 3143. I can certainly say that the process Daniel des... 2 Jun 2010 05:28
Mixing Decimal and float
Hi, In order to solve some issues due to operations between Decimal and float, we wanted to implement a class that inherits from both float and Decimal. Typically, we wrote: class Float(Decimal, float): .... This can not be achieved because of a TypeError exception (with message "multiple bases have insta... 4 Jun 2010 03:45
Python Forum
Hello, I would like to let the community know that there is a new web-based forum for Python enthusiasts over at PythonForum.org (http:// pythonforum.org). Web-based forums is a preferred method by Python newcomers to get help in exploring the world of Python and programming overall. The main goal of PythonForum... 7 Jun 2010 11:52
signed vs unsigned int
i'm reading bytes from a serial port, and storing it into an array. each byte represents a signed 8-bit int. currently, the code i'm looking at converts them to an unsigned int by doing ord(array[i]). however, what i'd like is to get the _signed_ integer value. whats the easiest way to do this? thanks in adv... 4 Jun 2010 16:58
plac, the easiest command line arguments parser in the world
I would like to announce to the world the first public release of plac: http://pypi.python.org/pypi/plac Plac is a wrapper over argparse and works in all versions of Python starting from Python 2.3 up to Python 3.1. With blatant immodesty, plac claims to be the easiest to use command line arguments parser... 4 Jun 2010 21:22
Converting a pickle to python3
Hi! I have a big data structure cpickled into a datafile, by python2. I tried to unpickle it using python3 but got the followin message: File "/usr/lib64/python3.1/pickle.py", line 1372, in loads encoding=encoding, errors=errors).load() _pickle.UnpicklingError: invalid load key, 'x'. Is there a way to "st... 2 Jun 2010 17:35
Challenging Job Opportunity for a C# Architect/ Developer
Hi My name is Suganthi Vincent and I’m with Metabyte, Inc. I have a challenging Job Opportunity for a C# Architect/ Developer, a 4 months contract to hire opportunity located in Wheeling, IL. Please find the job details. Title: C# Architect/ Developer Location: Wheeling, IL Rates: Market Rate Please ... 2 Jun 2010 00:04
First  |  Prev |  Next  |  Last
Pages: 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111