On Sun, Jun 10, 2012 at 8:44 AM, Yesterday Paid
wrote:
>
> I'm planning to learn one more language with my python.
> Someone recommended to do Lisp or Clojure, but I don't think it's a
> good idea(do you?)
> So, I consider C# with ironpython or Java with Jython.
> It's a hard choice...I like Visua
I just started learning python. I have komodo2.5 in my computer. And I
installed python2.7. I tried to write python scripts in komodo. But every time
I run the code, there's always the error:
Traceback (most recent call last):
File "C:\Program Files\ActiveState Komodo 2.5\callkomodo\kdb.py", l
when i download python-3.2.3.tgz
extract
./configure prefix=/usr/lib/python-3.2
make
make install
when ls /usr/lib/python-3.2.3/bin/
/usr/lib/python-3.2.3/bin/python3.2m
/usr/lib/python-3.2.3/bin/python3-config
/usr/lib/python-3.2.3/bin/python3
/usr/lib/python-3.2.3/bin/python3.2m-config
/usr/lib
I think it's more like when you see articles with a passage like:
The C programming language[1] or the C++ programming language[2] are both
> examples of...
>
Are both easy to find the proper reference for.
On Sat, Jun 16, 2012 at 2:13 PM, Ben Finney wrote:
> Mark Livingstone writes:
>
> > I
Mark Livingstone writes:
> I wish to properly cite Python in an academic paper I am writing.
>
> Is there a preferred document etc to cite?
I think you're best positioned to answer that. Python isn't a document,
so what specifically are you citing it as?
--
\ “A ‘No’ uttered from deepes
On Fri, 15 Jun 2012, Terry Reedy wrote:
> On 6/15/2012 1:03 PM, Tomasz Rola wrote:
>
> > Last time I checked, Python didn't have linked lists - arrayed lists are
> > nice, but their elements can't be automatically GC-ed (or, this requires
> > very nontrivial GC algorithm), the easiest way I can t
Maybe quote the "Programming Python" book, since Guido wrote the forward?
http://www.python.org/doc/essays/foreword2/
On Sat, Jun 16, 2012 at 1:24 PM, Mark Livingstone
wrote:
> Hello!
>
> I wish to properly cite Python in an academic paper I am writing.
>
> Is there a preferred document etc to c
Hello!
I wish to properly cite Python in an academic paper I am writing.
Is there a preferred document etc to cite?
Thanks in advance,
MArkL
--
http://mail.python.org/mailman/listinfo/python-list
On 6/15/2012 3:04 PM, Paul Rubin wrote:
Terry Reedy writes:
Python iterators can do lazy evaluation. All the builtin classes come
with a corresponding iterator. ...
I wouldn't say iterators do lazy evaluation in the Scheme or Haskell
sense. Lazy evaluation imho means evaluation is deferred u
>> This is a related question.
>>
>> I perform an octal dump on a file:
>> $ od -cx file
>> 000 h e l l o w o r l d \n
>> 6568 6c6c 206f 6f77 6c72 0a64
>>
>> I want to output the names of those characters:
>> $ python3
>> Python 3.2.3 (default,
On 16/06/2012 00:42, Jason Friedman wrote:
This is a related question.
I perform an octal dump on a file:
$ od -cx file
000 h e l l o w o r l d \n
65686c6c206f6f776c720a64
I want to output the names of those characters:
$ python3
Pyth
This is a related question.
I perform an octal dump on a file:
$ od -cx file
000 h e l l o w o r l d \n
65686c6c206f6f776c720a64
I want to output the names of those characters:
$ python3
Python 3.2.3 (default, May 19 2012, 17:01:30)
[GCC
Dietmar quotes:
> With Python not having an easy-to-use GUI builder,
> The point is, that if you want to promote Python as replacement
> for e.g. VB, Labview etc., then an easy-to-use GUI builder is required.
> The typical GUI programs will just have an input mask, a button and one
> or two outpu
> > I am trying to create a collection of hashable objects, where each
> > object contains references to
> > other objects in the collection. The references may be circular.
> >
> > To simplify, one can define
> > x= list()
> > x.append(x)
> > which satisfies x == [x].
> > Can I create a s
In article ,
Colin Higwell wrote:
>On Fri, 25 May 2012 15:38:55 -0700, Jon Clements wrote:
>
>>
>> Is there a server out there where I can get my news groups? I use to be
>> with an ISP that hosted usenet servers, but alas, it's no longer
>> around...
>>
>I use Albasani.net (free and very reliabl
On Sun, 10 Jun 2012 15:37:50 +, Alexey Gaidamaka wrote:
> On Sun, 10 Jun 2012 05:02:35 -0500, Andrew Berg wrote:
>
>> On 6/10/2012 4:22 AM, Alexey Gaidamaka wrote:
>>> Practically the plugin is a simple html archive from python
>>> documentation website running
>>> inside Eclipse so you can
On Sun, 10 Jun 2012 12:14:15 +0300, Alexey Gaidamaka wrote:
> Greets!
>
> Since i'm new to Python, i've decided to create a handy plugin for
> Elipse SDK which is my primary dev environment. Practically the plugin
> is a simple html archive from python documentation website running
> inside Ecli
> Any ideas on how to install a newer version over an older version?
pip uninstall numpy
pip install numpy
--
http://mail.python.org/mailman/listinfo/python-list
I am having problems installing a newer version of numpy over an older
installation. The general problem is that the older version's distutils code
is being used instead of the distutils code in the newer version, no matter how
much I play around with sys.path in setup.py and the like.
Any ide
Terry Reedy writes:
> Python iterators can do lazy evaluation. All the builtin classes come
> with a corresponding iterator. ...
I wouldn't say iterators do lazy evaluation in the Scheme or Haskell
sense. Lazy evaluation imho means evaluation is deferred until you
actually try to use the value,
On 6/15/2012 4:28 AM, RICHARD MOSELEY wrote:
To check whether the function has been previously converted, I make use
of internal objects within the ctypes module, namely, _SimpleCData and
_CFuncPtr. Is this a safe thing to do, bearing in mind that the objects
are documentated as internal?
It d
On 6/15/2012 1:03 PM, Tomasz Rola wrote:
Last time I checked, Python didn't have linked lists - arrayed lists are
nice, but their elements can't be automatically GC-ed (or, this requires
very nontrivial GC algorithm), the easiest way I can think would be
replacing them with None manually. I'm no
On 05/06/2012 19:18, o2kcompliant wrote:
Hi Guys,
I have a need for a Python Developer...
How about using the Python job board rather than spamming the mailing list:
http://www.python.org/community/jobs/howto/
cheers,
Chris
--
Simplistix - Content Management, Batch Processing & Python Cons
> > > My question is, on a single core machine, what are the pros and cons of
> > > threads vs subprocesses in a setup like this?
> > >
> [...]
> >
> > Two key phrases in your message; CPU-intensive,
> > single-core-machine. If these have the conventional meaning, you're
> > better off doing all
"Edward C. Jones" writes:
> I am trying to create a collection of hashable objects, where each
> object contains references to
> other objects in the collection. The references may be circular.
>
> To simplify, one can define
> x= list()
> x.append(x)
> which satisfies x == [x].
> Can I
Alexander Blinne writes:
> An Element of s could be discarded, after every one of the three (k*j
> for k in s)-generators went over it. I don't think that this is possible
> with one deque (at least with the built-in merger of heapq, a
> self-written one could be adapted). Storing everything three
On Fri, 15 Jun 2012 11:51:01 -0400
Dave Angel wrote:
> On 06/15/2012 09:49 AM, John O'Hagan wrote:
> > I have a program in which the main thread launches a number of CPU-intensive
> > worker threads. For each worker thread two python subprocesses are started,
[...]
> >
> > So far so good, but it
On Fri, 15 Jun 2012, Alexander Blinne wrote:
> How do Haskell or Scheme determine when elements are not longer needed?
Just like Python, they use garbage collection - in one sentence, if it can
be proved the object (not a OO-object, just a piece of data) will no
longer be needed, it can be safe
Am 13.06.2012 18:30, schrieb rdst...@mac.com:
about Google's "Blockly" a drag and drop tool for building apps that
outputs Python or Javascript code (among others) and it might be
usable along these lines...I'm sure serious programmers would not use
it but maybe engineers looking to make web fron
Tiffany - Read/Write Multipage-Tiff with PIL without PIL
Tiffany stands for any tiff. The tiny module solves a large set of
problems, has no dependencies and just works wherever Python works.
Tiffany was developed in the course of the *DiDo
Am 15.06.2012 01:07, schrieb Dennis Lee Bieber:
Visual Basic was essentially developed as a unified whole (drop a
Sure. I prefer modular approaches. I don't see why this should not be
possible (e.g. an IDE like Wing integrates well with other tools and
frameworks; I'm sure it could also
On 06/15/2012 09:49 AM, John O'Hagan wrote:
> I have a program in which the main thread launches a number of CPU-intensive
> worker threads. For each worker thread two python subprocesses are started,
> each of which runs in its own terminal: one displays output received from the
> worker thread vi
Let udev run your script when the appropriate device is connected.
http://www.reactivated.net/writing_udev_rules.html
Then you just need to run an ssh command against the correct mount point.
Honestly, python might be overkill for this. Consider writing a very
small bash script.
Michael
On Fr
> I'm very new to programing though I learn very little of java,C
> I love python and have fun to do something with it
> but some people said python's future perhaps not that bright.
> I know this question maybe looks like an idiot:(
> I really hope the python rules long~ time.
> what do you think
Hi,
I am completly new to python.
I need to create and script that needs to do the following steps and would
apreciate if someone can give me the guidelines to do it as will be my first
python script:
The script will be in a linux machine.
Will wait for a device to conect on the usb. So needs t
I am trying to create a collection of hashable objects, where each
object contains references to
other objects in the collection. The references may be circular.
To simplify, one can define
x= list()
x.append(x)
which satisfies x == [x].
Can I create a similar object for tuples which sa
On 15.06.2012 09:00, Paul Rubin wrote:
> Alexander Blinne writes:
>>> def gen_s():
>>> s = [1]
>>> m = skipdups(heapq.merge(*[(lambda j: (k*j for k in s))(n) for n in
>>> [2,3,5]]))
>>> yield s[0]
>>> while True:
>>> k = m.next()
>>> s.append(k)
>>> yield k
>
> Nice. I
On 06/15/2012 01:04 AM, Yesterday Paid wrote:
> I'm very new to programing though I learn very little of java,C
> I love python and have fun to do something with it
> but some people said python's future perhaps not that bright.
> I know this question maybe looks like an idiot:(
> I really hope the
PyPyODBC - A Pure Python ctypes ODBC module
Features
-Pure Python, compatible with PyPy (tested on Win32)
-Almost totally same usage as pyodbc
You can simply try pypyodbc in your existing pyodbc powered script
with the following changes:
#import pyodbc
I have a program in which the main thread launches a number of CPU-intensive
worker threads. For each worker thread two python subprocesses are started,
each of which runs in its own terminal: one displays output received from the
worker thread via a socket, the other takes text input to control th
On Fri, Jun 15, 2012 at 10:18 PM, Gonzalo de Soto wrote:
> Dear Python Org,
>
> It wanted to know if already PIL's
> version is available for Python 3.2.3.
>
> ** **
>
> Thanks.
>
>Gonzalo
>
>
>
> ** **
>
> * *
>
>
On 6/15/2012 5:18 AM Gonzalo de Soto said...
Dear Python Org,
It wanted to know if already PIL's version is available for Python 3.2.3.
Not yet. See http://www.pythonware.com/products/pil/
Emile
--
http://mail.python.org/mailman/listinfo/python-list
On 15/06/2012 13:18, Gonzalo de Soto wrote:
Dear Python Org,
It wanted to know if already PIL's
version is available for Python 3.2.3.
Thanks.
Gonzalo
Please refer to Matthew 7:7 for a way forward.
--
Cheers.
Mark Lawrence.
--
http:/
Dear Python Org,
It wanted to know if already PIL's
version is available for Python 3.2.3.
Thanks.
Gonzalo
--
http://mail.python.org/mailman/listinfo/python-list
I have a module which makes use of ctypes to interface to the IBM C-ISAM
library under linux. I have created a libpyisam.so library which combines
the two official libraries, libifisam.so and libifisamx.so and provides a
SONAME for the ctypes module (if that is still required).
My main object uses
On Fri, Jun 15, 2012 at 6:05 PM, Mark Lawrence wrote:
> "an active and helpful mailing list/newsgroup (hi!)"? Gmane lists 322
> entries under comp.python :)
Sorry, should have said: A set of active and helpful mailing
lists/newsgroups! You're quite right, there's a lot of them :) I
wonder... is
I'm very new to programing though I learn very little of java,C
I love python and have fun to do something with it
but some people said python's future perhaps not that bright.
I know this question maybe looks like an idiot:(
I really hope the python rules long~ time.
what do you think about future
On 15/06/2012 08:30, Chris Angelico wrote:
On Fri, Jun 15, 2012 at 5:04 PM, Yesterday Paid
wrote:
I'm very new to programing though I learn very little of java,C
I love python and have fun to do something with it
but some people said python's future perhaps not that bright.
I know this questio
On 15/06/2012 08:04, Yesterday Paid wrote:
I'm very new to programing though I learn very little of java,C
I love python and have fun to do something with it
but some people said python's future perhaps not that bright.
I know this question maybe looks like an idiot:(
I really hope the python rul
(Hobart Tasmania, 15 June 2012) With both of our keynotes announced, PyCon
Australia is very proud to be able to reveal the programme for the 2012
conference, to be held on Saturday 18 and Sunday 19 August 2012 in Hobart,
Tasmania.
Following an impressive response to our Call for Proposals the con
On Fri, Jun 15, 2012 at 5:04 PM, Yesterday Paid
wrote:
> I'm very new to programing though I learn very little of java,C
> I love python and have fun to do something with it
> but some people said python's future perhaps not that bright.
> I know this question maybe looks like an idiot:(
> I reall
I'm very new to programing though I learn very little of java,C
I love python and have fun to do something with it
but some people said python's future perhaps not that bright.
I know this question maybe looks like an idiot:(
I really hope the python rules long~ time.
what do you think about future
Alexander Blinne writes:
>> def gen_s():
>> s = [1]
>> m = skipdups(heapq.merge(*[(lambda j: (k*j for k in s))(n) for n in
>> [2,3,5]]))
>> yield s[0]
>> while True:
>> k = m.next()
>> s.append(k)
>> yield k
Nice. I wouldn't have been sure that "for k in s" worked prop
53 matches
Mail list logo