Robert Kern wrote:
On 2009-09-02 14:15 PM, Raymond Hettinger wrote:
On Sep 2, 6:51 am, Thomas Philips wrote:
While the random module allows one to generate randome numbers with a
variety of distributions, some useful distributions are omitted - the
Student's t being among them.
I'm curious t
Steven D'Aprano wrote:
On Wed, 02 Sep 2009 15:22:08 -0400, Terry Reedy wrote:
the conclusion you do. But I read your argument as being that having an
open wi-fi connection was prima facie evidence of intent to commit crime
regardless of whether you were a public advocate or not. Perhaps I
mi
Raymond Hettinger wrote:
In the first case, you would write:
sets.extend(h.load(f))
yes, what I had was:
for s in iter(h.load(f)): sets.append(s)
...which I mistakenly thought was working, but in in fact boils down to
Raymond's code.
The problem is that each item that h.load(f) returns
I have come across this very strange behaviour. Check this code:
if file_str.find('Geometry'):
While the "anser" is to compare the results of .find() with -1,
but the more Pythonic answer is just to use "in":
if "Geometry" in file_str:
which reads a lot more cleanly, IMHO.
-tkc
Hello
In C/C++ you use the braces where as in Python you use the indentation
levels.
Most editors offer a Ctrl+[ to match the braces so that you can easily
identify the scopes (more correctly "statements blocks").
I am finding it difficult to see blocks and/or jump from end to start
with some IDE
On Thu, Sep 3, 2009 at 2:38 AM, lallous wrote:
> Hello
>
> In C/C++ you use the braces where as in Python you use the indentation
> levels.
> Most editors offer a Ctrl+[ to match the braces so that you can easily
> identify the scopes (more correctly "statements blocks").
>
> I am finding it diffic
In C/C++ you use the braces where as in Python you use the indentation
levels.
Most editors offer a Ctrl+[ to match the braces so that you can easily
identify the scopes (more correctly "statements blocks").
I am finding it difficult to see blocks and/or jump from end to start
with some IDE hotke
Hi!
So I got this big textfile. It's full of data from a database. About
150 or
more rows or lines in a textfile.
There's three first rows that belong to the same subject. And then
next
three rows belong to another subject and so on, to the end of the
file.
What I need to do, is put the three row
On Thu, Sep 3, 2009 at 3:21 AM, Olli Virta wrote:
> Hi!
>
> So I got this big textfile. It's full of data from a database. About
> 150 or
> more rows or lines in a textfile.
> There's three first rows that belong to the same subject. And then
> next
> three rows belong to another subject and so on,
On Aug 25, 2:55 pm, Esmail wrote:
> Re pdb, if you have a 'pointer' (ie reference) to an object, is there
> an easy way to dump out its contents, ie all of its members short of
> writing a method that does that and then calling it?
Usually
pp vars(your_object)
does what you want
--
http://ma
On Wed, Sep 2, 2009 at 2:15 PM, Raymond Hettinger wrote:
> ISTM, there ought to be a statistics module that can calculate
> cumulative distribution functions for a variety of distributions.
> This would be far more helpful than creating more generators.
>
Many of the formulas for cumulative dist
On Wed, Sep 02, 2009 at 04:45:02PM -0400, Victor Subervi wrote:
>
> I tried running it like you said, got this error:
> 'mysqldump' is not a recognized internal or external command.
> If I could just figure out in what file the data were stored, I could copy
> it and try it in another computer. Any
On Wed, Sep 02, 2009 at 08:31:20AM -0700, JonathanB wrote:
>
> I am a self-taught Python programmer with a liberal arts degree (Cross-
> cultural studies). I have been programming for several years now and
> would like to get a job as a python programmer. Unfortunately most of
> the job posts I hav
On Thu, 03 Sep 2009 03:21:25 -0700, Olli Virta wrote:
> What I need to do, is put the three rows that goes together and belong
> to
> certain subject, on a one line in the output textfile. And the next
> three
> rows again on a one new line. And that goes with the rest of the data to
> the end of
In article <6031ba08-08c8-416b-91db-ce8ff57ae...@w6g2000yqw.googlegroups.com>,
James Harris wrote:
>
>So you are saying that Smalltalk has r where
>r is presumably for radix? That's maybe best of all. It preserves the
>syntactic requirement of starting a number with a digit and seems to
>have gr
On Sep 3, 12:19 am, Ethan Furman wrote:
> Greetings, List!
>
> The recent thread about a recursive function in a class definition led
> me back to a post about bindfunc from Arnaud, and from there I found
> Michele Simionato's decorator module (many thanks! :-), and from there I
> began to wonder.
In article ,
MRAB wrote:
>Steven D'Aprano wrote:
>> Obviously I can't speak for Ken Thompson's motivation in creating this
>> feature, but I'm pretty sure it wasn't to save typing or space on
>> punchcards. Even in 1969, hex was more common than octal, and yet hex
>> values are written with 0x.
On Thursday 03 September 2009 07:10:37 Helvin wrote:
> Hi,
>
> I have come across this very strange behaviour. Check this code:
>
> if file_str.find('Geometry'):
> #if file_str.endswith('Data_Input_Geometry.txt'):
> print 'I found geometry'
> elif file_str.find('
On Sep 2, 5:31 pm, JonathanB wrote:
> I am a self-taught Python programmer with a liberal arts degree (Cross-
> cultural studies). I have been programming for several years now and
> would like to get a job as a python programmer. Unfortunately most of
> the job posts I have seen are for CS Majors
On Sep 3, 9:19 am, steve wrote:
> On 09/03/2009 09:36 AM, steve wrote:
>
> > Hi Jonathan,
> > [...snip...]
>
> I feel stupid replying to my own post but just one more thing i thought about
> mentioning but forgot to add:
> - Look at your Liberal Arts major as an advantage. Every field has a
> 'co
Elementtree (python xml parser) will transform markup like
into
which is a reasonable thing to do for xml (called minimization, I
think).
But this caused an obscure problem when I used it to create the xhtml
parts of my website,
causing Internet Explorer to display nearly blank pages. I expl
On Aug 21, 2:45 pm, John Nagle wrote:
> In 2009, Unisys finally exited the mainframe hardware business, and the
> last of the 36-bit machines, the ClearPath servers, are being phased out.
> That line of machines goes back to the UNIVAC 2200 series, and the UNIVAC
> 1100 series, all the way b
Tim Chase writes:
> Any editor worth its salt will offer indentation-based folding (I know
> vim does, and I would be astonished if emacs didn't.
Emacs calls that “hide/show”, and the ‘hs-minor-mode’ can be enabled for
any buffer (and can thus of course be automatically enabled on defined
condit
Sean DiZazzo wrote:
On Sep 2, 8:36 pm, MacRules wrote:
Hi,
I installed Python daemon, pyodbc module to access the back-end DB server.
My setup is like this
load data job -> Python Daemon A, port 6000 -> Python Daemon B, port
7000 -> MySQL
Daemon A will perform data compression, such as GZIP
Lee wrote:
> Elementtree (python xml parser) will transform markup like
>
>
>
> into
>
>
>
> which is a reasonable thing to do for xml (called minimization, I
> think).
>
> But this caused an obscure problem when I used it to create the xhtml
> parts of my website,
> causing Internet Explore
In article <6b5ea596-d1e3-483d-ba79-7b139d3c7...@z24g2000yqb.googlegroups.com>,
Bearophile wrote:
>MRAB:
>
>>'_': what if in the future we want to allow them in numbers for clarity?
>
>Hettinger says it's hard (= requires too many changes) to do that and
>Python programs don't have big integer co
In article ,
Derek Martin wrote:
>
>--W1uEbMXJ1Mj4g6TI
>Content-Type: text/plain; charset=iso-8859-1
>Content-Disposition: inline
>
>On Mon, Aug 24, 2009 at 05:03:28PM +, Steven D'Aprano wrote:
>> On Mon, 24 Aug 2009 11:21:46 -0500, Derek Martin wrote:
>> > since the old syntax is prevalent b
On Sep 3, 2:21 pm, Olli Virta wrote:
> Hi!
>
> So I got this big textfile. It's full of data from a database. About
> 150 or
> more rows or lines in a textfile.
> There's three first rows that belong to the same subject. And then
> next
> three rows belong to another subject and so on, to the end
MacRules wrote:
> Sean DiZazzo wrote:
>> On Sep 2, 8:36 pm, MacRules wrote:
>>> Hi,
>>>
>>> I installed Python daemon, pyodbc module to access the back-end DB
>>> server.
>>>
>>> My setup is like this
>>>
>>> load data job -> Python Daemon A, port 6000 -> Python Daemon B, port
>>> 7000 -> MySQL
>>
Ed Singleton a écrit :
On Aug 26, 4:17 am, alex23 wrote:
Frameworks created for the sake of creating a framework, as opposed to
those written to meet a defined need, tend to be the worst examples of
masturbatory coding.
Indeed, but masturbation is perfectly healthy and acceptable, and we
all
On 2009-09-03, Ben Finney wrote:
> Tim Chase writes:
>
>> Any editor worth its salt will offer indentation-based folding (I know
>> vim does, and I would be astonished if emacs didn't.
>
> Emacs calls that ???hide/show???, and the ???hs-minor-mode??? can be enabled
> for
> any buffer (and can th
I went with a space, but a comment is a better idea.
I only mention the
On 2009-09-03, Albert van der Horst wrote:
> In article ,
> MRAB wrote:
>>Steven D'Aprano wrote:
>
>>> Obviously I can't speak for Ken Thompson's motivation in creating this
>>> feature, but I'm pretty sure it wasn't to save typing or space on
>>> punchcards. Even in 1969, hex was more common th
John Nagle a écrit :
(snip)
MySQLdb is available only up to Python 2.5.
Huh ???
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import MySQLdb
/var/lib/python-support/python2.6/MySQLdb/__in
On Sep 2, 3:55 pm, bvdp wrote:
> I'm trying to NOT create a parser to do this and I'm sure that
> it's easy if I could only see the light!
>
> Is it possible to take an arbitrary string in the form "1:2", "1",
> ":-1", etc. and feed it to slice() and then apply the result to an
> existing lis
Hi,
I'm using apply to pass keyword arguments as a dictionary to a funcion at
runtime (which keyword arguments to pass is only known at runtime)
apply is very handy for this, because it takes a dictionary of keyword
arguments directly
def f1(a=None,b=None,c=None):
pass
kw={'a':1}
apply(f1,
MacRules writes:
> Are you a Python expert?
This group has many Python experts, and even more people who can no
doubt help you if you are able to articulate what you need help with.
To help dispel a possible misunderstanding: Don't expect to have a
one-on-one conversation with a single devoted
On 3 Sep, 14:26, Albert van der Horst
wrote:
> In article <6031ba08-08c8-416b-91db-ce8ff57ae...@w6g2000yqw.googlegroups.com>,
> James Harris wrote:
>
>
>
>
> >So you are saying that Smalltalk has r where
> >r is presumably for radix? That's maybe best of all. It preserves the
> >syntactic requi
On 3 Sep, 15:35, Grant Edwards wrote:
...
> >>> Obviously I can't speak for Ken Thompson's motivation in creating this
> >>> feature, but I'm pretty sure it wasn't to save typing or space on
> >>> punchcards. Even in 1969, hex was more common than octal, and yet hex
> >>> values are written with
On 3 Sep, 15:54, Albert van der Horst
wrote:
> In article ,
> Derek Martin wrote:
>
>
>
>
>
> >--W1uEbMXJ1Mj4g6TI
> >Content-Type: text/plain; charset=iso-8859-1
> >Content-Disposition: inline
>
> >On Mon, Aug 24, 2009 at 05:03:28PM +, Steven D'Aprano wrote:
> >> On Mon, 24 Aug 2009 11:21:46
jorma kala wrote:
Hi,
I'm using apply to pass keyword arguments as a dictionary to a
funcion at runtime (which keyword arguments to pass is only known at
runtime)
apply is very handy for this, because it takes a dictionary of keyword
arguments directly
def f1(a=None,b=None,c=None):
pas
Many thanks!!
On Thu, Sep 3, 2009 at 4:21 PM, Gary Herron wrote:
> jorma kala wrote:
>
>>
>> Hi,
>> I'm using apply to pass keyword arguments as a dictionary to a funcion at
>> runtime (which keyword arguments to pass is only known at runtime)
>> apply is very handy for this, because it takes
I went with a space, but a comment is a better idea.
I only mention the
Grant Edwards writes:
>
> On 2009-09-03, Ben Finney wrote:
> > Tim Chase writes:
> > >
> > > Any editor worth its salt will offer indentation-based folding (I know
> > > vim does, and I would be astonished if emacs didn't.
> >
> > Emacs calls that ???hide/show???, and the ???hs-minor-mode??? can
Hello,
I'd like to play a little with named pipes on windows.
For this purpose google told me there is a win32pipe module.
My python2.6 on windows doesn't know it - so where can I get ?
Does it belong to the std. python for windows or is it a separate
package ?
Thank a lot,
Hans
--
http://mail
Hans Müller wrote:
Hello,
I'd like to play a little with named pipes on windows.
For this purpose google told me there is a win32pipe module.
My python2.6 on windows doesn't know it - so where can I get ?
Does it belong to the std. python for windows or is it a separate
package ?
It's part of
I am new to python, working by way through 'Core Python Programming'. I can find
no description of using print with the built-in type for formatting. I think I
have got some [most?] of it from Chun, google, and python.org. My comment is -
it should not be that hard to find. I would suggest a lin
Michele Simionato wrote:
On Sep 3, 12:19 am, Ethan Furman wrote:
Greetings, List!
The recent thread about a recursive function in a class definition led
me back to a post about bindfunc from Arnaud, and from there I found
Michele Simionato's decorator module (many thanks! :-), and from there
On Thu, Sep 3, 2009 at 12:22 PM, wrote:
> I am new to python, working by way through 'Core Python Programming'. I can
> find no description of using print with the built-in type for formatting. I
> think I have got some [most?] of it from Chun, google, and python.org. My
> comment is - it should n
On 2009-09-03 11:50 AM, Benjamin Kaplan wrote:
On Thu, Sep 3, 2009 at 12:22 PM, wrote:
I am new to python, working by way through 'Core Python Programming'. I can
find no description of using print with the built-in type for formatting. I
think I have got some [most?] of it from Chun, google, a
On Sep 2, 8:52 pm, Steven D'Aprano
wrote:
> On Wed, 02 Sep 2009 17:32:09 -0700, Bob van der Poel wrote:
>
> > Actually, nither this or Jan's latest is working properly. I don't know
> > if it's the slice() function or what (I'm using python 2.5). But:
>
> > x = [1,2,3,4,5]
> > slice_string="2"
> >
I am subclassing list class and it basically works, but I don't
understand why after splicing these mylist objects I don't get
returned mylist objects. What I get are list objects:
class mylist(list):
def __init__(self):
list.__init__(self)
k = mylist()
k.append(1)
k.append(2)
k.a
Bearophile wrote:
> Please, can't you just use a bit of functional-style programming? Like
> creating nested functions on the fly, etc.
I thought about it but I believe that in the future some parts of the
code will be reimplemented in C/C++, so I try to keep it simple.
In the end the hint to le
lallous wrote:
Hello
In C/C++ you use the braces where as in Python you use the indentation
levels.
Most editors offer a Ctrl+[ to match the braces so that you can easily
identify the scopes (more correctly "statements blocks").
I am finding it difficult to see blocks and/or jump from end to st
On 9/3/2009 10:10 AM Kreso said...
I am subclassing list class and it basically works, but I don't
understand why after splicing these mylist objects I don't get
returned mylist objects. What I get are list objects:
I would prefer that resulting object m belonged to myclist class.
How to obtai
Python's concept of immutability is useful, but it could be more
general.
In the beginning, strings, tuples, and numbers were immutable, and
everything else was mutable. That was simple enough. But over time,
Python has acquired more immutable types - immutable sets and immutable
byte a
Hello Every one,
I just want to that s there a 64 bit Linux version for python ? if yes can
you provide me any links for it.I could find a 64bit windows version but
could not find Linuux version
Your help is appriciated.
Thanks
Bhanu
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, 03 Sep 2009 06:36:24 -0700, koranthala wrote:
>
> Also, I think topcoder.com is a good place for him. I have not used them
> much, but their business plan -- of asking medium to difficult questions
> every week, and contacting people who solves them with jobs -- is quite
> sound.
> Try th
Ben Finney wrote:
MacRules writes:
Are you a Python expert?
This group has many Python experts, and even more people who can no
doubt help you if you are able to articulate what you need help with.
To help dispel a possible misunderstanding: Don't expect to have a
one-on-one conversation wi
Bhanu Srinivas Mangipudi:
>
> I just want to that s there a 64 bit Linux version for python ?
Yes.
> if yes can you provide me any links for it.I could find a 64bit
> windows version but could not find Linuux version
I am currently too lazy to look it up for you on python.org (if it is
there), b
in tcsh terminal i have the following line of code
cat fileName.txt | grep "a"
which extracts all the instances of "a" from the file in the
terminal..
however when i am trying to create a txt while, i am unable to do so
for some reason..this is the syntaxt i am using --
cat fileName.txt | frep
Helvin wrote:
> Just wanted to say, to convert qstrings (or integers for that matter)
> to strings, use the str() function.
>
> http://learnwithhelvin.blogspot.com/2009/09/qstrings-and-strings.html
Hmmm, will that return a Unicode string? A byte string would be rather
inappropriate in most cases.
John Nagle wrote:
Python's concept of immutability is useful, but it could be more
general.
In the beginning, strings, tuples, and numbers were immutable, and
everything else was mutable. That was simple enough. But over time,
Python has acquired more immutable types - immutable sets
Lee wrote:
> basically any tag that can
> have content in html you had better close the html way (),
> or IE will see it as unclosed and will not display the rest of the
> page after the tag (or do something else unexpected). Not a bug in IE
> (this time), which is correctly parsing the file as htm
MacRules wrote:
What I am looking for is this.
Oracle DB in data center 1 (LA, west coast)
MSSQL DB in data center 2 (DC, east coast)
So network bandwidth is an issue, I prefer to have gzip fist and deliver
the data.
If bandwidth is really an issue, you should send compressed delta's.
I n
Steven D'Aprano wrote:
On Thu, 03 Sep 2009 04:01:54 -0400, Terry Reedy wrote:
ISP's price residential service based on average fixed cost and average
usage. Multiple homes using one connection push those averages up.
Is that meant to be a problem?
When people buy more, the unit price they
Nigel Rantor wrote:
>
> John Nagle wrote:
>> Immutability is interesting for threaded programs, because
>> immutable objects can be shared without risk. Consider a programming
>> model where objects shared between threads must be either immutable or
>> "synchronized" in the sense that Java us
Stefan Behnel wrote:
Nigel Rantor wrote:
John Nagle wrote:
Immutability is interesting for threaded programs, because
immutable objects can be shared without risk. Consider a programming
model where objects shared between threads must be either immutable or
"synchronized" in the sense that
Martin P. Hellwig wrote:
MacRules wrote:
What I am looking for is this.
Oracle DB in data center 1 (LA, west coast)
MSSQL DB in data center 2 (DC, east coast)
So network bandwidth is an issue, I prefer to have gzip fist and
deliver the data.
If bandwidth is really an issue, you should send
Nigel Rantor wrote:
> My comment you quoted was talking about Java and the use of
> synchronized. I fthat was unclear I apologise.
Well, it was clear. But it was also unrelated to what the OP wrote. He was
talking about the semantics of "synchronized" in Java, not the use.
Stefan
--
http://mail.
basically any tag that can
have content in html you had better close the html way (),
or IE will see it as unclosed and will not display the rest of the
page after the tag (or do something else unexpected). Not a bug in IE
(this time), which is correctly parsing the file as html.
... which is ob
John Nagle wrote:
> With this mechanism, multi-thread programs with shared data
> structures can be written with little or no explicit locking by
> the programmer. If the restrictions are made a bit stricter,
> strict enough that threads cannot share mutable unsynchronized data,
> removal of t
On 2009-09-03, Jochen Schulz wrote:
> Bhanu Srinivas Mangipudi:
>>
>> I just want to that s there a 64 bit Linux version for python
>> ?
>
> Yes.
>
>> if yes can you provide me any links for it.I could find a
>> 64bit windows version but could not find Linuux version
>
> I am currently too lazy to
Not at all important, just for fun (at least for me):
It seems to me, looking at various docs, that wxWidgets
includes a "media control" that can play video files, but
it's not included in wxPython. (There's something in
wxPython with a promising name but it seems to be just audio.)
Is that corre
On Thursday 03 September 2009 21:01, Stefan Behnel wrote:
> Helvin wrote:
>> Just wanted to say, to convert qstrings (or integers for that matter)
>> to strings, use the str() function.
>>
>> http://learnwithhelvin.blogspot.com/2009/09/qstrings-and-strings.html
>
> Hmmm, will that return a Unico
On Thu, 2009-09-03 at 13:30 -0500, Bhanu Srinivas Mangipudi wrote:
>
> I just want to that s there a 64 bit Linux version for python ? if yes
> can you provide me any links for it.I could find a 64bit windows
> version but could not find Linuux version
If you are using a 64bit Linux distribution
On Thu, 2009-09-03 at 11:51 -0700, Jul wrote:
[Stuff about tcsh and grep deleted]
What on earth does this have to do with Python?
-a
--
http://mail.python.org/mailman/listinfo/python-list
[posted to c.l.py with cc in e-mail, reply to group preferred]
In article ,
Nicolas Dumazet wrote:
>
>I am proud to announce the first release of pyfsevents, a C extension
>providing a Python interface to the FSEvents API.
>FSEvents is an Apple framework for Mac OS X >=3D 10.5 allowing
>monitori
Kreso wrote:
[...]
> I would prefer that resulting object m belonged to myclist class.
I forgot to add that mylist instances in my case have some attributes (that's
why I need special container class in the first place) which should be
preserved after splicing.
In my simple understaning of pyth
David C Ullrich wrote:
...
Is that correct? If so is there some other standard Python
windowing kit that does include some sort of video functionality?
(Talking Ubuntu Linux if it matters.)
I don't know about video and wxpython, but gstreamer has some python
bindings (python-gst0.10 on jaunty
On Sep 3, 10:33 pm, a...@pythoncraft.com (Aahz) wrote:
> I'm curious why you went with FSEvents rather than kqueue. My company
> discovered that FSEvents is rather coarse-grained: it only tells you that
> there has been an event within a directory, it does *not* tell you
> anything about the chang
According to the documentation, these two sections of code should be
equivalent:
conn = httplib.HTTPSConnection(host)
conn.putrequest("POST", url)
conn.putheader("Proxy-Authorization", myProxy)
conn.putheader("Content-Length", "%d" % len(body))
conn.endheaders()
conn.send(body)
vs
Stefan Behnel writes:
> Read again what he wrote. In a language with only immutable data types
> (which doesn't mean that you can't efficiently create modified versions of
> a data container), avoiding race conditions is trivial. The most well known
> example is clearly Erlang. Adding "synchronise
On Thu, 03 Sep 2009 19:51:20 +0100, Jul wrote:
in tcsh terminal i have the following line of code
cat fileName.txt | grep "a"
which extracts all the instances of "a" from the file in the
terminal..
however when i am trying to create a txt while, i am unable to do so
for some reason..this is
En Thu, 03 Sep 2009 15:03:13 -0300, John Nagle
escribió:
Python's concept of immutability is useful, but it could be more
general.
Immutability is interesting for threaded programs, because
immutable objects can be shared without risk. Consider a programming
model where objects sh
I have created the following class definition with the idea of making
a clean syntax for non-programmers to created structured data within a
python environment.
I would appreciate comments on this code. First, is something like
this already done? Second, are there reasons for not doing this? If
t
The September issue of The Python: Rag is available at:
http://www.pythonrag.org
A monthly, free, community run, Python magazine - issues are in pdf
format, intended for anyone interested in Python, without being
particularly serious. If you have anything you would like to say about
Python, p
On Thu, 03 Sep 2009 12:19:48 -0700, Ethan Furman wrote:
> Steven D'Aprano wrote:
>> On Thu, 03 Sep 2009 04:01:54 -0400, Terry Reedy wrote:
>>
>>
>>>ISP's price residential service based on average fixed cost and average
>>>usage. Multiple homes using one connection push those averages up.
>>
>>
Steven D'Aprano wrote:
On Thu, 03 Sep 2009 12:19:48 -0700, Ethan Furman wrote:
Steven D'Aprano wrote:
On Thu, 03 Sep 2009 04:01:54 -0400, Terry Reedy wrote:
ISP's price residential service based on average fixed cost and average
usage. Multiple homes using one connection push those avera
On Sep 3, 4:11 pm, David C Ullrich wrote:
> Not at all important, just for fun (at least for me):
>
> It seems to me, looking at various docs, that wxWidgets
> includes a "media control" that can play video files, but
> it's not included in wxPython. (There's something in
> wxPython with a promisi
On Thu, 03 Sep 2009 15:46:01 -0700, Ken Newton wrote:
> I have created the following class definition with the idea of making a
> clean syntax for non-programmers to created structured data within a
> python environment.
What do you expect non-programmers to do with this class, without
programmi
MacRules writes:
> What I am looking for is this.
>
> Oracle DB in data center 1 (LA, west coast)
> MSSQL DB in data center 2 (DC, east coast)
> So network bandwidth is an issue
Okay, that's a brief description but is clearer than we had before.
> I prefer to have gzip fist and
> deliver the da
On Thu, 03 Sep 2009 16:01:26 -0700, Ethan Furman wrote:
> Steven D'Aprano wrote:
>> On Thu, 03 Sep 2009 12:19:48 -0700, Ethan Furman wrote:
>>
>>
>>>Steven D'Aprano wrote:
>>>
On Thu, 03 Sep 2009 04:01:54 -0400, Terry Reedy wrote:
>ISP's price residential service based on
Albert van der Horst wrote:
In article <6b5ea596-d1e3-483d-ba79-7b139d3c7...@z24g2000yqb.googlegroups.com>,
Bearophile wrote:
MRAB:
'_': what if in the future we want to allow them in numbers for clarity?
Hettinger says it's hard (= requires too many changes) to do that and
Python programs
jorma kala wrote:
Hi,
I'm using apply to pass keyword arguments as a dictionary to a funcion
at runtime (which keyword arguments to pass is only known at runtime)
apply is very handy for this, because it takes a dictionary of keyword
arguments directly
def f1(a=None,b=None,c=None):
pass
On Thu, Sep 3, 2009 at 4:30 PM, Steven D'Aprano <
st...@remove-this-cybersource.com.au> wrote:
> On Thu, 03 Sep 2009 15:46:01 -0700, Ken Newton wrote:
>
> > I have created the following class definition with the idea of making a
> > clean syntax for non-programmers to created structured data withi
Hi:
I have this code:
try:
cursor.execute('select salesperson, office, cell, fax, home, email,
assistant from general where salesperson="%s";' % (catch))
stuff = cursor.fetchone()
test = raw_input('You have selected salesperson %s. Is that correct? (hit
\'enter\' for affirmative, enter anyt
On 06:23 pm, mar...@v.loewis.de wrote:
If I am not mistaken http://python.org/dev/buildbot/community/all/ has
been down since python.org had its harddrive issues.
Anyone know a time line on getting it back up and running.
This service is, unfortunately, unmaintained. It broke when I upgraded
t
On Tue, Sep 01, 2009 at 03:16:03PM EDT, r wrote:
[..]
> Bring on the metric system Terry, i have been waiting all my life!!
>
> Now, if we can only convince those 800 million Mandarin Chinese
> speakers... *ahem* Do we have a Chinese translator in the house?
>
> :-)
"Between the idea
And the
I'm desperately trying to declare an adjacency list table with
declarative_base() but I can't figure it out. Strangely, all the
documentation avoids declarative_base() like the plague and does everything
the hard way. What the hell is this thing for if we're not supposed to use
it?
If
1 - 100 of 115 matches
Mail list logo