Am 30.03.2012 14:47, schrieb Dave Angel:
> But since it doesn't do it on all messages, have you also confirmed that
> it does it for a text message? My experience seems to be that only the
> html messages are messed up that way.
I can't find any HTML in what I posted, so HTML is not the problem.
Hi Adrian, see my comments below.
>
> From: Adrian Hunt
...
>It could break old code... okay you may say you should’nt allow
>certain characters but if they're printable and used in a controlled
>environment those characters can dramatically increase the security
>
On 4/2/2012 3:12 AM, Ulrich Eckhardt wrote:
I can't find any HTML in what I posted, so HTML is not the problem. A
difference could be the content type. I had in my posting:
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Another one titled "Pipelining in Python", where TB doesn
> You can already do essentially that without adding a special-case string
> formatting method to the general methods we already have.
>
balls = 5
people = 3
'The {people} people have {balls}
> balls.'.format(**locals())
> 'The 3 people have 5 balls.'
Clearly dynamic strings
> Python already has *3* different built-in string
> formatting/interpolation systems:
...
> I would surmise that your key "implicitly grab variable values from
> the enclosing scope" feature has previously been rejected for being
> too magical.
It grabs because it is an expression in disguise (n
On Mon, Apr 2, 2012 at 5:24 PM, Yingjie Lan wrote:
> They are called "Dynamic strings".
> Dynamic strings can achieve formatting,
> but the mechanism under the hood differ
> from common strings dramatically.
>
> Many here didn't realize that this is not
> another formatting proposal, it is a new
>
Yingjie Lan writes:
> Clearly dynamic strings are much more powerful,
> allowing arbitrary expressions inside. It is also
> more terse and readable, since we need no dictionary.
...
> On the implementation, I would suppose new
> syntax is needed (though very small).
I don't think you need any ne
On Mon, 02 Apr 2012 17:52:33 +1000, Chris Angelico wrote:
> I'm -1 on the idea, mainly because there are already two perfectly good
> string interpolation syntaxes that don't require a new kind of string.
Three.
% formatting
{} formatting
$ formatting using string.Template
--
Steven
--
http
On Mon, 02 Apr 2012 00:39:42 -0700, Yingjie Lan wrote:
>> You can already do essentially that without adding a special-case
>> string
>
>> formatting method to the general methods we already have.
>>
> balls = 5
> people = 3
> 'The {people} people have {balls}
>> balls.'.format(**
On Mon, Apr 2, 2012 at 6:26 PM, Steven D'Aprano
wrote:
> On Mon, 02 Apr 2012 00:39:42 -0700, Yingjie Lan wrote:
>> The compiler can choose to convert it into a string
>> formatting expression, of course. To efficiently format strings at
>> runtime, the best choice (especially
>> for safty reasons)
On 3/31/12 1:47 AM, Mark Lawrence wrote:
I went onto google groups to do a search and saw three threads (there may be
more) that I've never seen on gmane, which I read via thunderbird on windows.
The titles are "Is programming art or science", "breezypythongui: A New Toolkit
for Easy GUIs in Pyth
- Original Message -
> From: Steven D'Aprano
> To: python-list@python.org
> Cc:
> Sent: Monday, April 2, 2012 4:26 PM
> Subject: Re: string interpolation for python
>
> On Mon, 02 Apr 2012 00:39:42 -0700, Yingjie Lan wrote:
>
>>> You can already do essentially that without adding a
> Actually, this sounds like a job for a precompiler/preprocessor. Do
> whatever translations you want on your code, then turn it into a .py
> file for execution. But hardly necessary, as there are already two -
> err, three, I stand corrected - perfectly good ways to do it.
Agree and disagree.
On Mon, Apr 2, 2012 at 7:11 PM, Yingjie Lan wrote:
> I believe non of the other three alternatives are as terse and readable.
> We've got template based, formatting with dict, formatting with tuple.
> They all require the coder extra effort:
>
> Both template based and dict-based formatting requir
Robert Kern writes:
> I also don't see these on GMane. It's possible that they are getting
> caught in one of GMane's several levels of spam filtering.
I'm seeing some weird issues where google groups posts on another
newsgroup aren't making it to the non-google nntp server that I use.
The parano
Yingjie Lan wrote:
> Both template based and dict-based formatting require writing the
> identifier three times:
name = 'Peter'
"Are you %(name)s"%{'name':name}
> ÿ
> If dynamic string is used:
"Are you $name$?"
> Template:
Template("Are you $name?").substitute(name=name)
> It
On Mon, Apr 2, 2012 at 2:11 AM, Yingjie Lan wrote:
> I believe non of the other three alternatives are as terse and readable.
> We've got template based, formatting with dict, formatting with tuple.
> They all require the coder extra effort:
>
> Both template based and dict-based formatting requi
On Sat, 2012-03-31 at 06:29 -0400, Terry Reedy wrote:
> On 3/31/2012 3:42 AM, Frederic Rentsch wrote:
> > Hi all,
> >
> > Is is a bad idea to develop Tkinter applications in IDLE? I understand
> > that IDLE is itself a Tkinter application, supposedly in a mainloop and
> > mainloops apparently don't
On Mon, 02 Apr 2012 03:16:26 -0700, Paul Rubin wrote:
> Robert Kern writes:
>> I also don't see these on GMane. It's possible that they are getting
>> caught in one of GMane's several levels of spam filtering.
>
> I'm seeing some weird issues where google groups posts on another
> newsgroup aren
>
"Are you "+name+"?"
>
> That allows arbitrary expressions and everything.
>
To make that work for any type, you need:
>>> "Are you "+ str(name) + "?"
Another concern is performance.
You are absolutely right, they are
equivalent in that both are expressions.
As long as people start
On Mon, 02 Apr 2012 02:11:46 -0700, Yingjie Lan wrote:
> Both template based and dict-based formatting require writing the
> identifier three times:
> >>> name = 'Peter'
> >>> "Are you %(name)s"%{'name':name}
They don't *require* this at all.
"Are you %s" % name
For trivial examples, you have
> "Are you %(name)s" % locals() # or vars()
This partly solves the problem, however, you
can't work with expressions inside, like:
> d"sin($x$) = $sin(x)$"
Also, what if locals() or vars() does not contain
the variable "x"? (x could be nonlocal or global).
> It's more conservative than hos
...
> That, by the way, is perhaps the biggest problem with this idea of
> dynamic strings: not that it is too powerful, but that it is TOO WEAK.
...
> and similar for both format() and Template.
Seems you miss understood my notion of dynamic string.
Dynamic strings are expressions in disguise
Hi,
I look for a package to make some console "form".
It's a standard stuff, I think there are a package to do that.
Example :
What is your name ?
Select your lang [EN, FR, DE…] ?
Do you want … [Y, N] ?
Type of field :
* textline
* select choice
* boolean question
Thank for your help,
Stéph
Seems you miss understood my notion of dynamic string.
Dynamic strings are expressions in disguise: the things
in between $...$ are plain old expressions (with optional
formatting specifications). They are evaluated
as if they were outside the dynamic string. We put them
in there to to kill two
Stéphane Klein wrote:
Hi,
I look for a package to make some console "form".
It's a standard stuff, I think there are a package to do that.
Example :
What is your name ?
Select your lang [EN, FR, DE…] ?
Do you want … [Y, N] ?
Type of field :
* textline
* select choice
* boolean question
Tha
Well, a .pyc file would be a too blatant obfuscation, and people at my
job would get angry. I need something more subtle. So I need a
refactoring tool, preferably with which I can do scripting. These is
what I found up to now in the CheeseShop:
http://pypi.python.org/pypi/bicyclerepair/0.7.1
ht
Itzik Kotler wrote:
Hi All,
I'm pleased to announce the first beta release of Pythonect interpreter.
Pythonect is a new, experimental, general-purpose dataflow programming
language based on Python.
It aims to combine the intuitive feel of shell scripting (and all of
its perks like implicit
> like this one ?
>
> b = dict(name="Sue", job="SAS sharp-shooter")
> print "$b['name']$ works as b['job']"
>
> Is it really easier to read that the following ?
> "{0} works as {1}".format(b['name'],b['job'])
>
> In the case in which b is an object having "job" and "name"
> attribute, the dyna
Le 02/04/2012 15:54, Jean-Michel Pichavant a écrit :
Stéphane Klein wrote:
Hi,
I look for a package to make some console "form".
It's a standard stuff, I think there are a package to do that.
Example :
What is your name ?
Select your lang [EN, FR, DE…] ?
Do you want … [Y, N] ?
Type of field
Yingjie Lan wrote:
> Seems you miss understood my notion of dynamic string.
> Dynamic strings are expressions in disguise: the things
> in between $...$ are plain old expressions (with optional
> formatting specifications). They are evaluated
> as if they were outside the dynamic string.
In that
On 2012-04-02, St?phane Klein wrote:
> Le 02/04/2012 15:54, Jean-Michel Pichavant a ?crit :
>> St?phane Klein wrote:
>>>
>>> I look for a package to make some console "form".
>>>
>>> It's a standard stuff, I think there are a package to do that.
>>>
>>> Example :
>>>
>>> What is your name ?
>>> Se
Stéphane Klein wrote:
Le 02/04/2012 15:54, Jean-Michel Pichavant a écrit :
Stéphane Klein wrote:
Hi,
I look for a package to make some console "form".
It's a standard stuff, I think there are a package to do that.
Example :
What is your name ?
Select your lang [EN, FR, DE…] ?
Do you want …
On Mon, Apr 2, 2012 at 9:46 PM, Yingjie Lan wrote:
> "Are you "+name+"?"
>>
>> That allows arbitrary expressions and everything.
>>
>
> To make that work for any type, you need:
>
"Are you "+ str(name) + "?"
>
> Another concern is performance.
>
> You are absolutely right, they are
> equ
mwil...@the-wire.com wrote:
> Yingjie Lan wrote:
>> Seems you miss understood my notion of dynamic string.
>> Dynamic strings are expressions in disguise: the things
>> in between $...$ are plain old expressions (with optional
>> formatting specifications). They are evaluated
>> as if they were ou
> Right, meaning that both have the same issues
> of performance, need for
> str(), etc. There's absolutely no difference.
OK, performance. Here is a new solution:
Suppose we have a new string method
str.format_join([...])
taking a list of strings and objects,
with even-indexed ones being
>> In that case you should re-think the delimiters, so that you have
>> something
>> that can be nested. An example (example only, I'm not in love with it
> as
>> a final form):
Haven't really thought about that. Nesting is a big
issue if in the embedded expression, there is another
dyn
In article <4f794c1a.7020...@gmail.com>,
Andrew Berg wrote:
> > To download Python 3.3.0 visit:
> >
> > http://www.python.org/download/releases/3.3.0/
> The Windows links point to 3.3a1 installers, even though the links say
> 3.3a2.
Thanks for the heads up. The links have now been updated to p
On Tue, 03 Apr 2012 00:58:38 +1000, Chris Angelico wrote:
> Maybe. But it (percent-notation) is expressive and insanely powerful.
> Moreover, it obeys the rule that you pay for the complexity you use, no
> more and no less. (Although I think there's one lack in Python's
> implementation - I can't
Le 02/04/2012 16:52, Jean-Michel Pichavant a écrit :
Stéphane Klein wrote:
Le 02/04/2012 15:54, Jean-Michel Pichavant a écrit :
Stéphane Klein wrote:
Hi,
I look for a package to make some console "form".
It's a standard stuff, I think there are a package to do that.
Example :
What is your
Tim Rowe wrote:
On 22 March 2012 19:14, Chris Angelico wrote:
In any case, though, I agree that there's a lot of people
professionally writing code who would know about the 3-4 that you say.
I'm just not sure that they're any good at coding, even in those few
languages. All the best people I'v
You might look into formencode. It basically takes the philosophy that
a form is nothing more and nothing less than an interface between user
input and python data. It doesn't make assumptions about how you
present the form to the user. It just handles validation and conversion
of that data into
Hi,
I have a WinXP PC running an SSH server and I have a Linux PC with an
SSH client and logged into the XP seemingly OK. It's all on my
personal LAN, the connection seems OK.
I have a py file on the XP that I run via SSH from the Linux, it's:
import webbrowser
webbrowser.open('www.google.com')
Greetings,
Techies Platform’s training programs are essential to anyone in
Information Management. With Techies Platform, you will experience
rich content and an environment that is interesting, up-to-date, and
engaging. Our instructors, materials, and in lab sessions are there to
help build on yo
On Mar 28, 1:52 pm, Jon Clements wrote:
> On Wednesday, 28 March 2012 19:39:54 UTC+1, larry@gmail.com wrote:
> > I have the following use case:
>
> > I have a set of data that is contains 3 fields, K1, K2 and a
> > timestamp. There are duplicates in the data set, and they all have to
> > proc
I have the following use case:
I have a set of data that is contains 3 fields, K1, K2 and a
timestamp. There are duplicates in the data set, and they all have to
processed.
Then I have another set of data with 4 fields: K3, K4, K5, and a
timestamp. There are also duplicates in that data set, and
On Wednesday, 28 March 2012 19:39:54 UTC+1, larry@gmail.com wrote:
> I have the following use case:
>
> I have a set of data that is contains 3 fields, K1, K2 and a
> timestamp. There are duplicates in the data set, and they all have to
> processed.
>
> Then I have another set of data with 4
I'm looking for a Python (2.7) equivalent to the Unix "cp" command.
Since the equivalents of "rm" and "mkdir" are in the os module, I
figured I look there. I haven't found anything in the documentation.
I am also looking through the Python source code in os.py and its
child, posixfile.py.
Any hel
I can't believe I am so dumb!
after sound.play() the script was terminating
I didn't notice that 'play()' actually returns...
What a nice way to introduce myself to the group!!! :-)
sorry for bothering you guys :-)
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 28, 6:55 pm, Ben Finney wrote:
> Steven D'Aprano writes:
> > (By the way, I have to question the design of an exception with error
> > codes. That seems pretty poor design to me. Normally the exception *type*
> > acts as equivalent to an error code.)
>
> Have a look at Python's built-in OS
On Mar 29, 7:03 am, Chris Angelico wrote:
> On Fri, Mar 30, 2012 at 12:44 AM, Nathan Rice
>
> wrote:
> > We would be better off if all the time that was spent on learning
> > syntax, memorizing library organization and becoming proficient with
> > new tools was spent learning the mathematics, log
Larry.Mart wrote:
> Since there are duplicates, I can't use a dict. And if I have any
> extraneous data in the keys (i.e. something to make them unique) then
> I still have to walk through the entire dict to find the matches.
You can use slightly different approach. With double mapping you could
Leo 4.10 final is now available at:
http://sourceforge.net/projects/leo/files/Leo/4.10%20final/
Leo is a text editor, data organizer, project manager and much more.
http://webpages.charter.net/edreamleo/intro.html
Leo 4.10 contains 9 months of intense work on Leo. Several very
important
features
I am attempting to subclass the date class from the datetime package. Basically
I want a subclass that can take the date as a string (in multiple formats),
parse the string and derive the year,month and day information to create a date
instance i.e.
class MyDate(datetime.date):
def __init__(
the refreshen of the blood, from Xah's Entertainment Enterprise, i
bring you:
ãIs Programing Art or Scienceã
http://xahlee.org/UnixResource_dir/writ/art_or_science.html
penned in the year of our lord two thousand and two, plain text
version follows.
Is Progra
On Mar 29, 11:53 am, Devin Jeanpierre wrote:
> Well, what sort of language differences make for English vs Mandarin?
> Relational algebraic-style programming is useful, but definitely a
> large language barrier to people that don't know any SQL. I think this
> is reasonable. (It would not matter
Hi,
You can try using ssh -X xxx.xxx.xxx.xxx for GUI ssh connection.
Thanks,
Anoop Thomas Mathew
atm
___
Life is short, Live it hard.
On 28 March 2012 06:21, goldtech wrote:
> Hi,
>
> I have a WinXP PC running an SSH server and I have a Linux PC with an
> SSH client and logged into the XP
On Thursday, 29 March 2012 21:23:20 UTC+1, Peter wrote:
> I am attempting to subclass the date class from the datetime package.
> Basically I want a subclass that can take the date as a string (in multiple
> formats), parse the string and derive the year,month and day information to
> create a
Dear all,
I am a bit frustrated by the following as I believe it is something
silly that I am not able to see.
I am using python 2.7.1+ under ubuntu.
When I run the following script as in
$python script.py
I do not get any sound out of it
BUT if I run every line in the python shell it works grea
I've decided to use PyGTK instead of gtkdialog for providing
configuration menus/dialog boxes in Swift Linux, the Linux distro I
started. The problem with gtkdialog is that the i386 version is no
longer available in the Debian repository.
Since a picture is worth a thousand words, I'll give you a
On Mar 29, 10:41 pm, Mik wrote:
> What a nice way to introduce myself to the group!!! :-)
Hey, don't beat yourself up, you:
- summarised the problem in the subject heading
- included actual code showing the problem
- reported back on the problem you found
That puts you ahead of most new post
On Mar 29, 9:38 pm, Nathan Rice
wrote:
> The mathematics of the 20th century, (from the early 30s onward) tend
> to get VERY abstract, in just the way Joel decries. Category theory,
> model theory, modern algebraic geometry, topos theory, algebraic graph
> theory, abstract algebras and topologic
On Mar 30, 9:02 pm, Steve Howell wrote:
> Steven, how do you predict which abstractions are going to be useless?
>
> There was a time when imaginary numbers were just little toys that the
> mathematicians played around with in their ivory towers.
A non-science/math analogous question:
When Beet
Oh thanks alex!
that's kind!
PS: It looks like a party indeed: plenty of interesting
discussions :-)
On Mar 30, 4:33 am, alex23 wrote:
> On Mar 29, 10:41 pm, Mik wrote:
>
> > What a nice way to introduce myself to the group!!! :-)
>
> Hey, don't beat yourself up, you:
>
> - summarised the prob
On Mar 28, 9:50 pm, alex23 wrote:
> On Mar 29, 6:12 am, John Ladasky wrote:
>
> > I'm looking for a Python (2.7) equivalent to the Unix "cp" command.
> > Any help? Thanks.
>
> Try the shutil module:http://docs.python.org/library/shutil.html
Many thanks! That's what I was looking for.
--
http:
On Mar 29, 9:42 am, Devin Jeanpierre wrote:
> On Thu, Mar 29, 2012 at 10:03 AM, Chris Angelico wrote:
> > You can't merge all of them without making a language that's
> > suboptimal at most of those tasks - probably, one that's woeful at all
> > of them. I mention SQL because, even if you were to
Programming is neither an art nor a science, but a trade.
It's not an art in the sense of painting, music, dance, poetry, etc.,
because the objective isn't to make a beautiful something, but to give
instructions to a machine to accomplish some useful task.
It's not a science in the sense of eithe
breezypythongui is an open source toolkit that enables the Python
programmer to learn realistic GUI programming quickly and easily. For
free source code, demo programs, and a tutorial, visit
http://home.wlu.edu/~lambertk/breezypythongui/index.html. Brought to
you by Ken Lambert, the author of Fun
On Mar 30, 8:33 am, alex23 wrote:
> On Mar 29, 10:41 pm, Mik wrote:
>
> > What a nice way to introduce myself to the group!!! :-)
>
> Hey, don't beat yourself up, you:
>
> - summarised the problem in the subject heading
> - included actual code showing the problem
> - reported back on the prob
On Mar 29, 8:36 pm, Steven D'Aprano wrote:
> The Romans had perfectly functioning concrete without any abstract
> understanding of chemistry.
If I ever stumbled upon a technology that proved how useless abstract
thinking was, do you know what I would call it?
"Concrete."
Damn, those clever Rom
Hi,
I'm able to connect to an Exchange server via SMTP and IMAP from my
iPhone using SSL and without using a VPN. So I would expect to be able
to do the same from my computer using Python.
However, the following hangs and times out on my computer when I'm not
connected to the VPN:
>>> import ima
On Mar 30, 1:20 pm, Chris Angelico wrote:
> > Really? Or could it be that algorithms for natural language
> > processing that don't fail miserably is a very recent development,
> > restricted natural languages more recent still, and pretty much all
> > commonly used programming languages are all
On Mar 30, 4:37 am, Devin Jeanpierre wrote:
> On Thu, Mar 29, 2012 at 3:50 PM, Nathan Rice
>
> wrote:
> > Well, a lisp-like language. I would also argue that if you are using
> > macros to do anything, the thing you are trying to do should classify
> > as "not natural in lisp" :)
>
> You would r
On Mar 31, 1:13 pm, Tim Rowe wrote:
>
> I know 10 languages. But I'm not telling you what base that number is :)
>
Well, that means you know at least two programming languages, which
puts you ahead of a lot of people. :)
Some folks, when confronted with a problem, decide to solve it with
binary
I pine for the fjords.
And it's time to bring "Python-URL!" to a close. "Python-URL!", which
Jean-Claude Wippler and I appear to have launched in 1998, has reached
the end of its utility. We still have many loyal and enthusiastic
readers--one subscription request arrived within the last day, in
I pine for the fjords.
And it's time to bring "Python-URL!" to a close. "Python-URL!", which
Jean-Claude Wippler and I appear to have launched in 1998, has reached
the end of its utility. We still have many loyal and enthusiastic
readers--one subscription request arrived within the last day, in
On Mar 31, 2:02 am, Steve Howell wrote:
> Steven, how do you predict which abstractions are going to be useless?
A useless abstraction is one that does nothing to simplify a problem
*now*:
> being so fixated on over-arching abstract
> concepts that, far from those abstractions making it easier t
On Mar 30, 11:25 pm, Lie Ryan wrote:
> On 03/21/2012 01:44 PM, Steve Howell wrote:
>
> > Also, don't they call those thingies "object" for a reason? ;)
>
> A subject is (almost?) always a noun, and so a subject is also an object.
It's true that words that can act as a subject can also act like
ob
THE QUR'AN AND MODERN SCIENCE
Extracted from the Book
The Bible, The Qur'an and Science
Maurice Bucaille
Nature of Heavenly Bodies
THE SUN AND THE MOON
The Sun is a shine (diya') and the Moon a light (nur). This
translation would appear to be more correct than those
I have a weird quirk with the M2Crypto module and I hope someone would be able
to point me in the right direction. I am working with a colleague to develop
an internal tool to check SSL certificates on a list of IPv4 addresses obtained
via stdin.
We are using M2Crypto to help with validating
On Apr 1, 8:30 pm, alex23 wrote:
> On Mar 31, 2:02 am, Steve Howell wrote:
>
> > Steven, how do you predict which abstractions are going to be useless?
>
> A useless abstraction is one that does nothing to simplify a problem
> *now*:
That's the very definition of short-sighted thinking. If it d
On Mar 31, 3:29 am, Terry Reedy wrote:
> On 3/31/2012 2:22 AM, Yingjie Lan wrote:
>
> > Hi all,
>
> > I'd really like to share this idea of string interpolation for formatting.
> > Let's start with some code:
>
> > >>> name = "Shrek"
> > >>> print( "Hi, $name$!")
> > Hi, Shrek!
> > >>> balls =
Hi All
I'm clearly not understanding the 'can't pickle instancemethod
objects' error; can someone help me to understand, & maybe suggest a
workaround, (apart from the obvious if ... elif...).
I'm running Python 2.6 on an embedded system.
== testpickle.py ==
import pickle
class Test(object):
Hi everyone, I have compiled over 500 Python programs from the Rosetta
Code website in this page:
http://shpaml.webfactional.com/misc/RosettaCoffee/python.htm
For those of you unfamiliar with Rosetta Code, you can read more
here:
http://rosettacode.org/wiki/Rosetta_Code
For the record,
On Wed, Mar 28, 2012 at 2:12 PM, John Ladasky
wrote:
> I'm looking for a Python (2.7) equivalent to the Unix "cp" command.
> Since the equivalents of "rm" and "mkdir" are in the os module, I
> figured I look there. I haven't found anything in the documentation.
> I am also looking through the Pyt
Bump(?)
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, 28 Mar 2012 13:12:30 -0700, John Ladasky wrote:
> I'm looking for a Python (2.7) equivalent to the Unix "cp" command.
> Since the equivalents of "rm" and "mkdir" are in the os module, I
> figured I look there. I haven't found anything in the documentation.
> I am also looking through the
On 01/-10/-28163 01:59 PM, Yingjie Lan wrote:
Because of the d"..." format, it won't
affect old ways of doing things one bit.
Allowing dynamic string wouldn't hurt
a bit to anything that is already there.
Why don't you just write a function that does it? I think someone
already suggested this.
larry.mart...@gmail.com wrote:
> I have the following use case:
>
> I have a set of data that is contains 3 fields, K1, K2 and a
> timestamp. There are duplicates in the data set, and they all have to
> processed.
>
> Then I have another set of data with 4 fields: K3, K4, K5, and a
> timestamp.
On Wednesday, March 28, 2012 2:51:37 AM UTC+2, goldtech wrote:
> Hi,
>
> I have a WinXP PC running an SSH server and I have a Linux PC with an
> SSH client and logged into the XP seemingly OK. It's all on my
> personal LAN, the connection seems OK.
>
> I have a py file on the XP that I run via S
ccc31807 writes:
> Programming is neither an art nor a science, but a trade.
>
> It's not an art in the sense of painting, music, dance, poetry, etc.,
> because the objective isn't to make a beautiful something, but to give
> instructions to a machine to accomplish some useful task.
>
> It's not
On Mar 30, 3:37 pm, Nathan Rice
wrote:
> We live in a world where the tools that are used are based on
> tradition (read that as backwards compatibility if it makes you feel
> better) and as a mechanism for deriving personal identity. The world
> is backwards and retarded in many, many ways, this
On Mar 31, 6:30 am, Neil Cerutti wrote:
> See, for example, Inform 7, which translates a subset of English
> into Inform 6 code. I never thought too deeply about why I
> disliked it, assuming it was because I already knew Inform 6.
I've always respected Inform 7 while being also unwilling to use
On Apr 2, 2:11 pm, Yingjie Lan wrote:
> Almost as terse, but not as readable, especially...
Hi Yingjie,
Just in case you are not a native speaker of English, 'terse' is a
mildly pejorative word, ie it is not 'good'. You probably want to use
something like 'concise', or just plain 'short.'
As fo
On 02/04/2012 12:23, Steven D'Aprano wrote:
On Mon, 02 Apr 2012 03:16:26 -0700, Paul Rubin wrote:
Robert Kern writes:
I also don't see these on GMane. It's possible that they are getting
caught in one of GMane's several levels of spam filtering.
I'm seeing some weird issues where google gro
We have a scripting engine interface in our application. This works
fine for loading/calling VBscript and Javascript scripting engines,
but PythonScript fails. Specifically, it fails at :
m_pAxsScript->AddNamedItem("application", SCRIPTITEM_NAMEDITEM)
where m_pAxsScript is the IActiveScript int
On Sunday, April 1, 2012 1:54:14 AM UTC-4, Tim Roberts wrote:
> John Nagle wrote:
>
> >On 3/30/2012 2:32 PM, Irmen de Jong wrote:
> >> Try Oursql instead http://packages.python.org/oursql/
> >> "oursql is a new set of MySQL bindings for python 2.4+, including python
> >> 3.x"
> >
> >Not eve
On Mar 31, 11:38 am, Cameron Laird wrote:
> I pine for the fjords.
>
> And it's time to bring "Python-URL!" to a close. "Python-URL!", which
> Jean-Claude Wippler and I appear to have launched in 1998, has reached
> the end of its utility. We still have many loyal and enthusiastic
> readers--one
On Tue, Apr 3, 2012 at 4:56 AM, Steven D'Aprano
wrote:
> On Tue, 03 Apr 2012 00:58:38 +1000, Chris Angelico wrote:
>
>> I can't find a way to use an argument more than once,
>> without switching to "dictionary mode" and using keys for everything.
>
> Ack.
>
> In this case, you can use format:
>
>>
Pickle cannot pickle a reference to an instance method. So the
problem is that self.myDict has values which are references to
instance methods.
Without questioning what this is trying to do or why (I assume it's a
proof of concept), here is a way to make it picklable:
http://pastebin.com/1zqE52mD
1 - 100 of 128 matches
Mail list logo