lolz sorry i already change it..just a newbhie, that's why :Dv
From: MRAB
To: [email protected]
Sent: Wednesday, July 18, 2012 10:08 AM
Subject: Re: my email
On 18/07/2012 02:44, Maria Hanna Carmela Dionisio wrote:
> [email protected]
>
> Just
On Fri, Jul 20, 2012 at 5:56 PM, levi nie wrote:
> the meaning of râ...âï¼
It's a raw string.
http://docs.python.org/py3k/tutorial/introduction.html#strings
Chris Angelico
--
http://mail.python.org/mailman/listinfo/python-list
On 21.07.2012 21:08, Lipska the Kat wrote:
Greetings Pythoners
A short while back I posted a message that described a task I had set
myself. I wanted to implement the following bash shell script in Python
Here's the script
sort -nr $1 | head -${2:-10}
this script takes a filename and an optio
On Mon, 23 Jul 2012 17:59:42 +1000, Chris Angelico wrote:
> On Fri, Jul 20, 2012 at 5:56 PM, levi nie wrote:
>> the meaning of râ...âï¼
>
> It's a raw string.
Technically, no, it's a SyntaxError, because the Original Poster has used
some sort of "Smart Quotes" characters rââ inste
Hello again pythoners
I'm trying to understand the python package stuff
I have the following directory
/home/lipska/python/dev/mods
In this directory I have two files, both executable
--
#! /usr/bin/env python3.2
# fibo.py Fibonacci numbers module
def fib(n):# write
On 07/23/2012 06:02 AM, Lipska the Kat wrote:
> Hello again pythoners
>
> I'm trying to understand the python package stuff
>
> I have the following directory
>
> /home/lipska/python/dev/mods
>
> In this directory I have two files, both executable
>
> --
>
> #! /usr/bin/env pyth
On Mon, Jul 23, 2012 at 6:02 AM, Lipska the Kat wrote:
> The PYTHONPATH ev is set to /home/lipska/python/dev/mods:.
> in .bashrc
Did you export it? Show us your .bashrc, or the relevant line in it
exactly. (And make sure that it isn't defined multiple times).
Also adding . to the import search p
On 23/07/12 11:19, Dave Angel wrote:
On 07/23/2012 06:02 AM, Lipska the Kat wrote:
Hello again pythoners
snip
That line isn't the way you showed it in the source. You showed us
source as fibo.fib(1000), and the error message shows it as fib(1000)
So you're either cutting& pasting wrong,
On 23/07/12 11:22, Devin Jeanpierre wrote:
On Mon, Jul 23, 2012 at 6:02 AM, Lipska the Kat wrote:
The PYTHONPATH ev is set to /home/lipska/python/dev/mods:.
in .bashrc
Did you export it? Show us your .bashrc, or the relevant line in it
exactly. (And make sure that it isn't defined multiple ti
On 23/07/2012, Lipska the Kat wrote:
> Hello again pythoners
[snip]
> Any help much appreciated.
Hi Lipska
Glad you got it sorted.
In case you are not aware of this:
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor
The tutor list caters specifically for
Hi group,
I have a question of which I'm unsure if the specification guarantees
it. With an arbitrary dictionaty d, are d.keys() and d.values()
guaraneed to be in the same order? I.e. what I mean is:
# For all dictionaries d:
assert({ list(d.keys())[i]: list(d.values())[i] for i in range(len(d))
On 07/23/2012 01:23 PM, Henrik Faber wrote:
> With an arbitrary dictionaty d, are d.keys() and d.values()
> guaraneed to be in the same order?
Yes. From the documentation[1]:
If items(), keys(), values(), iteritems(), iterkeys(), and itervalues()
are called with no intervening modifications to th
On 23/07/12 12:16, David wrote:
On 23/07/2012, Lipska the Kat wrote:
Hello again pythoners
[snip]
> Any help much appreciated.
Hi Lipska
Glad you got it sorted.
In case you are not aware of this:
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor
Henrik Faber, 23.07.2012 13:23:
> I have a question of which I'm unsure if the specification guarantees
> it. With an arbitrary dictionaty d, are d.keys() and d.values()
> guaraneed to be in the same order? I.e. what I mean is:
>
> # For all dictionaries d:
> assert({ list(d.keys())[i]: list(d.val
Philipp Hagemeister, 23.07.2012 13:40:
> On 07/23/2012 01:23 PM, Henrik Faber wrote:
>> With an arbitrary dictionaty d, are d.keys() and d.values()
>> guaraneed to be in the same order?
>
> Yes. From the documentation[1]:
>
> If items(), keys(), values(), iteritems(), iterkeys(), and itervalues()
On 23.07.2012 13:40, Philipp Hagemeister wrote:
> On 07/23/2012 01:23 PM, Henrik Faber wrote:
>> With an arbitrary dictionaty d, are d.keys() and d.values()
>> guaraneed to be in the same order?
>
> Yes. From the documentation[1]:
>
> If items(), keys(), values(), iteritems(), iterkeys(), and ite
Do you participate in StackOverflow discussions?
As a part of a joint on-going research effort of the Brunel University (UK) and
Eindhoven University of Technology (The Netherlands) on the impact of
collaboration sites on the developers community, we would like to understand
the demographics
In article <[email protected]>,
Steven D'Aprano wrote:
> Technically, no, it's a SyntaxError, because the Original Poster has used
> some sort of "Smart Quotes" characters râÂÂâ instead of good old fashioned
> typewriter-style quotes r'' or r"".
>
> If
I am writing a script in which in the external system command may sometimes
require user input. I am not able to handle that properly. I have tried using
os.popen4 and subprocess module but could not achieve the desired behavior.
Below mentioned example would show this problem using "cp" command
On Mon, Jul 23, 2012 at 10:55 PM, Roy Smith wrote:
> Some day, we're going to have programming languages that take advantage
> of the full unicode character set. Right now, we're working in ASCII
> and creating silly digrams/trigrams like r'' for raw strings (and
> triple-quotes for multi-line
>
On 23 July 2012 01:24, Steven D'Aprano wrote:
> On Mon, 23 Jul 2012 08:54:00 +1000, Chris Angelico wrote:
>
> > On Mon, Jul 23, 2012 at 8:48 AM, Dan Stromberg
> > wrote:
> >> If a class has defined its own __repr__ method, is there a way of
> >> getting the default repr output for that class any
On 2012/07/23 02:55 PM, Roy Smith wrote:
Some day, we're going to have programming languages that take advantage
of the full unicode character set. Right now, we're working in ASCII
and creating silly digrams/trigrams like r'' for raw strings (and triple-quotes
for multi-line
strings). Not to
On 07/23/2012 09:06 AM, Chris Angelico wrote:
> On Mon, Jul 23, 2012 at 10:55 PM, Roy Smith wrote:
>> Some day, we're going to have programming languages that take advantage
>> of the full unicode character set. Right now, we're working in ASCII
>> and creating silly digrams/trigrams like r'' for
In article ,
Chris Angelico wrote:
> But personally, I've always used backslash. It's nothing to do with
> ASCII and everything to do with having it on the keyboard. Before you
> get a language that uses full Unicode, you'll need to have fairly
> generally available keyboards that have those key
On 23.07.2012 14:55, Roy Smith wrote:
> In article <[email protected]>,
> Steven D'Aprano wrote:
>
>> Technically, no, it's a SyntaxError, because the Original Poster has used
>> some sort of "Smart Quotes" characters rââ¬â¢Ã¢â¬Ë instead of good old fashion
On 23.07.2012 14:55, Roy Smith wrote:
> Some day, we're going to have programming languages that take advantage
> of the full unicode character set.
Plus, if I may add this: It's *your* newsreader that broke the correctly
declared ISO-8859-7 encoded subject of the OP. What a bitter irony that
de
Sarbjit singh wrote:
> I am writing a script in which in the external system command may
> sometimes require user input. I am not able to handle that properly. I
> have tried using os.popen4 and subprocess module but could not achieve the
> desired behavior.
>
> Below mentioned example would show
On Mon, Jul 23, 2012 at 11:24 PM, Henrik Faber wrote:
> And if I think of PHP's latest fiasco that happened with unicode
> characters, it makes me shudder to think you'd want that stuff in
> Python. If I remember correctly, it was the Turkish locale that they
> stuggled with: Turkey apparently doe
On 2012-07-21, Menghsiu Lee wrote:
> Hi,
> I have tried 1000 times to compile this python file to be an exe file
> by using py2exe and gui2exe But, it does not work out. I am thinking
> if there can be some genius teaching me how to make this happen. The
> link in below is the complete code wi
2012/7/20 Chris Angelico :
> On Thu, Jul 19, 2012 at 8:15 PM, andrea crotti
> wrote:
>> We need to be able to reload code on a live system. This live system
>> has a daemon process always running but it runs many subprocesses with
>> multiprocessing, and the subprocesses might have a short life..
On 23.07.2012 15:35, Chris Angelico wrote:
> That said, though, there's good argument in allowing full Unicode in
> *identifiers*. If I'm allowed to name something "foo", then a German
> should be allowed to name something "foö". And since identifiers are
> case sensitive (at least, they are in a
On 23.07.2012 15:52, Henrik Faber wrote:
> but I would hate for
> Python to include them into identifiers. Then again, I'm pretty sure
> this is not planned anytime soon.
Dear Lord.
Python 3.2 (r32:88445, Dec 8 2011, 15:26:58)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "licens
On 23.07.2012 15:55, Henrik Faber wrote:
> Dear Lord.
>
> Python 3.2 (r32:88445, Dec 8 2011, 15:26:58)
> [GCC 4.5.2] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
fööbär = 3
fööbär
> 3
>
> I didn't know this. How awful.
Apparently, not all c
Thanks much for the useful suggestion, and also thanks for your
sympathy and understanding of my plight!
Bruce Sherwood
On Sun, Jul 22, 2012 at 11:50 PM, Devin Jeanpierre
wrote:
> On Sun, Jul 22, 2012 at 7:14 PM, Bruce Sherwood
> wrote:
>> (2) My hand is forced by Apple no longer supporting Car
On Mon, Jul 23, 2012 at 9:52 AM, Henrik Faber wrote:
> If you allow for UTF-8 identifiers you'll have to be horribly careful
> what to include and what to exclude. Is the non-breaking space a valid
> character for a identifier? Technically it's a different character than
> the normal space, so why
Henrik Faber writes:
> On 23.07.2012 15:55, Henrik Faber wrote:
>
>> Dear Lord.
>>
>> Python 3.2 (r32:88445, Dec 8 2011, 15:26:58)
>> [GCC 4.5.2] on linux2
>> Type "help", "copyright", "credits" or "license" for more information.
> fööbär = 3
> fööbär
>> 3
>>
>> I didn't know thi
On Mon, Jul 23, 2012 at 11:51 PM, andrea crotti
wrote:
> Anyway the only other problem which I found is that if I start the
> subprocesses after many other things are initialised, it might happen
> that the reloading doesn't work correctly, is that right?
>
> Because sys.modules will get inherited
On Mon, Jul 23, 2012 at 11:52 PM, Henrik Faber wrote:
> What about × vs x? Or Ì vs Í vs Î vs Ï vs Ĩ vs Ī vs ī vs Ĭ vs ĭ vs Į vs
> į vs I vs İ? Do you think if you need to maintain such code you'll
> immediately know the difference between the 13 (!) different "I"s I just
> happened to pull out ran
On 2012-07-22, Jan Riechers wrote:
> I am not sure why everyone is using the for-iterator option over a
> "map", but I would do it like that:
>
> MODUS_LIST= map(int, options.modus_list)
>
> "map" works on a list and does commandX (here "int" conversion, use
> "str" for string.. et cetera) on s
On 23/07/2012 14:59, Henrik Faber wrote:
On 23.07.2012 15:55, Henrik Faber wrote:
Dear Lord.
Python 3.2 (r32:88445, Dec 8 2011, 15:26:58)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
fööbär = 3
fööbär
3
I didn't know this. How awful.
On 23.07.2012 16:19, Chris Angelico wrote:
> On Mon, Jul 23, 2012 at 11:52 PM, Henrik Faber wrote:
>> What about × vs x? Or Ì vs Í vs Î vs Ï vs Ĩ vs Ī vs ī vs Ĭ vs ĭ vs Į vs
>> į vs I vs İ? Do you think if you need to maintain such code you'll
>> immediately know the difference between the 13 (!)
On 23.07.2012 16:10, Devin Jeanpierre wrote:
> On Mon, Jul 23, 2012 at 9:52 AM, Henrik Faber wrote:
>> If you allow for UTF-8 identifiers you'll have to be horribly careful
>> what to include and what to exclude. Is the non-breaking space a valid
>> character for a identifier? Technically it's a d
On 23.07.2012 16:43, Mark Lawrence wrote:
>> Apparently, not all characters are fine with Python. Why can I not have
>> domino tiles are identifier characters?
>>
> ð» = 9
>>File "", line 1
>> ð» = 9
>> ^
>> SyntaxError: invalid character in identifier
>>
>> I think there ne
On Tue, Jul 24, 2012 at 12:40 AM, Henrik Faber wrote:
> No, you misunderstood me. I didn't say people are going to write
> gibberish. What I'm saying is that as a foreigner (who doesn't know most
> of these characters), it can be hard to accurately choose which one is
> the correct one. This is es
Bruce Sherwood writes:
> ...
> There's nothing wrong with the current VPython architecture, which
> does use good style, but there are two absolute, conflicting
> requirements that I have to meet.
>
> (1) The simple program API I've shown must be preserved, because there
> exist a large number of
I'm totally confused by this code:
Code:
> a = None
> b = None
> c = None
> d = None
> x = [[a,b],
> [c,d]]
> e,f = x[1]
> print e,f
> c = 1
> d = 2
> print e,f
> e = 1
> f = 2
> print c,d
>
> Output:
None None
> None None
> 1 2
>
I'm expecting the code as:
> None None
> 1 2
> 1 2
>
>
W
On Mon, Jul 23, 2012 at 10:40 AM, Henrik Faber wrote:
> No, you misunderstood me. I didn't say people are going to write
> gibberish. What I'm saying is that as a foreigner (who doesn't know most
> of these characters), it can be hard to accurately choose which one is
> the correct one. This is es
On Tue, Jul 24, 2012 at 12:50 AM, Stone Li wrote:
>
> I'm totally confused by this code:
>
> Code:
Boiling it down to just the bit that matters:
c = None
d = None
x = [c,d]
e,f = x
c = 1
d = 2
print e,f
When you assign "e,f = x", you're taking the iterable x and unpacking
its contents. There's
On Mon, 23 Jul 2012 13:58:37 +0200, Stefan Behnel wrote:
> Philipp Hagemeister, 23.07.2012 13:40:
>> On 07/23/2012 01:23 PM, Henrik Faber wrote:
>>> With an arbitrary dictionaty d, are d.keys() and d.values() guaraneed
>>> to be in the same order?
>>
>> Yes. From the documentation[1]:
>>
>> If i
In article <[email protected]>,
Steven D'Aprano wrote:
Even with a break, why bother continuing through the body of the function
>when you already have the result? When your calculation is done, it's
>done, just return for goodness sake. You wouldn't write a sear
On 23/07/2012 15:43, Henrik Faber wrote:
On 23.07.2012 16:43, Mark Lawrence wrote:
Apparently, not all characters are fine with Python. Why can I not have
domino tiles are identifier characters?
ð» = 9
File "", line 1
ð» = 9
^
SyntaxError: invalid character in identifier
On 7/23/2012 7:50 AM Stone Li said...
I'm totally confused by this code:
Code:
a = None
b = None
c = None
d = None
x = [[a,b],
[c,d]]
e,f = x[1]
print e,f
This prints the first None,None
c = 1
d = 2
print e,f
And nothing has happened to e
On Jul 23, 7:27 pm, Grant Edwards wrote:
> That said, "map" seems to be frowned upon by the Python community for
> reasons I've never really understood,...
Maybe the analogy:
comprehension : map:: relational calculus : relational algebra
In particular map, filter correspond to project and
On 23/07/2012 14:24, Henrik Faber wrote:
[snip]
And if I think of PHP's latest fiasco that happened with unicode
characters, it makes me shudder to think you'd want that stuff in
Python. If I remember correctly, it was the Turkish locale that they
stuggled with: Turkey apparently does not have a
On Mon, 23 Jul 2012 08:55:22 -0400, Roy Smith wrote:
> Some day, we're going to have programming languages that take advantage
> of the full unicode character set.
I don't know about the full Unicode character set, since there are many
more than 1 characters, and few languages require that m
In Mark Lawrence
writes:
> Sorry not with you is there something special about April 1st next year?
In the United States, April 1st (also known as April Fool's Day) is an
occasion for practical jokes, faked 'news' stories, and general silliness.
I don't know if it is observed outside the U.S.
On Mon, 23 Jul 2012 23:06:45 +1000, Chris Angelico wrote:
> On Mon, Jul 23, 2012 at 10:55 PM, Roy Smith wrote:
>> Some day, we're going to have programming languages that take advantage
>> of the full unicode character set. Right now, we're working in ASCII
>> and creating silly digrams/trigrams
On Tue, Jul 24, 2012 at 1:59 AM, Steven D'Aprano
wrote:
>> http://www.rexswain.com/rexx.html#operators
>
> Only one? Pfft.
>
> What's the difference between >> "Strictly greater than" and < "Greater
> than"?
The non-strict forms strip trailing spaces off strings before
comparing. I can't remember
On Tue, Jul 24, 2012 at 2:18 AM, Albert van der Horst
wrote:
> Example from recipee's:
>
> Stirr until the egg white is stiff.
>
> Alternative:
> Stirr egg white for half an hour,
> but if the egg white is stiff keep your spoon still.
>
> (Cooking is not my field of expertise, so the wording may
>
On Tue, Jul 24, 2012 at 1:20 AM, Steven D'Aprano
wrote:
> (Although if you think about the implementation of dicts as hash tables,
> it does seem likely that it is trivial to enforce this -- one would have
> to work *harder* to break that promise than to keep it.)
However, it would be quite reaso
Roy Smith wrote:
>When I first started writing C code, it was on ASR-33s which did not
>support curly baces. We wrote ÃÂ¥( for { and ÃÂ¥) for } (although I think the
>translation was
>handled entirely in the TTY driver and the compiler was never in on the
>joke). 20 or 30 years from now,
In article ,
Erik Max Francis wrote:
>Anything's trivial to "write down." Just say "the number such that ..."
>and you've written it down. Even "numbers" that aren't really numbers,
>such as transfinite cardinals!
Now it isn't trivial to write down.
It has been proven (of course in an anti-in
On Mon, 23 Jul 2012 15:24:21 +0200, Henrik Faber wrote:
> I disagree. Firstly, Python could already support the different types of
> strings even with the ASCII character set. For example, the choice could
> have made to treat the apostophe string 'foo' differently from the
> double quote string "
On Mon, 23 Jul 2012 15:52:32 +0200, Henrik Faber wrote:
> If you allow for UTF-8 identifiers you'll have to be horribly careful
> what to include and what to exclude. Is the non-breaking space a valid
> character for a identifier? Technically it's a different character than
> the normal space, so
On Mon, 23 Jul 2012 16:29:33 +0100, Mark Lawrence wrote:
> On 23/07/2012 15:43, Henrik Faber wrote:
[...]
>> I might wait until April 1st next year with that ;-)
>>
>> Best regards,
>> Henrik
>>
>>
> Sorry not with you is there something special about April 1st next year?
As a Brit (or at least s
Does nose run all of its collected tests in a single process?
I've got a test which monkey-patches an imported module. Will all of the other
tests collected in the same run of nosetests see the patch?
--
http://mail.python.org/mailman/listinfo/python-list
All,
I am trying to figure out how to send a image in the body of a email when
Making a Meeting Request.
Below is my current code.
Thanks,
Bruce
# code below is mainly from
http://harunprasad.blogspot.com/2012/01/python-make-meeting-request-appointment.html
#
On Mon, Jul 23, 2012 at 11:19 AM, wrote:
> All,
>
> I am trying to figure out how to send a image in the body of a email when
> Making a Meeting Request.
You need to use html in the body with an tag that references the
attachment. See:
http://stackoverflow.com/questions/4312687/how-to-embed-
Greetings all,
I would like to leverage the Python packaging tools (e.g. distutils,
setuptools, distribute, et. al.) to maintain (i.e. download, extract,
configure, make, install, package) source distributions other than Python
modules (e.g. zlib, openssl).
Are there any open-source packages/t
On Mon, 23 Jul 2012 06:01:23 -0700, Sarbjit singh wrote:
> proc = subprocess.Popen("cp -i a.txt b.txt", shell=True,
> stdin=subprocess.PIPE, stdout=subprocess.PIPE,
> stderr=subprocess.STDOUT,)
> stdout_val, stderr_val = proc.communicate()
> print stdout_val b.txt?
>
> proc.communicate("y")
>
On 23.07.2012 16:55, Henrik Faber wrote:
On 23.07.2012 15:52, Henrik Faber wrote:
but I would hate for
Python to include them into identifiers. Then again, I'm pretty sure
this is not planned anytime soon.
Dear Lord.
Python 3.2 (r32:88445, Dec 8 2011, 15:26:58)
[GCC 4.5.2] on linux2
Type "h
Ethan Furman wrote:
Alex Strickland wrote:
"Not supported: index files":
I have been using http://sourceforge.net/projects/harbour-project/ for
years where a guy called Przemyslaw Czerpak has written an absolutely
bullet proof implementation of NTX and CDX for DBF. Maybe it will
interest you
Steven D'Aprano wrote:
>Hey, if the Japanese and Chinese can manage it, English speakers can
>surely find a way to enter àor â without a keyboard the size of a
>battleship.
Japanese and Chinese programmers don't use (and don't seem to want to)
use non-ASCII characters outside of strin
hey guys i have a question i have not programmed in python for about 8
years now. i am trying to set up a simple password protected server. i have
tried to research information but am not lucky. can someone point me in the
right direction?
--
http://mail.python.org/mailman/listinfo/python-list
Chris Angelico wrote:
On Sun, Jul 22, 2012 at 4:15 AM, Ethan Furman wrote:
I'll support 3.3+, but not with the same code base: I want to use all the
cool features that 3.3 has! :)
The trouble with double-codebasing is that you have double
maintenance. But sure. So long as your time isn't un
> Problem is, this line is not understood:
>
> mail.BodyFormat = OlBodyFormat.olFormatHTML
Try olBodyFormat (lower case 'o')
Malcolm
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, Jul 23, 2012 at 12:33 PM, wrote:
> I tried something similar to the example at
> http://stackoverflow.com/questions/4312687/how-to-embed-images-in-email .
>
> Problem is, this line is not understood:
>mail.BodyFormat = OlBodyFormat.olFormatHTML
>
> Traceback (most recent call
On 7/23/2012 11:33 AM [email protected] said...
I tried something similar to the example at
http://stackoverflow.com/questions/4312687/how-to-embed-images-in-email .
Problem is, this line is not understood:
mail.BodyFormat = OlBodyFormat.olFormatHTML
If I read the example properl
In article
,
Chris Angelico wrote:
> On Tue, Jul 24, 2012 at 12:50 AM, Stone Li wrote:
> >
> > I'm totally confused by this code:
> >
> > Code:
>
> Boiling it down to just the bit that matters:
>
> c = None
> d = None
> x = [c,d]
> e,f = x
> c = 1
> d = 2
> print e,f
>
> When you assign "e,
On 7/23/2012 3:59 AM, Chris Angelico wrote:
On Fri, Jul 20, 2012 at 5:56 PM, levi nie wrote:
the meaning of râ...âï¼
It's a raw string.
http://docs.python.org/py3k/tutorial/introduction.html#strings
Strictly speaking, it is a raw string literal, which should be parsed as
raw (str
On 7/23/2012 9:32 AM, E. wrote:
On 2012-07-21, Menghsiu Lee wrote:
Hi,
I have tried 1000 times to compile this python file to be an exe file
by using py2exe and gui2exe But, it does not work out.
You should show what happened.
I am thinking
if there can be some genius teaching me how to ma
These do not work:
appt.BodyFormat = olBodyFormat.olFormatHTML
...
appt.BodyFormat = olBodyFormat.olFormatHTML
NameError: name 'olBodyFormat' is not defined
appt.BodyFormat = win32com.client.constants.olFormatHTML
...
appt.BodyFormat = win32com.client.constan
Jan Riechers於 2012年7月21日星期六UTC+8下午3時33分27秒寫道:
> Hello Pythonlist,
>
> I have one very basic question about speed,memory friendly coding, and
> coding style of the following easy "if"-statement in Python 2.7,
> but Im
> sure its also the same in Python 3.x
>
> Block
> #-
On 7/23/2012 8:51 AM, Alexander Serebrenik wrote:
Do you participate in StackOverflow discussions?
As a part of a joint on-going research effort of the Brunel
University (UK) and Eindhoven University of Technology (The
Netherlands) on the impact of collaboration sites on the developers
communit
Chris Angelico於 2012年7月21日星期六UTC+8下午5時04分12秒寫道:
> On Sat, Jul 21, 2012 at 5:33 PM, Jan Riechers
> wrote:
> > Block
> > #--
> > if statemente_true:
> > doSomething()
> > else:
> > doSomethingElseInstead()
> >
> > #--
On Tue, Jul 24, 2012 at 7:07 AM, Terry Reedy wrote:
> On 7/23/2012 3:59 AM, Chris Angelico wrote:
>>
>> On Fri, Jul 20, 2012 at 5:56 PM, levi nie wrote:
>>>
>>> the meaning of râ...âï¼
>>
>>
>> It's a raw string.
>>
>> http://docs.python.org/py3k/tutorial/introduction.html#strings
>
> St
On 01/-10/-28163 01:59 PM, Terry Reedy wrote:
This is a deceptive and time-wasting link
Leaving aside the point that this is not directly related to Python, my
opinion is that if the authors will not make past and future papers
freely available, not even an abstract, they should not ask for
Terry Reedy wrote:
Leaving aside the point that this is not directly related to Python, my
opinion is that if the authors will not make past and future papers
freely available, not even an abstract, they should not ask for valuable
free data from freely donated time.
Thanks, Terry! Save me s
On 7/23/2012 6:01 PM, Evan Driscoll wrote:
Leaving aside questions of relevance to the email list and the quality
of results from a self-selected survey, the PDF is linked directly from
the Google Scholar link in the original post: "[PDF] from tue.nl".
You're right, off to the side where I mis
1) The paper referenced contains 4 pages, so it should be available via
IEEXplore. Moreover, you can find a copy on
http://www.win.tue.nl/~aserebre/MSR2012.pdf
2) Since the survey is only one of the techniques we intend to use, and it will
be augmented by analysing the data publicly available i
On Monday 23 July 2012 19:42:29 Alexander Serebrenik did opine:
> 1) The paper referenced contains 4 pages, so it should be available via
> IEEXplore. Moreover, you can find a copy on
> http://www.win.tue.nl/~aserebre/MSR2012.pdf
>
> 2) Since the survey is only one of the techniques we intend to
This assignment works:
import win32com.client
oOutlook = win32com.client.Dispatch("Outlook.Application")
appt = oOutlook.CreateItem(0)
appt.BodyFormat = win32com.client.constants.olFormatHTML
But this assignment does not work:
import win32com.client
oOutlook = win32com.client.Dispatc
On Monday, July 23, 2012 1:59:42 AM UTC-6, Chris Angelico wrote:
> On Fri, Jul 20, 2012 at 5:56 PM, levi nie wrote:
> > the meaning of râ...âï¼
>
> It's a raw string.
>
> http://docs.python.org/py3k/tutorial/introduction.html#strings
>
> Chris Angelico
Since this
On 23/07/2012 15:50, Stone Li wrote:
> I'm totally confused by this code:
>
> Code:
>
> a = None
> b = None
> c = None
> d = None
> x = [[a,b],
> [c,d]]
> e,f = x[1]
> print e,f
> c = 1
> d = 2
> print e,f
> e = 1
> f = 2
> print c,d
>
On Mon, 23 Jul 2012 17:44:27 -0400, Terry Reedy wrote:
> On 7/23/2012 8:51 AM, Alexander Serebrenik wrote:
>> Do you participate in StackOverflow discussions?
>>
>> As a part of a joint on-going research effort of the Brunel University
>> (UK) and Eindhoven University of Technology (The Netherland
On Mon, Jul 23, 2012 at 9:30 PM, Steven D'Aprano
wrote:
>> Leaving aside the point that this is not directly related to Python, my
>> opinion is that if the authors will not make past and future papers
>> freely available, not even an abstract, they should not ask for valuable
>> free data from fr
I'm happy to report that Robin Dunn, the developer of wxPython, showed
me how to solve my VPython architectural problem, using wxPython. I
attach a test program based on wxPython that has all of the properties
I was looking for (though it needs some minor cleanups, including
quitting gracefully, an
On Jul 24, 7:51 am, Devin Jeanpierre wrote:
> On Mon, Jul 23, 2012 at 9:30 PM, Steven D'Aprano
>
> wrote:
> >> Leaving aside the point that this is not directly related to Python, my
> >> opinion is that if the authors will not make past and future papers
> >> freely available, not even an abstra
On Tue, Jul 24, 2012 at 1:56 PM, rusi wrote:
> "How many of you use Linux?" I ask.
The awkwardness is in the definition of the question. Many of the
products that I buy will have, at some point, been carried by a truck,
but I would answer "No" if someone asked me if I use a truck. Would
you say t
On Jul 24, 9:28 am, Chris Angelico wrote:
> On Tue, Jul 24, 2012 at 1:56 PM, rusi wrote:
> > "How many of you use Linux?" I ask.
>
> The awkwardness is in the definition of the question. Many of the
> products that I buy will have, at some point, been carried by a truck,
> but I would answer "No"
1 - 100 of 106 matches
Mail list logo