On 10/20/2013 3:10 PM, victorgarcia...@gmail.com wrote:
> On Sunday, October 20, 2013 3:56:46 PM UTC-2, Philip Herron wrote:
>> I've been working on GCCPY since roughly november 2009 at least in its
>> concept. It was announced as a Gsoc 2010 project and also a Gsoc 2011
>> project. I was mentored
On Wed, Oct 23, 2013 at 5:22 PM, Chandru Rajendran
wrote:
>
> I am newbie to python. Please give me an idea to use Global Variable In
> multiprocessing with examples. Also give me an best practices of
> multiprocessing.
Fundamentally, you can't have mutable globals in multiprocessing
(though yo
Hi,
I am newbie to python. Please give me an idea to use Global Variable In
multiprocessing with examples. Also give me an best practices of
multiprocessing.
Thanks & Regards,
Chandru
CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORM
On Wed, Oct 23, 2013 at 9:11 AM, Piet van Oostrum wrote:
> Mark Janssen writes:
>
Is your language Turing complete?
>>>
>>> 1) No, it's not.
>>> 2) So what? That should make it easier to compile to C, if anything.
>>> 3) Don't change the subject.
>>
>> Well, if your language is not
On Wed, Oct 23, 2013 at 9:02 AM, xDog Walker wrote:
> On Tuesday 2013 October 22 11:44, Dan Stromberg wrote:
>> Some SMTP servers require a password and some do not
>
> POP3 before SMTP ?
Or just IP-based restrictions (computers on 192.168.0.0/24 may relay
mail, all others may only send to the do
On 23/10/2013 05:05, Michael Torrie wrote:
On 10/22/2013 12:28 PM, Mark Janssen wrote:
Thank you. You may be seated.
Ranting Rick, is that you?
I think that's unfair, rr can be very helpful when discussing IDLE type
issues. In comparison all that appears to have eminated from Tacoma,
Wa
On 23/10/2013 02:36, alex23 wrote:
On 23/10/2013 4:40 AM, Ned Batchelder wrote:
I've tried to be polite, and I've tried to be helpful, but I'm sorry:
either you don't understand a lot of the terms you are throwing around,
or you aren't disciplined enough to focus on a topic long enough to
explai
On 23/10/2013 01:22, Pratik Mehta wrote:
Hey Mark,
Thanks for reverting.
I had tried coding it using os.system("screencapture -s /filepath") // for
selecting a particular region..
I have replied to Kevin's comment, that's exactly what I am looking for. :)
Thanks ...
Assuming that you'r
On 10/22/2013 12:28 PM, Mark Janssen wrote:
> Thank you. You may be seated.
Ranting Rick, is that you?
--
https://mail.python.org/mailman/listinfo/python-list
On Wednesday, October 23, 2013 7:06:40 AM UTC+5:30, alex23 wrote:
> On 23/10/2013 4:40 AM, Ned Batchelder wrote:
>
> > I've tried to be polite, and I've tried to be helpful, but I'm sorry:
> > either you don't understand a lot of the terms you are throwing around,
> > or you aren't disciplined eno
Mohsen Pahlevanzadeh writes:
> Dear all,
>
> Suppose i have function name, 3 arguments for it, and object of its
> caller such as self.blahbalah
> So:
> my function is:
> self.blahblah.name(arg1,arg2,arg3)
>
> I read functools documentations, may be objictive usage and
> functionality differ, Do
if you use a newer version of pip i think this should work.
On Tuesday, October 22, 2013 9:11:40 AM UTC-4, Neal Becker wrote:
> IIUC, it is perfectly legitimate to do install into --user to override system-
>
> wide installed modules. Thus, I should be able to do:
>
>
>
> pip install --user
On 23/10/2013 4:40 AM, Ned Batchelder wrote:
I've tried to be polite, and I've tried to be helpful, but I'm sorry:
either you don't understand a lot of the terms you are throwing around,
or you aren't disciplined enough to focus on a topic long enough to
explain yourself. Either way, I don't kno
Hi,
I'm actually on Python 2.7, so we don't have access to any of those nice new
exceptions in Python 3.3 =(:
http://docs.python.org/2.7/library/exceptions.html#exception-hierarchy
@Ben - Good point about just catching the more general exception, and just
printing out the string message.
I su
On 10/22/13 8:19 PM, Pratik Mehta wrote:
Hey Kevin,
Thanks for reverting.
I know about the "screencapture" function and the parameters available.
But, how would I take the user input, as in, that is just command-line, as soon
as I execute the program, it will take whatever kind of parameter i
Hey Mark,
Thanks for reverting.
I had tried coding it using os.system("screencapture -s /filepath") // for
selecting a particular region..
I have replied to Kevin's comment, that's exactly what I am looking for. :)
Thanks ...
--
https://mail.python.org/mailman/listinfo/python-list
Hey Kevin,
Thanks for reverting.
I know about the "screencapture" function and the parameters available.
But, how would I take the user input, as in, that is just command-line, as soon
as I execute the program, it will take whatever kind of parameter is passed
under screencapture.
I want that
Hey John,
I want to code my own Snapshot taking program using Python.
Hence, had posted this question...
--
https://mail.python.org/mailman/listinfo/python-list
On 22/10/2013 23:13, Ben Finney wrote:
Mohsen Pahlevanzadeh writes:
Suppose i have function name, 3 arguments for it, and object of its
caller such as self.blahbalah
This doesn't make much sense to me. I think you mean: You have an
object, ‘self.blahblah’, which has a function attribute, ‘na
On 2013-10-22, Mark Janssen wrote:
>>> Is your language Turing complete?
>>>
>>
>> 1) No, it's not.
>> 2) So what? That should make it easier to compile to C, if anything.
>> 3) Don't change the subject.
>
> Well, if your language is not Turing complete, it is not clear that
> you will be abl
On 10/22/2013 03:06 PM, Ben Finney wrote:
Walter Hurry writes:
However, for a different project I need to get up to a reasonable
speed with tkinter. Could some kind soul recommend a suitable on-line
tutorial, or a (free) ebook?
TkDocs http://www.tkdocs.com/> is both a book for purchase (“Mod
On 10/22/13 6:08 PM, Kevin Walzer wrote:
On 10/22/13 4:15 PM, Pratik Mehta wrote:
Anyone there to help me out???
import os
os.system('screencapture', 'foo.png')
...and see 'man screencapture' for options.
I leave setting up a Tkinter GUI with proper key bindings as an exercise
for the re
Mark Janssen writes:
>>> Is your language Turing complete?
>>>
>>
>> 1) No, it's not.
>> 2) So what? That should make it easier to compile to C, if anything.
>> 3) Don't change the subject.
>
> Well, if your language is not Turing complete, it is not clear that
> you will be able to compile
Mohsen Pahlevanzadeh writes:
> Suppose i have function name, 3 arguments for it, and object of its
> caller such as self.blahbalah
This doesn't make much sense to me. I think you mean: You have an
object, ‘self.blahblah’, which has a function attribute, ‘name’.
(Aside: Please choose better exam
On 10/22/13 4:15 PM, Pratik Mehta wrote:
Anyone there to help me out???
import os
os.system('screencapture', 'foo.png')
--
Kevin Walzer
Code by Kevin/Mobile Code by Kevin
http://www.codebykevin.com
http://www.wtmobilesoftware.com
--
https://mail.python.org/mailman/listinfo/python-list
Walter Hurry writes:
> However, for a different project I need to get up to a reasonable
> speed with tkinter. Could some kind soul recommend a suitable on-line
> tutorial, or a (free) ebook?
TkDocs http://www.tkdocs.com/> is both a book for purchase (“Modern
Tkinter”) and a cross-language tutor
On Tuesday 2013 October 22 11:44, Dan Stromberg wrote:
> Some SMTP servers require a password and some do not
POP3 before SMTP ?
--
Yonder nor sorghum stenches shut ladle gulls stopper torque wet
strainers.
--
https://mail.python.org/mailman/listinfo/python-list
Dear all,
Suppose i have function name, 3 arguments for it, and object of its
caller such as self.blahbalah
So:
my function is:
self.blahblah.name(arg1,arg2,arg3)
I read functools documentations, may be objictive usage and
functionality differ, Do you have experience with objective usage ?
http:
In <03db6a3f-3b1c-4516-8bee-4e3a362eb...@googlegroups.com> Pratik Mehta
writes:
> Anyone there to help me out???
Command-Shift-3 takes a screenshot of the whole screen and saves it as a
file on the desktop.
Command-Control-Shift-3: takes a screenshot of the whole screen and saves
it to the cli
On Wed, Oct 23, 2013 at 4:27 AM, Steven D'Aprano
wrote:
> On Tue, 22 Oct 2013 23:20:52 +1100, Chris Angelico wrote:
>
>> Considering that rapiding took about 1200ms (ish - again, cold cache)
>> previously, adding even just 250ms is noticeable.
>
> Please excuse my skepticism, but in my experience,
On 22/10/2013 21:57, Walter Hurry wrote:
I have some experience with Python, having used it for a couple of years.
Until now, my builder of choice for cross-platform GUI applications has
been wxPython (with wxGlade), and I have been well satisfied with these
tools.
However, for a different proj
On Tue, Oct 22, 2013 at 8:23 AM, Metallicow wrote:
> Maybe there is an option with the browsers to disable gif 0 delay mangling...?
Perhaps there is, but you couldn't rely on the user to have changed it.
> So What did you use to increase the speed of the gif? ...Errm Program or
> whatever used
I have some experience with Python, having used it for a couple of years.
Until now, my builder of choice for cross-platform GUI applications has
been wxPython (with wxGlade), and I have been well satisfied with these
tools.
However, for a different project I need to get up to a reasonable spee
On 22/10/2013 21:15, Pratik Mehta wrote:
Anyone there to help me out???
There are plenty of people who will help you out, but if and only if you
make an attempt at writing some code and then ask for assistance when
you run into problems.
--
Python is the second best programming language in
On 2013-10-22, Grant Edwards wrote:
> C initializes to defined zero values. For most machines in use today,
> those values _happen_ to be all-bits-zero.
>
> This makes the implementation trivial: chuck them all into some
> pre-defined section (e.g. ".bss"), and then on startup, you zero-out
> al
Why does the numpy masked_where create a special case for all False?
import numpy
x = numpy.array([[9,9,9,9,9,9],[9,9,9,9,9,9],[9,9,9,9,9,9],[9,9,9,9,9,9]])
y = numpy.ma.masked_where(x<3,x)
y.mask
Out[1]: False
z= numpy.arange(20)
z.reshape(4,5)
Out[1]:
array([[ 0, 1, 2, 3, 4],
[ 5, 6
Anyone there to help me out???
--
https://mail.python.org/mailman/listinfo/python-list
On 2013-10-22, Mark Lawrence wrote:
> On 22/10/2013 20:27, Neil Cerutti wrote:
>> On 2013-10-22, Piet van Oostrum wrote:
>>> Neil Cerutti writes:
Context-sensitive grammars can be parse, too.
>>>
>>> That's not English. Do you mean "parsed"?
>>
>> Thanks, yes, I meant parsed.
>>
>>> But con
http://natigaals7ab.blogspot.com
--
https://mail.python.org/mailman/listinfo/python-list
On 22/10/2013 20:27, Neil Cerutti wrote:
On 2013-10-22, Piet van Oostrum wrote:
Neil Cerutti writes:
Context-sensitive grammars can be parse, too.
That's not English. Do you mean "parsed"?
Thanks, yes, I meant parsed.
But context-sentitive grammars cannot be specified by BNF.
Yes. I t
On 22/10/2013 20:20, Piet van Oostrum wrote:
Neil Cerutti writes:
Context-sensitive grammars can be parse, too.
That's not English. Do you mean "parsed"?
But context-sentitive grammars cannot be specified by BNF.
That's not English. Do you mean "context-sensitive"? :)
--
Python is the
On 2013-10-22, Piet van Oostrum wrote:
> Neil Cerutti writes:
>> Context-sensitive grammars can be parse, too.
>
> That's not English. Do you mean "parsed"?
Thanks, yes, I meant parsed.
> But context-sentitive grammars cannot be specified by BNF.
Yes. I thought Mark might have had a misconcep
Neil Cerutti writes:
>
> Context-sensitive grammars can be parse, too.
>
That's not English. Do you mean "parsed"?
But context-sentitive grammars cannot be specified by BNF.
--
Piet van Oostrum
WWW: http://pietvanoostrum.com/
PGP key: [8DAE142BE17999C4]
--
https://mail.python.org/mailman/lis
On 10/22/13 1:50 PM, Mark Janssen wrote:
So which of you is confused? I ask that in the inclusive (not
exclusive OR) sense ;^) <-- face says "both".
Could you please be less snarky? We're trying to communicate here, and it
is not at all clear yet who is confused and who is not. If you ar
On 2013-10-22, Neil Cerutti wrote:
> On 2013-10-22, Steven D'Aprano wrote:
>> On Tue, 22 Oct 2013 14:04:57 +, Dave Angel wrote:
>>> but here you go on to say the C code is unsafely skipping
>>> initialization, which is not the case.
>>
>> Are you talking generically, or specifically about the
On 22/10/2013 19:40, rusi wrote:
On Tuesday, October 22, 2013 11:53:22 PM UTC+5:30, Ned Batchelder wrote:
A BNF doesn't provide enough information to compile a program to C.
That's all I'm trying to help you understand. If you don't agree, then
we have to talk about the meaning of the words BNF
On 2013-10-22, Steven D'Aprano wrote:
> On Tue, 22 Oct 2013 16:53:07 +, Frank Miles wrote:
>
> [snip C code]
>> What you're missing is that arr[] is an automatic variable. Put a
>> "static" in front of it, or move it outside the function (to become
>> global) and you'll see the difference.
>
On 22/10/2013 19:22, Mark Janssen wrote:
Okay. The purpose of BNF (at least as I envision it) is to
produce/specify a *context-free* "grammar". A lexer parses the tokens
specified in the BNF into an Abstract Syntax Tree. If one can produce
such a tree for any given source, the language, in the
On Tuesday, October 22, 2013 11:53:22 PM UTC+5:30, Ned Batchelder wrote:
> A BNF doesn't provide enough information to compile a program to C.
> That's all I'm trying to help you understand. If you don't agree, then
> we have to talk about the meaning of the words BNF, compile, program, and C.
On Tue, Oct 22, 2013 at 11:00 AM, wrote:
> I'm trying to send an email using python. The mail content is taken from
> file and subject of the mail is name of the file. The program is invoked as
> ./mailclient.py -f -d
> -i -s
> .
> How to i use server ip address and the mail id to send th
On 10/22/13 2:22 PM, Mark Janssen wrote:
Okay. The purpose of BNF (at least as I envision it) is to
produce/specify a *context-free* "grammar". A lexer parses the tokens
specified in the BNF into an Abstract Syntax Tree. If one can produce
such a tree for any given source, the language, in the
On 10/22/13 2:16 PM, Mark Janssen wrote:
So which of you is confused? I ask that in the inclusive (not
exclusive OR) sense ;^) <-- face says "both".
Could you please be less snarky?
Okay. The purpose of BNF (at least as I envision it) is to
produce/specify a *context-free* "grammar". A
>> Is your language Turing complete?
>>
>
> 1) No, it's not.
> 2) So what? That should make it easier to compile to C, if anything.
> 3) Don't change the subject.
Well, if your language is not Turing complete, it is not clear that
you will be able to compile it at all. That's the difference
>> Okay. The purpose of BNF (at least as I envision it) is to
>> produce/specify a *context-free* "grammar". A lexer parses the tokens
>> specified in the BNF into an Abstract Syntax Tree. If one can produce
>> such a tree for any given source, the language, in theory, can be
>> compiled by GCC
On 2013-10-22, Mark Janssen wrote:
>>> So which of you is confused? I ask that in the inclusive (not
>>> exclusive OR) sense ;^) <-- face says "both".
>>
>> Could you please be less snarky? We're trying to communicate here, and it
>> is not at all clear yet who is confused and who is not.
So which of you is confused? I ask that in the inclusive (not
exclusive OR) sense ;^) <-- face says "both".
>>>
>>> Could you please be less snarky?
>>
>> Okay. The purpose of BNF (at least as I envision it) is to
>> produce/specify a *context-free* "grammar". A lexer parses the t
On 22/10/2013 18:50, Mark Janssen wrote:
So which of you is confused? I ask that in the inclusive (not
exclusive OR) sense ;^) <-- face says "both".
Could you please be less snarky? We're trying to communicate here, and it
is not at all clear yet who is confused and who is not. If you a
Mark Janssen said:
> Unattributed
> > No its not like those 'compilers' i dont really agree with a compiler
> > generating C/C++ and saying its producing native code. I dont really
> > believe
> > its truely within the statement. Compilers that do that tend to put in alot
> > of type saftey cod
On Tue, Oct 22, 2013 at 12:50 PM, Mark Janssen
wrote:
> Okay. The purpose of BNF (at least as I envision it) is to
> produce/specify a *context-free* "grammar". A lexer parses the tokens
> specified in the BNF into an Abstract Syntax Tree. If one can produce
> such a tree for any given source,
I'm trying to send an email using python. The mail content is taken from file
and subject of the mail is name of the file. The program is invoked as
./mailclient.py -f -d -i
-s
.
How to i use server ip address and the mail id to send the email ? (would i
require the password)
--
https:
>> So which of you is confused? I ask that in the inclusive (not
>> exclusive OR) sense ;^) <-- face says "both".
>
> Could you please be less snarky? We're trying to communicate here, and it
> is not at all clear yet who is confused and who is not. If you are
> interested in discussing tec
On 22/10/2013 18:23, Steven D'Aprano wrote:
On Tue, 22 Oct 2013 16:53:07 +, Frank Miles wrote:
[snip C code]
What you're missing is that arr[] is an automatic variable. Put a
"static" in front of it, or move it outside the function (to become
global) and you'll see the difference.
Ah, th
On 2013-10-22, Steven D'Aprano wrote:
> On Tue, 22 Oct 2013 16:53:07 +, Frank Miles wrote:
>
> [snip C code]
>> What you're missing is that arr[] is an automatic variable. Put a
>> "static" in front of it, or move it outside the function (to become
>> global) and you'll see the difference.
>
On Tue, Oct 22, 2013 at 10:23 AM, Steven D'Aprano <
steve+comp.lang.pyt...@pearwood.info> wrote:
> On Tue, 22 Oct 2013 16:53:07 +, Frank Miles wrote:
>
> [snip C code]
> > What you're missing is that arr[] is an automatic variable. Put a
> > "static" in front of it, or move it outside the fun
On Tue, 22 Oct 2013 23:20:52 +1100, Chris Angelico wrote:
> Considering that rapiding took about 1200ms (ish - again, cold cache)
> previously, adding even just 250ms is noticeable.
Please excuse my skepticism, but in my experience, that would probably
mean in practice:
... rapiding took about
Mark Janssen writes:
> I love it. Watch this...
>
> [context]
A language specification in BNF is just syntax. It doesn't say anything
about semantics. So how could this be used to produce executable C code
for a program? BNF is used to produce parsers. But a parser isn't
suff
On Tue, 22 Oct 2013 16:53:07 +, Frank Miles wrote:
[snip C code]
> What you're missing is that arr[] is an automatic variable. Put a
> "static" in front of it, or move it outside the function (to become
> global) and you'll see the difference.
Ah, that makes sense. Thanks to everyone who cor
On 2013-10-22, Steven D'Aprano wrote:
> On Tue, 22 Oct 2013 14:04:57 +, Dave Angel wrote:
>> but here you go on to say the C code is unsafely skipping
>> initialization, which is not the case.
>
> Are you talking generically, or specifically about the C code
> referenced in the link I gave?
>
On Tue, 22 Oct 2013 08:04:21 -0700, Mark Janssen wrote:
A language specification in BNF is just syntax. It doesn't say
anything about semantics. So how could this be used to produce
executable C code for a program? BNF is used to produce parsers. But
a parser isn't sufficient.
On Tue, 22 Oct 2013 16:40:32 +, Steven D'Aprano wrote:
> On Tue, 22 Oct 2013 15:39:42 +, Grant Edwards wrote:
>
>>> No, I was thinking of an array. Arrays aren't automatically
>>> initialised in C.
>>
>> If they are static or global, then _yes_they_are_. They are zeroed.
>
> Not that I
On Tue, Oct 22, 2013 at 9:40 AM, Steven D'Aprano <
steve+comp.lang.pyt...@pearwood.info> wrote:
> On Tue, 22 Oct 2013 15:39:42 +, Grant Edwards wrote:
>
> >> No, I was thinking of an array. Arrays aren't automatically initialised
> >> in C.
> >
> > If they are static or global, then _yes_they_
On 22/10/2013 17:40, Steven D'Aprano wrote:
On Tue, 22 Oct 2013 15:39:42 +, Grant Edwards wrote:
No, I was thinking of an array. Arrays aren't automatically initialised
in C.
If they are static or global, then _yes_they_are_. They are zeroed.
Not that I don't believe you, but do you ha
On Tue, 22 Oct 2013 15:39:42 +, Grant Edwards wrote:
>> No, I was thinking of an array. Arrays aren't automatically initialised
>> in C.
>
> If they are static or global, then _yes_they_are_. They are zeroed.
Not that I don't believe you, but do you have a reference for this?
Because I kee
On Tue, Oct 22, 2013 at 8:04 AM, Mark Janssen wrote:
> I love it. Watch this...
>
> [context]
A language specification in BNF is just syntax. It doesn't say anything
about semantics. So how could this be used to produce executable C code
for a program? BNF is used to produce parser
On 22/10/2013 16:46, Ned Batchelder wrote:
Could you please be less snarky? We're trying to communicate here, and
it is not at all clear yet who is confused and who is not. If you are
interested in discussing technical topics, then discuss them.
--Ned.
Well put, particularly when consideri
Steven D'Aprano pearwood.info> writes:
>
> On Tue, 22 Oct 2013 08:55:15 +, Antoine Pitrou wrote:
>
> > If you don't implement exec() and eval() then people won't be able to
> > use namedtuples, which are a common datatype factory.
>
> Philip could always supply his own implementation of nam
On 2013-10-21, Marcin Szamotulski wrote:
> So the process (with some simplifications) goes like this:
>
> 1. get metaclass: meta
> 2. call meta.__prepare__ to get namespace (class __dict__)
> 3. evaluate the class body in the namespace
> 4. call meta with arguemnts: name, bases, na
On 10/22/13 11:04 AM, Mark Janssen wrote:
I love it. Watch this...
[context]
A language specification in BNF is just syntax. It doesn't say anything
about semantics. So how could this be used to produce executable C code
for a program? BNF is used to produce parsers. But a parser isn't
suffici
On 2013-10-22, Steven D'Aprano wrote:
> On Tue, 22 Oct 2013 14:04:57 +, Dave Angel wrote:
>
> [...]
>> I agree with most of what you say in the message,
>
> Glad to hear I wasn't completely full of it. As a non-C developer, I'm
> very conscious that a lot of what I know about C is second han
On 2013-10-22, Dave Angel wrote:
> On 22/10/2013 08:00, Steven D'Aprano wrote:
>> [quote]
>> C does not require you to set static global arrays to ?0?, so the
>> for loop in the main function can go...
>>
>> Wait a minute... Haskell, I'm pretty sure, zeroes memory. C doesn't. So
>
>
On Tue, 22 Oct 2013 14:04:57 +, Dave Angel wrote:
[...]
> I agree with most of what you say in the message,
Glad to hear I wasn't completely full of it. As a non-C developer, I'm
very conscious that a lot of what I know about C is second hand.
> but here you go on to
> say the C code is u
I love it. Watch this...
[context]
>>> A language specification in BNF is just syntax. It doesn't say anything
>>> about semantics. So how could this be used to produce executable C code
>>> for a program? BNF is used to produce parsers. But a parser isn't
>>> sufficient.
>>
>> A C program is jus
On Tuesday, October 22, 2013 2:56:33 AM UTC-5, Ian wrote:
> This is not entirely true. The minimum specifiable delay for a frame
> in an animated gif (other than 0, which just means "as fast as
> possible") is 0.01 second, which is the setting in the gif linked
> above. However, most browsers tha
On 22 October 2013 13:00, Steven D'Aprano
wrote:
> On Tue, 22 Oct 2013 10:14:16 +0100, Oscar Benjamin wrote:
>
>> On 22 October 2013 00:41, Steven D'Aprano
>> wrote:
>>>
>>> Are you suggesting that gcc is not a decent compiler?
>>
>> No.
>>
>>> If "optimize away
>>> to the null program" is such
On 22/10/2013 08:00, Steven D'Aprano wrote:
> On Tue, 22 Oct 2013 10:14:16 +0100, Oscar Benjamin wrote:
>
> Here's an example: responding to a benchmark showing a Haskell compiler
> generating faster code than a C compiler, somebody re-wrote the C code
> and got the opposite result:
>
> http
Le 22/10/2013 15:01, Forsgren a écrit :
I'm really embarrassed to be asking this, I feel that there is a really
simple answer to this, but I cant for the life of me find it.
So, I have this app, which loads a ui, which has a scrollarea that is a
parent to a gridlayout.
So in QT designer it looks
On Tue, Oct 22, 2013 at 8:11 AM, Neal Becker wrote:
> IIUC, it is perfectly legitimate to do install into --user to override system-
> wide installed modules. Thus, I should be able to do:
>
> pip install --user --up blah
>
> even though there is already a package blah in
> /usr/lib/pythonxxx/sit
IIUC, it is perfectly legitimate to do install into --user to override system-
wide installed modules. Thus, I should be able to do:
pip install --user --up blah
even though there is already a package blah in
/usr/lib/pythonxxx/site_packages/...
But even with -I (ignore installed) switch, pip
I'm really embarrassed to be asking this, I feel that there is a really
simple answer to this, but I cant for the life of me find it.
So, I have this app, which loads a ui, which has a scrollarea that is a
parent to a gridlayout.
So in QT designer it looks like this:
/>someParentWidgets
>scr
On Tue, Oct 22, 2013 at 11:00 PM, Steven D'Aprano
wrote:
> Given a sufficiently advanced static analyser, PyPy could probably
> special-case programs that do nothing. Then you're in a race to compare
> the speed at which the PyPy runtime environment can start up and do
> nothing, versus a stand-al
On Tue, 22 Oct 2013 10:14:16 +0100, Oscar Benjamin wrote:
> On 22 October 2013 00:41, Steven D'Aprano
> wrote:
>> On Mon, 21 Oct 2013 10:55:10 +0100, Oscar Benjamin wrote:
>>
>>> On 21 October 2013 08:46, Steven D'Aprano wrote:
>>
On the contrary, you have that backwards. An optimizing JIT
Steven wrote:
> The world is much bigger than just the C family of languages.
And even within that space, the original authors of C left plenty of
room for debate/improvement. In at least two dimensions (object
oriented programming, and memory management), various C descendants
have tried multipl
On Tue, Oct 22, 2013 at 9:42 PM, Oscar Benjamin
wrote:
> On Windows I use "git bash" which I think is just bash from msys. If
> you find yourself spending any time using cmd.exe you'll appreciate
> why. I also use console2 as the GUI part of the terminal.
Heh, me too. According to its title bar,
On 21 October 2013 21:47, Terry Reedy wrote:
> Manual says "-c
> Execute the Python code in command. command can be one or more
> statements separated by newlines, with significant leading whitespace as in
> normal module code."
>
> In Windows Command Prompt I get:
> C:\Programs\Python33>pyth
On Tue, 22 Oct 2013 08:55:15 +, Antoine Pitrou wrote:
> If you don't implement exec() and eval() then people won't be able to
> use namedtuples, which are a common datatype factory.
Philip could always supply his own implementation of namedtuple that
doesn't use exec.
But either way, if he
On Tuesday, 22 October 2013 10:14:16 UTC+1, Oscar Benjamin wrote:
> On 22 October 2013 00:41, Steven D'Aprano
>
> >>> On the contrary, you have that backwards. An optimizing JIT compiler
>
> >>> can often produce much more efficient, heavily optimized code than a
>
> >>> static AOT compiler, an
On 22 October 2013 00:41, Steven D'Aprano
wrote:
> On Mon, 21 Oct 2013 10:55:10 +0100, Oscar Benjamin wrote:
>
>> On 21 October 2013 08:46, Steven D'Aprano wrote:
>
>>> On the contrary, you have that backwards. An optimizing JIT compiler
>>> can often produce much more efficient, heavily optimize
On Tuesday, 22 October 2013 09:55:15 UTC+1, Antoine Pitrou wrote:
> Philip Herron googlemail.com> writes:
>
> >
>
> > Its interesting a few things come up what about:
>
> >
>
> > exec and eval. I didn't really have a good answer for this at my talk at
>
> PYCon IE 2013 but i am going to sa
Philip Herron googlemail.com> writes:
>
> Its interesting a few things come up what about:
>
> exec and eval. I didn't really have a good answer for this at my talk at
PYCon IE 2013 but i am going to say no. I am
> not going to implement these. Partly because eval and exec at least to me
are mos
On Mon, Oct 21, 2013 at 11:28 PM, Metallicow wrote:
> Here is links to the apng/gif on ImageShack uploaded with the "Do Not Resize"
> option.
> Checked/Views fine with default Firefox/Opera browsers.
>
> Animated 3D Python Powered Logo
> apng - 120frames 1/60 sec
> http://img34.imageshack.us/img3
1 - 100 of 104 matches
Mail list logo