You're right. Didn't look closely enough at it in my phone. Still don't
think i'd recommend this in a general solution, though. You effectively
have to white-list code snippets. Not very useful.
On Nov 26, 2016 7:51 PM, "Michael Torrie" wrote:
> On 11/26/2016 06:26 PM, Nathan Ernst wrote:
> > Su
On Sun, Nov 27, 2016 at 1:24 PM, Cameron Simpson wrote:
> I thought //192.168.0.1/foo/... was a network share, getting "foo" from host
> 192.168.0.1. Disclaimer: not a Windows guy. But I've certainly using UNIXy
> systems implementing this syntax, and thought I'd seen an equivalent in
> Windows la
On 26Nov2016 12:55, Dennis Lee Bieber wrote:
On Sat, 26 Nov 2016 08:12:46 -0800 (PST), junko...@gmail.com declaimed the
following:
with open('\\192.168.0.1\fe18cb0618cabd41\ninjatrader$EURUSDTestRun
2016-11-25-11-11.csv','r') as f:
[...]
Second... does Python open() accept web add
On 11/26/2016 06:26 PM, Nathan Ernst wrote:
> Sure, what if the input used a double quote instead of single, cursory
> glance looks like it might vulnerable.
Either a single quote or a double quote would not pass the sanitizer. Or
am I misunderstanding you?
--
https://mail.python.org/mailman/list
Sure, what if the input used a double quote instead of single, cursory
glance looks like it might vulnerable.
(Not trying to be argumentative here)
On Nov 26, 2016 7:21 PM, "Steve D'Aprano"
wrote:
> On Sun, 27 Nov 2016 11:25 am, Chris Angelico wrote:
>
> > On Sun, Nov 27, 2016 at 11:13 AM, Stev
On Sun, 27 Nov 2016 11:25 am, Chris Angelico wrote:
> On Sun, Nov 27, 2016 at 11:13 AM, Steve D'Aprano
> wrote:
>> So-called f-strings haven't even hit the already been implicated in a
>> code-injection vulnerability:
>>
>> http://bugs.python.org/issue28563
>>
>> I feel kind of vindicated here,
On Sun, Nov 27, 2016 at 11:13 AM, Steve D'Aprano
wrote:
> So-called f-strings haven't even hit the already been implicated in a
> code-injection vulnerability:
>
> http://bugs.python.org/issue28563
>
> I feel kind of vindicated here, because when so-called f-strings were first
> proposed I asked
On Sat, 26 Nov 2016 07:01 pm, Ian Kelly wrote:
> When I read that Python 3.6 would include f-strings, I turned to the
> coworker sitting next to me and said, "Oh my god, Python is adding yet
> another new syntax for string formatting." It's getting to be a joke.
f-strings are not merely string fo
On Sun, 27 Nov 2016 03:12 am, junko...@gmail.com wrote:
> import csv
> with open('\\192.168.0.1\fe18cb0618cabd41\ninjatrader$EURUSDTestRun
> 2016-11-25-11-11.csv','r') as f:
\f inserts a FORMFEED character, ASCII code 12. \n inserts a LINEFEED
character, or newline, ASCII code 10. I believe that
On 11/26/2016 12:55 PM, Dennis Lee Bieber wrote:
On Sat, 26 Nov 2016 08:12:46 -0800 (PST), junko...@gmail.com declaimed the
following:
import csv
with open('\\192.168.0.1\fe18cb0618cabd41\ninjatrader$EURUSDTestRun
2016-11-25-11-11.csv','r') as f:
reader=csv.reader(f)
for row in reader:
import csv
with open('\\192.168.0.1\fe18cb0618cabd41\ninjatrader$EURUSDTestRun
2016-11-25-11-11.csv','r') as f:
reader=csv.reader(f)
for row in reader:
print(row)
File "C:/Users/Suresh/PycharmProjects/untitled/test.py", line 2, in
with open('\\192.168.0.1\fe18cb0618cabd41\
On 2016-11-26 01:01, Ian Kelly wrote:
> When I read that Python 3.6 would include f-strings, I turned to the
> coworker sitting next to me and said, "Oh my god, Python is adding
> yet another new syntax for string formatting." It's getting to be a
> joke.
Pretty soon Python will have one string-fo
On Fri, Nov 25, 2016 at 1:29 AM, Mark Summerfield wrote:
> The article has a section called:
>
> "Too Many Formatting Options"
>
> He's right! The % formatting was kept to help port old code, the new
> .format() which is far more versatile is a bit verbose, so finally they've
> settled on f-
On 11/25/2016 10:33 PM, qrious wrote:
Hello All,
I would like to change two graphical icons related to turtle graphics using
Python:
a) One that shows up at the top left corner of the canvas window as in below. I
believe this is coming from tk itself.
https://s22.postimg.org/tkjaxmh41/image
14 matches
Mail list logo