On Aug 13, 1:22 am, Nobody wrote:
> On Sat, 13 Aug 2011 00:59:42 -0400, Julio Cesar Rodriguez Cruz wrote:
>
> > Hi all,
> > If I open an .exe file in any text editor I get lot of odd chars,
> > what I want is to know how to output those chars if I have the hexadecimal
> > code. I found out how to
On Sat, 13 Aug 2011 00:59:42 -0400, Julio Cesar Rodriguez Cruz wrote:
> Hi all,
> If I open an .exe file in any text editor I get lot of odd chars,
> what I want is to know how to output those chars if I have the hexadecimal
> code. I found out how to do the reverse process with the quopri module,
On Fri, 12 Aug 2011 22:49:32 -0400, Kevin Walzer wrote:
> I'm developing a Tkinter app for a Windows customer, and the app bundles
> several command-line tools (ported from Unix). I call out to these
> console tools from the Tkinter app via os.system(). However, in the
> frozen version of my ap
Hi all,
If I open an .exe file in any text editor I get lot of odd chars,
what I want is to know how to output those chars if I have the hexadecimal
code. I found out how to do the reverse process with the quopri module,
i.e.:
>>> import quopri
>>> quopri.encodestring('ñè')
'=F1=E8=18'
>>> quopri
On 8/2/2011 7:19 AM, Neal Becker wrote:
I thought this was an interesting article
http://www.pipeline.com/~hbaker1/Use1Var.html
Single-use was something of a dead end in programming.
Single assignment, where you can only set a variable when you create
it, is more useful. Single assignm
I'm developing a Tkinter app for a Windows customer, and the app bundles
several command-line tools (ported from Unix). I call out to these
console tools from the Tkinter app via os.system(). However, in the
frozen version of my app, when I call out to these tools, I get multiple
console window
On 2011-08-13, Ben Finney wrote:
> Seebs writes:
>> What's being pushed into the stream to indicate that the first outdent
>> is two outdents and the second is one?
> See http://docs.python.org/reference/lexical_analysis.html> for a
> comprehensive discussion of the lexing done on Python source.
Chris Angelico wrote:
But both of these violate XKCD 859.
For the benefit of all those who just went off to read
that strip, here's something to help you unwind:
)
There, you can relax now.
--
Greg
--
http://mail.python.org/mailman/listinfo/python-list
Ben Finney writes:
> What is the process if the OP, or someone to whom the OP delegates
> authority, wants to [contribute their work to the Python
> documentation]?
The answer is partly at http://docs.python.org/documenting/>:
If you’re interested in contributing to Python’s documentation [
Seebs writes:
> What's being pushed into the stream to indicate that the first outdent
> is two outdents and the second is one?
See http://docs.python.org/reference/lexical_analysis.html> for a
comprehensive discussion of the lexing done on Python source.
To examine the resulting code objects,
On 2011-08-13, Terry Reedy wrote:
> I have been indenting code neatly for at least 32 years whenever the
> language I used allowed it. Just over 14 years ago, when Python was an
> obscure little known or used languge, I adopted it *because* it dropped
> all the redundant bracket noise and looke
Terry Reedy writes:
> >> aspineux wrote:
> >>> Hi I have written a tutorial about how to generate and send emails
> >>> with python.
> Have you considered contributing a HOW-TO?
I think Terry is referring to http://docs.python.org/howto/>.
I agree that this should be submitted to that collecti
On 2011-08-12, Steven D'Aprano wrote:
> Seebs wrote:
>> You know, that's why the outdents-without-symbols bug me; I have a
>> thing with a colon on it introducing something, and then there's nothing
>> ending it.
> But there is something ending it: a change in indentation level.
Hmm.
Okay, here
On 8/12/2011 2:17 PM, aspineux wrote:
On Aug 12, 3:38 pm, Steven D'Aprano wrote:
aspineux wrote:
Hi I have written a tutorial about how to generate and send emails
with python.
[...]
Thank you, that is an extremely detailed tutorial.
Thanks, It was my intention
Have you considered cont
On 8/12/2011 6:14 PM, Seebs wrote:
I am responding to your whole line of posts.
I have been indenting code neatly for at least 32 years whenever the
language I used allowed it. Just over 14 years ago, when Python was an
obscure little known or used languge, I adopted it *because* it dropped
a
On 08/12/2011 05:50 PM, Chris Angelico wrote:
You can write Perl code in the shape of a camel. Can you do that in Python?
Okay. Open challenge to anyone. Write a Python script that outputs
"Just another Python hacker" or some such message, and is shaped in
some way appropriately. And no fair doi
Chris Angelico writes:
> On Fri, Aug 12, 2011 at 11:39 PM, Steven D'Aprano
> wrote:
> > ask most writers or artists and they would say *of course*
> > whitespace matters.
>
> You can write Perl code in the shape of a camel. Can you do that in
> Python?
I'm glad to be using a language where that
On Fri, Aug 12, 2011 at 11:53 PM, Jack Hatterly
wrote:
> cookie['lastvisit']['path'] = '/cgi-bin/'
>
Yep, that's looking a lot more useful!
Glad it's working.
ChrisA
--
http://mail.python.org/mailman/listinfo/python-list
Chris, I finally got a script that works. Thanks for trying!
Jack
#!/usr/bin/env python
import string
import os
import datetime, Cookie, random
import time
# The returned cookie is available in the os.environ dictionary
cookie_string = os.environ.get('HTTP_COOKIE')
if not cookie_string:
ourT
On Fri, Aug 12, 2011 at 11:39 PM, Steven D'Aprano
wrote:
> ask most writers or artists and they would say *of course*
> whitespace matters.
You can write Perl code in the shape of a camel. Can you do that in Python?
Okay. Open challenge to anyone. Write a Python script that outputs
"Just another
Seebs wrote:
> You know, that's why the outdents-without-symbols bug me; I have a
> thing with a colon on it introducing something, and then there's nothing
> ending it.
But there is something ending it: a change in indentation level.
Python's parser explicitly pushes INDENT and OUTDENT tokens i
Seebs writes:
> I sometimes enjoy trying to extract information from people like that,
> but I will respect the preferences of the actually-helpful people and
> drop that line of inquiry. :)
Much appreciated, thank you :-)
--
\ “It is well to remember that the entire universe, with o
I think the best thing to do would be to look at the raw headers. If
you can't do that in your framework, then try this: set the cookie,
shut down your server, fire up a debugging HTTP server on the same
port, and then refresh the page. If your browser is sending the
cookie, you'll see it in the HT
On 2011-08-12, Steven D'Aprano wrote:
> Please don't feed the troll. Responding to Rick's standard obnoxious posts
> is like wrestling with a pig -- you get tired and filthy, you never
> accomplish anything useful, and after a while, you realise that the pig is
> enjoying it. Save yourself a lot o
Seebs writes:
> On 2011-08-12, rantingrick wrote:
> > What is with you guys and this need to have your hand held to read
> > code.
>
> Good question! Great to see that the helpful and welcoming community
> is living up to its reputation.
Please be aware that the particular person to whom you'r
Check varargs (as another poster mentioned), and consider doing your unit
tests in Jython. Some shops that don't want Python for production code are
fine with Python for unit tests.
However, if the reason for preferring java is type checking, you could
perhaps get somewhere by suggesting pylint.
Seebs wrote:
> On 2011-08-12, rantingrick wrote:
>> What is with you guys and this need to have your hand held to read
>> code.
>
> Good question! Great to see that the helpful and welcoming community
> is living up to its reputation.
Please don't feed the troll. Responding to Rick's standard
This is the sort of thing I wrote bufsock for. Don't let the name fool you
- although I originally wrote it for sockets, it's since been extended to
work with files and file handles.
http://stromberg.dnsalias.org/~dstromberg/bufsock.html
It was recently modified to work on 2.x and 3.x.
On Thu,
> Date: Fri, 12 Aug 2011 21:29:25 +0100
> Subject: Re: Problem reading HTTP_COOKIE
> From: ros...@gmail.com
> To: python-list@python.org
>
> I assume that what you mean is that it prints "None" even after you
> hit F5 to reload the page, as the first run of the script will never
> have a cookie.
It's the builtin "set", see
http://docs.python.org/library/stdtypes.html#set-types-set-frozenset
--
http://mail.python.org/mailman/listinfo/python-list
On 2011-08-12, Chris Angelico wrote:
> On Fri, Aug 12, 2011 at 5:33 PM, Seebs wrote:
>> I've seen people in C do stuff like:
>> ? ? ? ?for (i = 0; i < N; ++i);
>> ? ? ? ? ? ? ? ?a[i] = 0;
>> This is clearly a case where indentation matches intent, but doesn't match
>> functionality, because C a
On 2011-08-12, rantingrick wrote:
> On Aug 12, 11:33?am, Seebs wrote:
>> My brain has quirks. ?Some people call them defects, some don't, but it
>> really doesn't matter; there are things about which my brain is just plain
>> unreliable and I rely moderately heavily on extra visual cues to reduce
On 2011-08-12, Chris Angelico wrote:
> Why is left-to-right inherently more logical than
> multiplication-before-addition?
I'd say it's certainly "more Pythonic in a vacuum".
Multiplication-before-addition, and all the related rules, require
you to know a lot of special rules which are not visibl
On Fri, Aug 12, 2011 at 1:47 PM, MrPink wrote:
> Boy, that was a lot more elegant that I would have thought.
> Though hard for a greenhorn like me to really understand how the
> assignment are working, etc.
>
> Anyway, what are these kind of statement call so that I can read up
> more on this?
>
Boy, that was a lot more elegant that I would have thought.
Though hard for a greenhorn like me to really understand how the
assignment are working, etc.
Anyway, what are these kind of statement call so that I can read up
more on this?
What Python feature are you using?
num_whites = ticket_whit
On Fri, Aug 12, 2011 at 6:02 PM, kj wrote:
> I ask myself, how does the journeyman Python programmer cope with
> such nonsense?
>
Firstly, figure out how many combinations of optional arguments
actually make sense. Any that don't, don't support. That may well cut
it down significantly. And then,
On Fri, Aug 12, 2011 at 4:55 PM, Jack Hatterly wrote:
> It prints "None". However, when I look in my browser's cookie jar, there is
> a cookie "www.my_site.com" where my_site is the site from which I am surfing
> the above script. What gives?
>
I assume that what you mean is that it prints "None"
On Fri, Aug 12, 2011 at 1:09 PM, Chris Angelico wrote:
> On Fri, Aug 12, 2011 at 6:57 PM, rantingrick
> wrote:
> > I'm glad you brought this up! How about this instead:
> >
> >a = x + y * z
> >
> > ...where the calculation is NOT subject to operator precedence? I
> > always hated using paren
Chris Angelico wrote:
Incidentally, in the original expression, it would be slightly more
sane to write it as:
a = x + y) * z
borrowing from the musical concept that a repeat sign with no
corresponding begin-repeat means to repeat from the beginning. But
both of these violate XKCD 859.
Argh!
On Fri, Aug 12, 2011 at 6:57 PM, rantingrick wrote:
> I'm glad you brought this up! How about this instead:
>
> a = x + y * z
>
> ...where the calculation is NOT subject to operator precedence? I
> always hated using parenthesis in mathematical calculations. All math
> should resolve in a linea
On Fri, Aug 12, 2011 at 5:33 PM, Seebs wrote:
> I've seen people in C do stuff like:
>
> for (i = 0; i < N; ++i);
> a[i] = 0;
>
> This is clearly a case where indentation matches intent, but doesn't match
> functionality, because C allows indentation to not-match functionalit
Paul Woolcock wrote:
The gurus will have to correct me if this is not an accepted practice,
but I know some projects (Fabric is the one that comes to mind) will
define a submodule specifically for the 'from blah import *' situation.
The submodule would be called "api", or something like that, s
On Fri, Aug 12, 2011 at 4:33 PM, rantingrick wrote:
> On Aug 12, 2:20 am, Chris Angelico wrote:
>
>> Pike is very [snip]
>> Pike's purpose is [snip]
>> you go to Pike[snip]
>>
>> I hope I make myself clear, Josephine?
>
> The only thing that is clear to me is that you have a hidden agenda to
> in
On 2011-08-12, Chris Rebert wrote:
> One argument I've heard from braces fans is that sometimes they want
> their own structure, which does not match the actual block structure.
EWW!
> Example:
>
> FILE* f = fopen(...);
> // do stuff with f
> // at this indent level
> fclose(f);
> // bac
On Aug 12, 3:38 pm, Steven D'Aprano wrote:
> aspineux wrote:
> > Hi I have written a tutorial about how to generate and send emails
> > with python.
>
> [...]
>
> Thank you, that is an extremely detailed tutorial.
Thanks, It was my intention
Alain
>
> --
> Steven
--
http://mail.python.org/ma
You can probably do that with varargs.
--
http://mail.python.org/mailman/listinfo/python-list
One Java-eque solution is to pass in an object that has the arguments and
build the validity logic into that object.
So you have
public class LimitsAndLevels{
float[] whatever = null;
float anotherOne = 0.0; // or maybe some other overloaded value
public float[] getWhatever(){
isValid
On Aug 12, 11:33 am, Seebs wrote:
>
> My brain has quirks. Some people call them defects, some don't, but it
> really doesn't matter; there are things about which my brain is just plain
> unreliable and I rely moderately heavily on extra visual cues to reduce
> the frequency with which I get thin
kj writes:
[...]
>def quant(xs, nlevels=MAXN, xlim=MAXX):
[...]
> My Java implementation of it already requires at least 8 method
> definitions, with signatures:
(BTW, your approach won't work if several optionals have the same type.)
[...]
- use Integer, Float, etc. everywhere. The compile
Look into jython. You might be able to run your python code, directly in
java. :)
http://www.jython.org/
On Fri, Aug 12, 2011 at 12:02 PM, kj wrote:
>
>
>
> *Please* forgive me for asking a Java question in a Python forum.
> My only excuse for this no-no is that a Python forum is more likely
On 12/08/2011 18:02, kj wrote:
*Please* forgive me for asking a Java question in a Python forum.
My only excuse for this no-no is that a Python forum is more likely
than a Java one to have among its readers those who have had to
deal with the same problems I'm wrestling with.
Due to my job, I
public FooClass(String requiredArgument1, Long requiredArgument2, map
yourOptionalArgumentMap) {
...
}
--
http://mail.python.org/mailman/listinfo/python-list
On 2011-08-12, rantingrick wrote:
> What is with you guys and this need to have your hand held to read
> code.
Good question! Great to see that the helpful and welcoming community
is living up to its reputation.
My brain has quirks. Some people call them defects, some don't, but it
really does
On 2011-08-12, Chris Angelico wrote:
> On Fri, Aug 12, 2011 at 7:34 AM, Seebs wrote:
>> If Python with braces wouldn't be Python at all, why on earth does the
>> language even exist?
> Every language has its philosophy.
Yes.
> Etcetera. These are the philosophical decisions made by GvR and the
On 2011-08-12, Ben Finney wrote:
> Seebs writes:
>> Question for y'all:
>>
>> Has anyone here ever ACTUALLY encountered a case where braces -- not
>> indentation -- did not match intent in a C-like language? I'm talking
>> only about cases where braces are *actually present*.
> What a strange l
On 2011-08-12, Ben Finney wrote:
> Seebs writes:
>> I am pretty sure Python is a pretty nice language. However, the
>> indentation thing has screwed me a few times. Furthermore, I know
>> people who like Python a great deal and acknowledge, without much
>> difficulty, that the indentation thing h
*Please* forgive me for asking a Java question in a Python forum.
My only excuse for this no-no is that a Python forum is more likely
than a Java one to have among its readers those who have had to
deal with the same problems I'm wrestling with.
Due to my job, I have to port some Python code to
On Fri, Aug 12, 2011 at 3:39 AM, Ben Finney wrote:
> Seebs writes:
>
>> Question for y'all:
>>
>> Has anyone here ever ACTUALLY encountered a case where braces -- not
>> indentation -- did not match intent in a C-like language? I'm talking
>> only about cases where braces are *actually present*.
C++ (Wt xor CppCMS)
WOOT!
On Sat, Aug 13, 2011 at 1:58 AM, Tim Bradshaw wrote:
> On 2011-08-02 15:41:06 +0100, ccc31807 said:
>
>>
>> Most of these are tech companies. Tech companies are very important,
>> but so are other kinds of companies. What do manufacturing companies
>> use, like Ford and
On Aug 12, 8:10 am, przemol...@poczta.fm wrote:
> Good question but I try to explain what motivates me to do it.
> First reason (I think the most important :-) ) is that I want to learn
> something new - I am new to python (I am unix/storage sysadmin but with
> programming
> background so python w
On 2011-08-02 15:41:06 +0100, ccc31807 said:
Most of these are tech companies. Tech companies are very important,
but so are other kinds of companies. What do manufacturing companies
use, like Ford and Toyota, energy companies like BP and Exxon,
pharmaceutical companies, consumer product compan
Hi;
I'm trying to get cookies to work and I've traced my problem down to this
reduced script:
#! /usr/bin/python
import string
import os
import datetime, Cookie, random
import time
import os
def parse_cookie():
print 'Content-Type: text/html\n'
print os.environ.get('HTTP_COO
Hi all,
I am have a function which executes a command in the shell. The stdout
and stderr of the command should be multipled to two strings for stdout
and stderr respectively and stdout and stderr of the current process
respectively.
I have done like this:
from subprocess import Popen, PIPE,
On Aug 12, 2:20 am, Chris Angelico wrote:
> Pike is very [snip]
> Pike's purpose is [snip]
> you go to Pike[snip]
>
> I hope I make myself clear, Josephine?
The only thing that is clear to me is that you have a hidden agenda to
incorporate pike's functionality into Python -- and this is not the
On Aug 12, 1:34 am, Seebs wrote:
>
> And part of this really is personal taste. I *LIKE* having a matching outdent
> for everything. I like to look at code and see
> blah
> blah
> blah
> blah
> blah
>
> because then I know i
Peter Otten wrote:
> goldtech wrote:
>> Say I have a very big string with a pattern like:
>>
>> akakksssk3dhdhdhdbddb3dkdkdkddk3dmdmdmd3dkdkdkdk3asnsn.
>>
>> I want to split the sting into separate parts on the "3" and process
>> each part separately. I might run into memory limitations if
On Aug 12, 4:18 pm, "守株待兔" <1248283...@qq.com> wrote:
> in the book ,A call to wait() suspends execution (i.e., waits) until a child
> process (any child process) has completed, terminating either normally or via
> a signal. wait() will then reap the child, releasing any resources. If the
> chil
in the book ,A call to wait() suspends execution (i.e., waits) until a child
process (any child process) has completed, terminating either normally or via a
signal. wait() will then reap the child, releasing any resources. If the child
has already completed, then wait() just performs the reaping
aspineux wrote:
> Hi I have written a tutorial about how to generate and send emails
> with python.
[...]
Thank you, that is an extremely detailed tutorial.
--
Steven
--
http://mail.python.org/mailman/listinfo/python-list
On Aug 12, 8:51 am, Dennis Lee Bieber wrote:
> On Thu, 11 Aug 2011 08:07:09 -0700 (PDT), aspineux
> declaimed the following in gmane.comp.python.general:
>
> > Hi I have written a tutorial about how to generate and send emails
> > with python.
>
> Is that really such a difficult task?
Ye
Am 12.08.2011 03:40 schrieb Steven D'Aprano:
The only exception I can think of is *very* early Fortran, and that rightly
is considered a mistake.
ATARI 800XL. Built-in BASIC, acknowledging every command with "READY".
Going over it with the cursor results in "ERROR- 6", meaning "no READ
witho
On 2011-08-12, Steven D'Aprano
wrote:
> Chris Angelico wrote:
>
>> Incidentally, I will happily argue the
>> benefits of Python's significant whitespace, even though I disagree
>> with it; there are quite a few.
>
> Please be careful about conflating significant indentation with significant
> whi
Steven D'Aprano writes:
> Ben Finney wrote:
>
> > Likewise, “end of line as end of statement” has caused me and many
> > others problems.
>
> I don't understand this. Can you give an example?
Many times I have split a line expecting that some bracketing syntax
will cause the statement to continu
On 2011-08-10 16:22, Peter Irbizon wrote:
Hello,
I have strange problem with gtk language in pygtk. When I run .py file
it shows all gtk labels in my default windows language (slovak). But
when I compile it with py2exe and run exe file all labels are in
english. Why this happens? How can I def
For the first time in my 7 years of using Gmail, I accidentally
deleted my original post and it's one reply by casevh. I found both in
the list archive, and with this post both quote casevh's reply and
answer it. Sorry about my screw up.
On Aug 10, 4:57 pm, "Richard D. Moores" wrote:
> I saw an i
On 12/08/2011 11:41, Ayaskanta Swain wrote:
Hi,
I have a requirement where I need to check the write permissions on a
directory on Windows platform. I don’t want to use the python function
os.access( ), since it does not work correctly on Windows. It is giving
incorrect results to me.
Another o
Ben Finney wrote:
> Likewise, “end of line as end of statement” has caused me and many
> others problems.
I don't understand this. Can you give an example?
Do you mean, "Sometimes I want more code in a single statement than will
comfortably fit in a single line"?
--
Steven
--
http://mail.p
Some additional information - I am using python 2.5.1 version & it
cannot be upgraded now to a higher version.
Thanks
Ayaskant-
From: Ayaskanta Swain
Sent: Friday, August 12, 2011 4:11 PM
To: 'python-list@python.org'
Subject: How to Check Write Access of a F
Hi,
I have a requirement where I need to check the write permissions on a
directory on Windows platform. I don't want to use the python function
os.access( ), since it does not work correctly on Windows. It is giving
incorrect results to me.
Another option of actually creating a temporary f
Seebs writes:
> Question for y'all:
>
> Has anyone here ever ACTUALLY encountered a case where braces -- not
> indentation -- did not match intent in a C-like language? I'm talking
> only about cases where braces are *actually present*.
What a strange limitation. Why are you not comparing apple
przemol...@poczta.fm, 11.08.2011 16:39:
On Thu, Aug 11, 2011 at 02:48:43PM +0100, Chris Angelico wrote:
On Thu, Aug 11, 2011 at 2:46 PM, wrote:
This is the way I am going to use.
But what is the best data type to hold so many rows and then operate on them ?
List of strings. Take it straight
On Thu, Aug 11, 2011 at 3:39 PM, wrote:
> On Thu, Aug 11, 2011 at 02:48:43PM +0100, Chris Angelico wrote:
>> List of strings. Take it straight from your Oracle interface and work
>> with it directly.
>
> Can I use this list in the following way ?
> subprocess_1 - run on list between 1 and 1
>
On Thu, Aug 11, 2011 at 02:48:43PM +0100, Chris Angelico wrote:
> On Thu, Aug 11, 2011 at 2:46 PM, wrote:
> > This is the way I am going to use.
> > But what is the best data type to hold so many rows and then operate on
> > them ?
> >
>
> List of strings. [...]
Let's assume I have the whole l
On Thu, Aug 11, 2011 at 02:48:43PM +0100, Chris Angelico wrote:
> On Thu, Aug 11, 2011 at 2:46 PM, wrote:
> > This is the way I am going to use.
> > But what is the best data type to hold so many rows and then operate on
> > them ?
> >
>
> List of strings. Take it straight from your Oracle inte
From: Vito 'ZeD' De Tullio
:umm... besides "notepad" pretty much any other serious "programmer editor"
:program try to do its best to deal with line wrap: the minimal I found is
:the wrapped line is "indented" at the same level of the flow, but I found
:edi
> :The trouble of dealing with long lines can be avoided by a smart
> :editor. It's called line wrap.
>
> Yeah, usually they just wrap it pretty arbitrarily,
> and you don't have any control, isn't it?
:umm... besides "notepad" pretty much any other serious "programmer editor"
:program try to d
Seebs writes:
> On 2011-08-11, Ben Finney wrote:
> > You're welcome to attempt to demonstrate the superiority of some
> > other Python-with-braces, but it will (a) be un-Pythonic, and (b) be
> > unlikely to gain the efforts of people who don't think what you're
> > addressing is a problem.
>
> I
goldtech wrote:
> Hi,
>
> Say I have a very big string with a pattern like:
>
> akakksssk3dhdhdhdbddb3dkdkdkddk3dmdmdmd3dkdkdkdk3asnsn.
>
> I want to split the sting into separate parts on the "3" and process
> each part separately. I might run into memory limitations if I use
> "split" and
On Friday, August 12, 2011 8:51:33 AM UTC+2, Dennis Lee Bieber wrote:
> On Thu, 11 Aug 2011 08:07:09 -0700 (PDT), aspineux
> declaimed the following in gmane.comp.python.general:
>
> > Hi I have written a tutorial about how to generate and send emails
> > with python.
>
> Is that really su
On Fri, Aug 12, 2011 at 7:34 AM, Seebs wrote:
> If Python with braces wouldn't be Python at all, why on earth does the
> language even exist?
Every language has its philosophy. Python, as conceived by Guido van
Rossum, is a language which (guys, correct me where I'm wrong
please!):
* Eschews unn
On Thu, Aug 11, 2011 at 02:38:32PM -0700, SigmundV wrote:
> When I saw the headline I thought "oh no, not string concatenation
> again... we have had scores of these thread before...", but this is a
> rather interesting problem. The OP says he's not a database
> developer, but why is he then fiddl
On Fri, Aug 12, 2011 at 2:40 AM, Steven D'Aprano
wrote:
> Please be careful about conflating significant indentation with significant
> whitespace. Many languages have significant whitespace:
>
> foo bar
>
> is rarely the same thing as
>
> foobar
>
> but is the same as
>
> foo bar
>
> Py
92 matches
Mail list logo