Re: Stock quote API ?

2018-03-11 Thread Chris Angelico
On Mon, Mar 12, 2018 at 3:19 PM, Irv Kalb wrote: > >> On Mar 10, 2018, at 9:26 PM, Chris Angelico wrote: >> >> On Sun, Mar 11, 2018 at 4:18 PM, Irv Kalb wrote: >>> Hi, >>> >>> I teach courses on beginning Python (Python3). In one of my topics, I >>> explain how we can write simple programs tha

Re: Stock quote API ?

2018-03-11 Thread Irv Kalb
> On Mar 10, 2018, at 9:26 PM, Chris Angelico wrote: > > On Sun, Mar 11, 2018 at 4:18 PM, Irv Kalb wrote: >> Hi, >> >> I teach courses on beginning Python (Python3). In one of my topics, I >> explain how we can write simple programs that reach out to the internet and >> download data (reque

Re: csv module and NULL data byte

2018-03-11 Thread Andrew McNamara
>Any idea why it might throw an exception on encountering a NULL in the >input stream? It accepts all other 255 byte values. Was this behaviour >intended? Perhaps a comment should be added to the docs. >Thanks for your work on the module anyway. The original module was like this - it comes about

Re: Flask: request vs Request

2018-03-11 Thread Andrew Z
after reading the docs and stackoverflow i got some rudimentary understanding of Request vs request. i still don't understand why i PyCharm won't show properties, but it is tool centric question that hardly belongs to this group. On Sun, Mar 11, 2018 at 10:02 AM, Andrew Z wrote: > Sorry guys. i

Re: pip and command line

2018-03-11 Thread Terry Reedy
On 3/11/2018 2:08 PM, GISDude wrote: On Saturday, March 10, 2018 at 10:28:00 AM UTC-8, Terry Reedy wrote: Why can't I use pip while in IDLE Would you expect to use pip in MS Excel? If you type 'python' at a command line, and get the '>>>' REPL prompt (google REPL), then your input goes to t

Re: pip and command line

2018-03-11 Thread GISDude
On Saturday, March 10, 2018 at 10:28:00 AM UTC-8, Terry Reedy wrote: > On 3/10/2018 12:23 PM, GISDude wrote: > > Hi all, > > I'm hoping someone could help a wannabe python coder out. I'm an aspiring > > Data/AI/ML coder/programmer/datafiend - that might help with my situation. > > > > In my vario

Re: Flask: request vs Request

2018-03-11 Thread Andrew Z
Sorry guys. i realized i was "mumbling" . What is the difference between Request and request? - RTFM , Andrew Questions: a. when do i use Request? b. why can't I see any properties of the request? For example, in Michael's tutorial, there

Re: Unnoticed traceback in a thread

2018-03-11 Thread Skip Montanaro
> Concretely: instead of "start_new_thread(my_thread_function, ...)", > I use > > def wrapped_thread_function(*args, **kw): > try: > my_thread_function(*args, **kw) > except: > ... do whatever is necessary should "my_thread_function" fails ... > >

Re: Flask: request vs Request

2018-03-11 Thread Mark Lawrence
On 11/03/18 04:09, Christopher Mullins wrote: In the code you linked, I don't see where the *R*equest is used. The request variable is setup by flask when you annotate the function with the resource endpoint and POST method. It contains the content of the request which can be converted to json if

PyCon Israel 2018 CFP is Open

2018-03-11 Thread Miki Tebeka
Hi, PyCon Israel 2018 call for papers is open, submit a talk today, another three tomorrow :) See more at http://il.pycon.org/2018/ All the best, -- Miki -- https://mail.python.org/mailman/listinfo/python-list