Funny code

2019-09-25 Thread ast
Hello A line of code which produce itself when executed >>> s='s=%r;print(s%%s)';print(s%s) s='s=%r;print(s%%s)';print(s%s) Thats funny ! -- https://mail.python.org/mailman/listinfo/python-list

HELP NEEDED application error 0xc000005

2019-09-25 Thread arshad ali via Python-list
Note: Forwarded message attached -- Original Message -- From: "arshad ali"arsh...@rediffmail.com To: python-list@python.org Subject: HELP NEEDED application error 0xc05--- Begin Message --- Respected sir, In my laptop with windows 7 ultimate 64 bit, when python 3.7.4 executab

Re: Function to call a extern command as a filter

2019-09-25 Thread Terry Reedy
On 9/25/2019 7:27 AM, Rhodri James wrote: On 25/09/2019 12:04, Ulrich Goebel wrote: Hello, what I want: I want a function which converts a markdown-formatted string to a latex-formatted string [snip] I have a extern tool pandoc which does exactly what I want, but it works on files. This too

Re: Function to call a extern command as a filter

2019-09-25 Thread Rhodri James
On 25/09/2019 18:00, lain.mailinglist via Python-list wrote: On 25/09/2019 12:04, Ulrich Goebel wrote: Hello, what I want: I want a function which converts a markdown-formatted string to a latex-formatted string [snip] I have a extern tool pandoc which does exactly what I want, but it wor

Re: Function to call a extern command as a filter

2019-09-25 Thread lain.mailinglist via Python-list
> On 25/09/2019 12:04, Ulrich Goebel wrote: > > > Hello, > > what I want: > > I want a function which converts a markdown-formatted string to a > > latex-formatted string > > [snip] > > > I have a extern tool pandoc which does exactly what I want, but it > > works on files. This tool is able to wo

Re: CSV reader ignore brackets

2019-09-25 Thread Skip Montanaro
> Besides, the point isn't the shortest code but to illustrate the idea > of handling special syntax. In my defense, I was typing on my phone while watching a show on Netflix. I was hardly in a position to test any code. :-) As you indicated though, the problem is under-specified (nesting?, pres

Re: Python in The Economist

2019-09-25 Thread Gene Heskett
On Wednesday 25 September 2019 08:27:32 Chris Angelico wrote: > On Wed, Sep 25, 2019 at 9:33 PM Rhodri James wrote: > > Our experience as IoT consultants is > > that clients want what they want, and chip manufacturers produce > > what they produce, and the overlap isn't as big as you would hope.

Re: Python in The Economist

2019-09-25 Thread Chris Angelico
On Wed, Sep 25, 2019 at 9:33 PM Rhodri James wrote: > Our experience as IoT consultants is > that clients want what they want, and chip manufacturers produce what > they produce, and the overlap isn't as big as you would hope. Thank you for validating my inherent cynicism :) ChrisA -- https://m

Re: Python in The Economist

2019-09-25 Thread Rhodri James
On 25/09/2019 07:37, Frank Millman wrote: "Since chip design is expensive, and chip designers scarce, he and his team have been working on software tools to simplify that task. The idea is to describe a new algorithm in Python, a widely used programming language, and then have software turn it

Re: Function to call a extern command as a filter

2019-09-25 Thread Rhodri James
On 25/09/2019 12:04, Ulrich Goebel wrote: Hello, what I want: I want a function which converts a markdown-formatted string to a latex-formatted string [snip] I have a extern tool pandoc which does exactly what I want, but it works on files. This tool is able to work as a pipe, so it uses the

Function to call a extern command as a filter

2019-09-25 Thread Ulrich Goebel
Hello, what I want: I want a function which converts a markdown-formatted string to a latex-formatted string, like def markdown_to_latex (m : string) make a latex-formatted string l from the given markdown-formatted string m return (l) What I have: I have a e