On Thu, Mar 5, 2015 at 5:44 PM, Ben Finney wrote:
> Chris Angelico writes:
>
>> import base64; exec(…)
>
> That's all I need to know. Code with ‘exec()’ calls, I consider unsafe
> by default.
Well yes, there is that :)
ChrisA
--
https://mail.python.org/mailman/listinfo/python-list
Ben Finney wrote:
>Chris Angelico writes:
>
>> import base64; exec(…)
>
>That's all I need to know. Code with ‘exec()’ calls, I consider unsafe
>by default.
Indeed. replacing exec with print...
>>> print(base64.b64decode(b"eD0neD0lcjsgZXhlYyh4JSV4KSc7IGV4ZWMoeCV4KQ=="))
x='x=%r; exec(x%%x)'; e
Chris Angelico writes:
> import base64; exec(…)
That's all I need to know. Code with ‘exec()’ calls, I consider unsafe
by default.
--
\ Lucifer: “Just sign the Contract, sir, and the Piano is yours.” |
`\ Ray: “Sheesh! This is long! Mind if I sign it now and read it |
_o__)
import base64;
exec(base64.b64decode(b"eD0neD0lcjsgZXhlYyh4JSV4KSc7IGV4ZWMoeCV4KQ=="))
Or do, but don't blame me if Python crashes out badly. It seems Py3 is
safer than Py2 here.
ChrisA
--
https://mail.python.org/mailman/listinfo/python-list
show her your python and and impress her.
Regards,
Krishna
On Thu, Mar 5, 2015 at 7:04 AM, Xrrific wrote:
> Guys, please Help!!!
>
> I am trying to impress a girl who is learning python and want ask her out
> at the same time.
>
> Could you please come up with something witty incorporating a sim
Rustom Mody :
> You keep talking of accent.
> At first I thought you were using the word figuratively or else joking.
> Im now beginning to wonder if you mean it literally.
> If so have you patented a new AOIP protocol?
> If not do you give tuitions¹ in ESP/telepathy/Voodoo? I'll be happy to
> pay
On Thursday, March 5, 2015 at 1:03:13 AM UTC+5:30, Marko Rauhamaa wrote:
> Steven D'Aprano:
>
> > Care to enlighten us then? Because your anecdote doesn't appear to
> > have even the most tenuous relationship to this discussion.
>
> Even more important, when you talk about Python or other compute
On Thu, Mar 5, 2015 at 1:50 PM, wrote:
> On Wednesday, March 4, 2015 at 5:34:16 PM UTC-8, Xrrific wrote:
>> Guys, please Help!!!
>>
>> I am trying to impress a girl who is learning python and want ask her out at
>> the same time.
>>
>> Could you please come up with something witty incorporating
On Wednesday, March 4, 2015 at 5:34:16 PM UTC-8, Xrrific wrote:
> Guys, please Help!!!
>
> I am trying to impress a girl who is learning python and want ask her out at
> the same time.
>
> Could you please come up with something witty incorporating a simple python
> line like If...then... but..
On Wed, 4 Mar 2015 17:34:04 -0800 (PST), Xrrific
wrote:
>I am trying to impress a girl who is learning python and want ask her out at
>the same time.
>
>Could you please come up with something witty incorporating a simple python
>line like If...then... but..etc.
How about not using python at al
Terry Reedy writes:
> On 3/4/2015 8:34 PM, Xrrific wrote:
> > I am trying to impress a girl who is learning python and want ask
> > her out at the same time.
>
> Start by not being sexist about the fitness of females for Python
> programming. Make sure she knows that at least parts of the Python
On Thu, 5 Mar 2015 at 11:35 Xrrific wrote:
> Could you please come up with something witty incorporating a simple
> python line like If...then... but..etc.
>
Send her this:
import base64
print(base64.b64decode('CkhpLCAKVGhpcyBpcyBzb21lb25lIGZyb20gdGhlIHB5dGhvbiBtYWlsaW5nIGxpc3QuIFRoaXMgZ3V5ICho
On 3/4/2015 8:34 PM, Xrrific wrote:
Guys, please Help!!!
Gals might know better how to impress a girl.
I am trying to impress a girl who is learning python and want ask her out at
the same time.
Start by not being sexist about the fitness of females for Python
programming. Make sure she
In article <8c09473e-92df-40ac-b083-d2b3a2b75...@googlegroups.com>,
Xrrific wrote:
> Guys, please Help!!!
>
> I am trying to impress a girl who is learning python and want ask her out at
> the same time.
>
> Could you please come up with something witty incorporating a simple python
> line l
Something something don't top post. Add responses to the bottom. BLah blah
blah
On Wednesday, March 4, 2015 at 5:37:55 PM UTC-8, Marcos Almeida Azevedo wrote:
> Why does it need to be nerdy. Why not just buy her a good book on Python?
>
>
>
> On Thu, Mar 5, 2015 at 9:34 AM, Xrrific wrote:
>
Why does it need to be nerdy. Why not just buy her a good book on Python?
On Thu, Mar 5, 2015 at 9:34 AM, Xrrific wrote:
> Guys, please Help!!!
>
> I am trying to impress a girl who is learning python and want ask her out
> at the same time.
>
> Could you please come up with something witty inco
Guys, please Help!!!
I am trying to impress a girl who is learning python and want ask her out at
the same time.
Could you please come up with something witty incorporating a simple python
line like If...then... but..etc.
You will make me a very happy man!!!
Thank you very much!!!
--
https:/
On 5 March 2015 at 09:39, Emile van Sebille wrote:
> On 3/4/2015 12:40 PM, Tim Delaney wrote:
>
>> A related thing is when you have multiple multi-lingual people talking
>> together where at least two of their languages match (or are close
>> enough for most uses e.g. Spanish and Portuguese). The
On 3/4/2015 12:40 PM, Tim Delaney wrote:
A related thing is when you have multiple multi-lingual people talking
together where at least two of their languages match (or are close
enough for most uses e.g. Spanish and Portuguese). They'll slip in and
out of multiple languages depending on which be
On 5 March 2015 at 07:11, Steven D'Aprano <
steve+comp.lang.pyt...@pearwood.info> wrote:
>
> As for your comments about spoken accents, I sympathise. But changing
> accents is very hard for most people (although a very few people find it
> incredibly easy). Even professionals typically need to hav
Am 04.03.15 um 00:12 schrieb Chris Angelico:
> The problems come from needing more than two components at each step,
> like with string formatting. You could write it like this:
>
> "Hello, %s from %s!" % name % location
>
> but then it'd be really hard to track down errors - the modulo
> operato
On 04/03/2015 19:56, Steven D'Aprano wrote:
Albert-Jan Roskam wrote:
Hi,
Is there a (use case) difference between codecs.open and io.open? What is
the difference? A small difference that I just discovered is that
codecs.open(somefile).read() returns a bytestring if no encoding is
specified*),
On 04/03/2015 19:33, Marko Rauhamaa wrote:
Steven D'Aprano :
Care to enlighten us then? Because your anecdote doesn't appear to
have even the most tenuous relationship to this discussion.
English-speaker, when you name things in your Python programs, you had
better stick to American spellings
Marko Rauhamaa wrote:
> Steven D'Aprano :
>
>> Care to enlighten us then? Because your anecdote doesn't appear to
>> have even the most tenuous relationship to this discussion.
>
> English-speaker, when you name things in your Python programs, you had
> better stick to American spellings.
>
> E
On Wed, Mar 4, 2015, at 07:12, Albert-Jan Roskam wrote:
> Hi,
>
> Is there a (use case) difference between codecs.open and io.open? What is
> the difference?
> A small difference that I just discovered is that
> codecs.open(somefile).read() returns a bytestring if no encoding is
> specified*), but
Albert-Jan Roskam wrote:
> Hi,
>
> Is there a (use case) difference between codecs.open and io.open? What is
> the difference? A small difference that I just discovered is that
> codecs.open(somefile).read() returns a bytestring if no encoding is
> specified*), but a unicode string if an encoding
2nd Workshop on Programming Language Evolution (PLE) 2015
(colocated with ECOOP 2015, Prague, Czech Republic)
http://2015.ecoop.org/track/PLE-2015-papers
Call for papers
---
Programming languages tend to evolve in response to user needs,
hardware advances, and research developments.
Steven D'Aprano :
> Care to enlighten us then? Because your anecdote doesn't appear to
> have even the most tenuous relationship to this discussion.
English-speaker, when you name things in your Python programs, you had
better stick to American spellings.
Even more important, when you talk about
On 03/04/2015 11:14 AM, Steven D'Aprano wrote:
>
> [...]
>
>
>
Wow -- a new level of succinctness! ;)
--
~Ethan~
signature.asc
Description: OpenPGP digital signature
--
https://mail.python.org/mailman/listinfo/python-list
Marko Rauhamaa wrote:
> llanitedave :
>
>> Seems the ultimate in irony when a language invented by a Dutchman and
>> named after a British comedy troupe gets bogged down in an argument
>> about whether its users are sufficiently "American".
>
> No, the ultimate irony is that people don't underst
Senior Python Applications Developer/Leader. Key Skills: Agile, Java, PHP,
HTML5, CSS3, JavaScript, jQuery, Amazon Web Services (AWS)
Direct client. H1B is OK. Ann Arbor, Michigan. Initial six month contract,
probably good through the end of 2015. We can pay up to $90/hr. & possibly
higher fo
Mario Figueiredo :
> Care to summarize then?
>
> Because the one thing I'm seeing is your assertion that people should
> write identifiers in a more standard way following an us-eng dialect
> and you jab at the British by accusing them of being more resistant to
> this than non-english speakers (w
On 03/04/2015 01:26 AM, Chris Angelico wrote:
> On Wed, Mar 4, 2015 at 5:33 PM, Ethan Furman wrote:
>>
>> I login to the roundup server -- I can search, create new issues, post new
>> messages via both email and the web
>> interface, and I can attach files... but only via email; if I try to attach
On Saturday, March 3, 2012 at 3:45:32 AM UTC+1, gwang wrote:
> On Jan 3, 11:47 am, hisan wrote:
> > Hi All
> >
> > i have downloaded "xmldiff-0.6.10" from their official site
> > (http://www.logilab.org/859).
> > I have tried installing the same on my 32 bit Windows 7 OS using the
> > command "se
On Wednesday, March 4, 2015 at 6:46:32 PM UTC+5:30, Marko Rauhamaa wrote:
> llanitedave :
>
> > Seems the ultimate in irony when a language invented by a Dutchman and
> > named after a British comedy troupe gets bogged down in an argument
> > about whether its users are sufficiently "American".
>
We have 350 early-bird tickets available. Half of those have been sold
by now in an amazing rush to our registration page:
*** https://ep2015.europython.eu/en/registration/ ***
We would like to thank everyone who bought a ticket and put trust in
us to make the conference an interesting
On Wed, 04 Mar 2015 15:16:18 +0200, Marko Rauhamaa
wrote:
>
>No, the ultimate irony is that people don't understand what is being
>talked about.
>
Care to summarize then?
Because the one thing I'm seeing is your assertion that people should
write identifiers in a more standard way following an
llanitedave :
> Seems the ultimate in irony when a language invented by a Dutchman and
> named after a British comedy troupe gets bogged down in an argument
> about whether its users are sufficiently "American".
No, the ultimate irony is that people don't understand what is being
talked about.
R
Hi,
Is there a (use case) difference between codecs.open and io.open? What is the
difference?
A small difference that I just discovered is that codecs.open(somefile).read()
returns a bytestring if no encoding is specified*), but a unicode string if an
encoding is specified. io.open always retur
On Wed, Mar 4, 2015 at 5:33 PM, Ethan Furman wrote:
> I login to the roundup server -- I can search, create new issues, post new
> messages via both email and the web
> interface, and I can attach files... but only via email; if I try to attach a
> file via the web interface I immediately
> get
fa...@vt.edu wrote:
> I have the following directory /home/me/projects/modulename.
>
> I update PYTHONPATH using the following command:
> export PYTHONPATH=$PYTHONPATH:/home/me/projects/modulename
>
> It seems to have been added:
> [me@machine ~]$ python -c "import sys; print(sys.path)"
> ['',...
41 matches
Mail list logo