Matt Funk, 21.02.2011 23:40:
On 2/21/2011 3:28 PM, Stefan Behnel wrote:
Matt Funk, 21.02.2011 23:07:
thank you for your advice.
I am running into an issue though (which is likely a newbie problem):
My xml file looks like (which i got from the internet):
Gambardella, Matthew
On 2/21/2011 7:02 PM, KevinSimonson wrote:
On Feb 21, 4:04 pm, Alexander Kapps wrote:
That tutorial seems to be wrong.
According to the official docs:
"If the subclass overrides the constructor, it must make sure to
invoke the base class constructor (Thread.__init__()) before doing
anything
On Feb 22, 5:59 am, Steven D'Aprano wrote:
> On Mon, 21 Feb 2011 16:43:49 -0800, Rafe Kettler wrote:
> > On Feb 21, 1:59 pm, pradeepbpin wrote:
> >> I have a main program module that invokes an input dialog box via a
> >> menu item. Now, the code for drawing and processing the input of dialog
>
If you're a Python developer in the Boston area looking to learn Ruby,
Fairhaven Capital and thoughtbot are teaming up to offer Ruby on Rails
training courses in Boston at 50% off regular price ($600 for 2 full
days of training, intro and advanced levels).
Details at http://workshops.thoughtbot.co
Python 2 or 3 ? with Django , My SQL and YUI
For a web project We have decided to work on Python 2 or 3 ? with
Django , My SQL and YUI, and this would be the first time to work with
Python, just now I explored a little and found Python -2 vs 3 Stuff ,
Is there experienced python dev can guide me
On Mon, Feb 21, 2011 at 7:24 PM, Dan Stromberg wrote:
>
> On Mon, Feb 21, 2011 at 6:57 PM, Kelson Zawack <
> zawack...@gis.a-star.edu.sg> wrote:
>
>> I have a large (10gb) data file for which I want to parse each line into
>> an object and then append this object to a list for sorting and further
On Feb 21, 7:59 pm, Steven D'Aprano wrote:
> On Mon, 21 Feb 2011 16:43:49 -0800, Rafe Kettler wrote:
> > On Feb 21, 1:59 pm, pradeepbpin wrote:
> >> I have a main program module that invokes an input dialog box via a
> >> menu item. Now, the code for drawing and processing the input of dialog
>
On Mon, Feb 21, 2011 at 7:08 PM, Chris Rebert wrote:
> On Mon, Feb 21, 2011 at 3:54 PM, Robert wrote:
> > Can I install 2.7 and 3.2 side by side?
>
> Yes, of course. Just don't fiddle with the "System Python" (i.e. the
> copy preinstalled by Apple).
>
Good advice. I second it.
> You may wish
Kelson Zawack writes:
> I have a large (10gb) data file for which I want to parse each line
> into an object and then append this object to a list for sorting and
> further processing.
What is the nature of the further processing?
Does that further processing access the items sequentially? If s
On Mon, Feb 21, 2011 at 6:57 PM, Kelson Zawack
wrote:
> I have a large (10gb) data file for which I want to parse each line into an
> object and then append this object to a list for sorting and further
> processing. I have noticed however that as the length of the list increases
> the rate at wh
alex23 writes:
> On Feb 22, 12:57 pm, Kelson Zawack
> wrote:
>> I did not bother to further analyze or benchmark it. Since the answers
>> in the above forums do not seem very definitive I thought I would
>> inquire here about what the reason for this decrease in performance is,
>> and if ther
On Feb 22, 12:57 pm, Kelson Zawack
wrote:
> I did not bother to further analyze or benchmark it. Since the answers
> in the above forums do not seem very definitive I thought I would
> inquire here about what the reason for this decrease in performance is,
> and if there is a way, or another da
I have a large (10gb) data file for which I want to parse each line into
an object and then append this object to a list for sorting and further
processing. I have noticed however that as the length of the list
increases the rate at which objects are added to it decreases
dramatically. My fir
In article
,
Chris Rebert wrote:
> On Mon, Feb 21, 2011 at 3:54 PM, Robert wrote:
> > Can I install 2.7 and 3.2 side by side?
>
> Yes, of course. Just don't fiddle with the "System Python" (i.e. the
> copy preinstalled by Apple).
> You may wish to install your additional Pythons via Fink or Ma
Hi all,
I released pyTenjin 1.0.0.
http://pypi.python.org/pypi/Tenjin/
http://www.kuwata-lab.com/tenjin/
This release contains a lot of enhancements and changes.
Overview
* Very fast: about 10 times faster than Django template engine
* Easy to learn: no need to learn template-original
On Mon, 21 Feb 2011 16:43:49 -0800, Rafe Kettler wrote:
> On Feb 21, 1:59 pm, pradeepbpin wrote:
>> I have a main program module that invokes an input dialog box via a
>> menu item. Now, the code for drawing and processing the input of dialog
>> box is in another module, say 'dialogs.py'. I conn
On Feb 21, 12:08 am, Mark Dickinson wrote:
> On Feb 20, 8:08 am, Raymond Hettinger wrote:
>
> > [...]
> > >>> n * e
>
> > 3.1415926
> Very neat! Is it supposed to be obvious why this gives an
> approximation to pi? If so, I'll think about it a bit more; if not,
> do you have any references?
On Feb 21, 1:59 pm, pradeepbpin wrote:
> I have a main program module that invokes an input dialog box via a
> menu item. Now, the code for drawing and processing the input of
> dialog box is in another module, say 'dialogs.py'. I connect the menu
> item to this dialog box by a statement like,
>
On Tue, 2011-02-22 at 00:48 +0100, Alexander Kapps wrote:
> On 22.02.2011 00:34, Westley Martínez wrote:
> > On Mon, 2011-02-21 at 11:28 -0800, rantingrick wrote:
>
> >> The ascii char "i" would suffice. However some languages fell it
> >> necessary to create an ongoing tutorial of the language. S
On Mon, Feb 21, 2011 at 3:54 PM, Robert wrote:
> Can I install 2.7 and 3.2 side by side?
Yes, of course. Just don't fiddle with the "System Python" (i.e. the
copy preinstalled by Apple).
You may wish to install your additional Pythons via Fink or MacPorts.
Cheers,
Chris
--
http://mail.python.or
On Feb 21, 4:04 pm, Alexander Kapps wrote:
>
> That tutorial seems to be wrong.
>
> According to the official docs:
>
> "If the subclass overrides the constructor, it must make sure to
> invoke the base class constructor (Thread.__init__()) before doing
> anything else to the thread."
>
> http://d
> Well, I just learned something, thank you. I was under the mistaken
> impression that adding new functionality after the first alpha release
> was not permitted by the Python devs.
It's the first beta release after which no new functionality could be added.
Regards,
Martin
--
http://mail.pyt
Can I install 2.7 and 3.2 side by side?
--
Robert
--
http://mail.python.org/mailman/listinfo/python-list
On 22.02.2011 00:34, Westley Martínez wrote:
On Mon, 2011-02-21 at 11:28 -0800, rantingrick wrote:
The ascii char "i" would suffice. However some languages fell it
necessary to create an ongoing tutorial of the language. Sure French
and Latin can sound "pretty", however if all you seek is "pre
On Mon, 21 Feb 2011 14:23:10 +0100, Jean-Michel Pichavant wrote:
> What is not legit, is to return different objects for which the caller
> has to test the type to know what attributes he can use.
Well, I don't know... I'm of two minds.
On the one hand, I find it *really annoying* when this happ
On Mon, 2011-02-21 at 11:28 -0800, rantingrick wrote:
> On Feb 20, 7:08 pm, "BartC" wrote:
> > "WestleyMartínez" wrote in message
> >
> > news:mailman.202.1298081685.1189.python-l...@python.org...
> >
> > > You have provided me with some well thought out arguments and have
> > > stimulated my you
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I have 10MB pickled structure generated in Python 2.7. I only use basic
types (no clases) like sets, dictionaries, lists, strings, etc.
The pickle stores a lot of strings. Some of them should be "bytes",
while other should be "unicode". My idea is to
On 21.02.2011 23:30, KevinSimonson wrote:
I've been teaching myself Python from the tutorial routed at "http://
www.tutorialspoint.com/python/index.htm". It's worked out pretty
well, but when I copied its multithreading example from the bottom of
the page at "http://www.tutorialspoint.com/python
Hi,
Got some trouble running python on a Cray XT5 which has a reduced os on
the compute nodes, and you're supposed to link everything statically. I
configured the build with --disable-shared and uncommented the modules
in Modules/Setup which made sense (nearly all of them), and built with
Cra
Philip Semanchuk wrote:
> On Feb 21, 2011, at 12:56 PM, Robin Becker wrote:
> > After installing python 2.7.1 on a Freebsd 8.0 system with the normal
> > configure make dance
> >
> > ./configure --prefix=$HOME/PYTHON --enable-unicode=ucs2
> > make
> > make install
> >
> > I find that when I bui
Hi Stefan,
i don't mean to be annoying so sorry if i am.
According to your instructions i do:
parser = objectify.makeparser(ns_clean=True, remove_comments=True)
root = objectify.parse(inputfile,parser).getroot()
print root.catalog.book.author.text
which still gives the following error:
AttributeE
On Feb 21, 2011, at 12:56 PM, Robin Becker wrote:
> After installing python 2.7.1 on a Freebsd 8.0 system with the normal
> configure make dance
>
> ./configure --prefix=$HOME/PYTHON --enable-unicode=ucs2
> make
> make install
>
> I find that when I build extensions PIL, MySQLdb I'm getting er
I've been teaching myself Python from the tutorial routed at "http://
www.tutorialspoint.com/python/index.htm". It's worked out pretty
well, but when I copied its multithreading example from the bottom of
the page at "http://www.tutorialspoint.com/python/
python_multithreading.htm" and tried to ru
Matt Funk, 21.02.2011 23:07:
thank you for your advice.
I am running into an issue though (which is likely a newbie problem):
My xml file looks like (which i got from the internet):
Gambardella, Matthew
XML Developer's Guide
Computer
44.95
2000-10-01
HI Stefan,
thank you for your advice.
I am running into an issue though (which is likely a newbie problem):
My xml file looks like (which i got from the internet):
Gambardella, Matthew
XML Developer's Guide
Computer
44.95
2000-10-01
An in-depth look at cre
Hi Terry,
On 2/21/2011 11:22 AM, Terry Reedy wrote:
> On 2/21/2011 12:30 PM, Matt Funk wrote:
>> Hi,
>> I was wondering if someone had some advice:
>> I want to create a set of xml input files to my code that look as
>> follows:
>
> Why?
mmmh. not sure how to answer this question exactly. I guess
On Feb 20, 7:08 pm, "BartC" wrote:
> "WestleyMartínez" wrote in message
>
> news:mailman.202.1298081685.1189.python-l...@python.org...
>
> > You have provided me with some well thought out arguments and have
> > stimulated my young programmer's mind, but I think we're coming from
> > different an
On Mon, Feb 21, 2011 at 1:59 PM, pradeepbpin wrote:
> I have a main program module that invokes an input dialog box via a
> menu item. Now, the code for drawing and processing the input of
> dialog box is in another module, say 'dialogs.py'. I connect the menu
> item to this dialog box by a state
On Feb 20, 8:15 am, Gerald Britton wrote:
> I see that Python 3.2 includes a new module -- html -- with a single
> function -- escape. I would like to know how this function differs
> from xml.sax.saxutils.escape and, if there is no difference (or only a
> minor one), what the need is for this ne
Terry Reedy, 21.02.2011 19:22:
On 2/21/2011 12:30 PM, Matt Funk wrote:
Hi,
I was wondering if someone had some advice:
I want to create a set of xml input files to my code that look as follows:
Why?
...
So there are comments, whitespace etc ... in it.
I would like to be able to put everythin
I have a main program module that invokes an input dialog box via a
menu item. Now, the code for drawing and processing the input of
dialog box is in another module, say 'dialogs.py'. I connect the menu
item to this dialog box by a statement like,
manu_item.connect('activate', lambda a: dialogs.o
On Mon, 21 Feb 2011 02:27:36 -0800 (PST), Stuart Longland wrote:
[snip]
> Before I worried about that though, I needed to have some kind of
> understanding as to how the hmac module was used. "Arbitrary string",
> sounds to me like I give it something akin to a passphrase, and that
> is hashed(?)
Interesting thread. It started as a discussion of small footprint, embeddable
non-SQL databases and has ranged all over the place.
For the original purpose of this thread, it certainly sounds like SQLite fits
the bill. It's a great package. If you need SQLite's ease of use and
simplicity, but
On 2/21/2011 12:30 PM, Matt Funk wrote:
Hi,
I was wondering if someone had some advice:
I want to create a set of xml input files to my code that look as follows:
Why?
...
So there are comments, whitespace etc ... in it.
I would like to be able to put everything into some sort of structure
su
Europython is coming back around! Europython will be held in Florence,
Italy from the 20th to the 25th of june.
EuroPython is a conference for the Python programming language
community. It is aimed at everyone in the Python community, of all
skill levels, both users and programmers. It's one of t
On Mon, 2011-02-21 at 01:08 +, BartC wrote:
>
> "WestleyMartínez" wrote in message
> news:mailman.202.1298081685.1189.python-l...@python.org...
>
>
> > You have provided me with some well thought out arguments and have
> > stimulated my young programmer's mind, but I think we're coming fro
After installing python 2.7.1 on a Freebsd 8.0 system with the normal configure
make dance
./configure --prefix=$HOME/PYTHON --enable-unicode=ucs2
make
make install
I find that when I build extensions PIL, MySQLdb I'm getting errors related to a
dangling ${LDFLAGS}
eg MySQLdb
running buil
Matt Funk, 21.02.2011 18:30:
I want to create a set of xml input files to my code that look as follows:
Alg1
./Alg1.in
c:\tmp
1
That's not XML. XML documents have exactly one root element, i.e. you n
Hi,
I was wondering if someone had some advice:
I want to create a set of xml input files to my code that look as follows:
Alg1
./Alg1.in
c:\tmp
1
So there are comments, whitespace etc ... in it
Hi,
Wingware has released version 4.0 of Wing IDE, an integrated development
environment designed specifically for the Python programming language.
Wing IDE is a cross-platform Python IDE that provides a professional code
editor with vi, emacs, and other key bindings, auto-completion, call tips,
Rafe Kettler, 21.02.2011 17:30:
On Feb 21, 10:54 am, Duncan Booth wrote:
Georg Brandl wrote:
Please consider trying Python 3.2 with your code and reporting any bugs
you may notice to:
http://bugs.python.org/
It looks like this release breaks the builtin `input()` function on Windows
b
Rita wrote:
> Hello,
>
> I have been using shell for a "long" time and I decided to learn python
> recently. So far I am liking it a lot especially the argparse module which
> makes my programs more professional like.
>
>
> Currently, I am rewriting my bash scripts to python so I came across a
Hello
cmd is already a list after cmd.split().
So,
suprocess.Popen(cmd, )
On Mon, Feb 21, 2011 at 8:33 AM, Rita wrote:
> Hello,
>
> I have been using shell for a "long" time and I decided to learn python
> recently. So far I am liking it a lot especially the argparse module which
> makes m
On Feb 21, 10:54 am, Duncan Booth
wrote:
> Georg Brandl wrote:
> > Please consider trying Python 3.2 with your code and reporting any bugs
> > you may notice to:
>
> > http://bugs.python.org/
>
> It looks like this release breaks the builtin `input()` function on Windows
> by leaving a trailin
Hello,
I have been using shell for a "long" time and I decided to learn python
recently. So far I am liking it a lot especially the argparse module which
makes my programs more professional like.
Currently, I am rewriting my bash scripts to python so I came across a
subprocess and environment pr
> I have a web page (existing page, can't modify it) and I would like
> to browse it in a QtWebview. (This is already working)
>
> Now I Wonder how I could achieve following behaviour:
>
> When I click on a certain element e.g. ""
> I would like to notify my python script.
>
> What is important:
Georg Brandl wrote:
> Please consider trying Python 3.2 with your code and reporting any bugs
> you may notice to:
>
> http://bugs.python.org/
>
It looks like this release breaks the builtin `input()` function on Windows
by leaving a trailing '\r' on the end of the string.
Reported as is
I've tried installing pygtk, pygobject, and gobject-introspection from
source, but none of them will compile, and nothing I install through
synaptic has any effect.
I've tried too many things to post all the details here, but I'll post
any details on request.
--
http://mail.python.org/mailman/lis
You should install python-gobject
2011/2/21 Luther
> I recently had to install 2.7.1 from source, and since then, I have
> been unable to run exaile, which comes with Trisquel 4.0. Here is the
> error message:
>
> Traceback (most recent call last):
> File "/usr/lib/exaile/exaile.py", line 52, i
I recently had to install 2.7.1 from source, and since then, I have
been unable to run exaile, which comes with Trisquel 4.0. Here is the
error message:
Traceback (most recent call last):
File "/usr/lib/exaile/exaile.py", line 52, in
main()
File "/usr/lib/exaile/exaile.py", line 49, in ma
alex23 wrote:
Jean-Michel Pichavant wrote:
You simply don't return inconsistent types with a return statement. This
is a general rule in programming that has probably exceptions but
regarding what you're saying, you clearly don't want to do that.
I don't think they were intended to be
On 21 February 2011 19:56, Steven D'Aprano <
steve+comp.lang.pyt...@pearwood.info> wrote:
> On Sun, 20 Feb 2011 15:33:39 +0100, Peter Otten wrote:
>
> > Steven D'Aprano wrote:
> >
> >> On Sun, 20 Feb 2011 08:15:35 -0500, Gerald Britton wrote:
> >>
> >>> I see that Python 3.2 includes a new module
On Fri, 2011-02-18 at 12:27 +, Ian wrote:
> 2) Culture. In the West, a designer will decide the architecture of a
> major system, and it is a basis
> for debate and progress. If he gets it wrong, it is not a personal
> disgrace or career limiting. If it is
> nearly right, then that is a majo
André Roberge wrote:
> On Sunday, February 20, 2011 10:51:38 PM UTC-4, Dick Moores wrote:
>> Problem is I know of no text editor that can handle Japanese.
>>
>
> The editor in Crunchy (http://code.google.com/p/crunchy) appears to be
> working just fine with the sample code you posted (at least
On Feb 21, 4:59 am, Peter Pearson wrote:
> On Sun, 20 Feb 2011 04:01:20 -0800, Paul Rubin
> wrote:
> > Stuart Longland writes:
> >> What format does hmac require the key to be in?
>
> > It's an arbitrary string.
>
> > I have a key in hexadecimal, do I give it the hex? Do I decode that
>
spam head wrote:
I'm looking for an easy way to display simple line graphs generated by
a python program in Windows. It could be done from within the
program, or I could write the information out to a file and call an
external program. Either is fine.
Does anybody have any recommendations for
> Wild guess:
> maybe when python exits they are called but sys.stdout has already been
> closed and nothing gets written on it anymore.
Certainly NOT.
class Foo():
def __init__(self):
self.b = Bar(self)
def __del__(self):
print "Free Foo"
class Bar():
def __init__(
On Sun, 20 Feb 2011 15:33:39 +0100, Peter Otten wrote:
> Steven D'Aprano wrote:
>
>> On Sun, 20 Feb 2011 08:15:35 -0500, Gerald Britton wrote:
>>
>>> I see that Python 3.2 includes a new module -- html -- with a single
>>> function -- escape. I would like to know how this function differs
>>> f
fastPATX 7.0.0 codenamed Bison is now out! You can get it at
patx.me/fastpatx. If you have never tried fastPATX your missing out on the
pinnacle of Python and PyQt4 development. Try it, you'll like it, and maybe
even learn something from it.
It has been awhile since the last fastPATX release, but
The second PyCon AU will be held in Sydney on the weekend of the 20th
and 21st of August at the Sydney Masonic Center.
http://pycon-au.org/
We are looking for proposals for Talks on all aspects of Python programming
from novice to advanced levels; applications and frameworks, or how you
have be
Please excuse us if you receive this email more than one.
We would be very grateful if you could disseminate this call among your
research peers and colleagues.
--
-- CENTERIS2011 | Call for Papers
-- Conference on ENTERprise Information Systems
-- Vilamoura, A
Please excuse us if you receive this email more than one.
We would be very grateful if you could disseminate this call among your
research peers and colleagues.
--
-- CENTERIS2011 | Call for Papers
-- Conference on ENTERprise Information Systems
-- Vilamoura, A
On 18/02/2011 07:50, Chris Jones wrote:
Always
struck me as odd that a country like Japan for instance, with all its
achievements in the industrial realm, never came up with one single
major piece of software.
I think there are two reasons for this.
1) Written Japanese is so hard that the eff
=
4TH CENTRAL EUROPEAN FUNCTIONAL PROGRAMMING SCHOOL (CEFP 2011)
EOTVOS LORAND UNIVERSITY, BUDAPEST, HUNGARY
June 14-24, 2011
http://plc.inf.elte.hu/cefp
THE REGISTRATION IS OPEN!
=
SCOPE OF THE SUMMER SCHOOL
The Centra
Georg Brandl, 20.02.2011 23:22:
On behalf of the Python development team, I'm delighted to announce
Python 3.2 final release.
[...]
Please consider trying Python 3.2 with your code and reporting any bugs
you may notice to:
http://bugs.python.org/
Note to packagers: This release has a crit
On Feb 20, 8:08 am, Raymond Hettinger wrote:
> [...]
> >>> n * e
>
> 3.1415926
>
> Compute ð ± e by counting Mandlebrot set iterations :-)
Very neat! Is it supposed to be obvious why this gives an
approximation to pi? If so, I'll think about it a bit more; if not,
do you have any references?
Georg Brandl wrote:
> On behalf of the Python development team, I'm delighted to announce
> Python 3.2 final release.
Congratulations for your first as release manager, and a big thank you to
you and all who contributed to this realease.
> Python 3.2 is a continuation of the efforts to improve
77 matches
Mail list logo