Re: ssl.SSLError: [SSL: UNKNOWN_PROTOCOL] unknown protocol

2017-12-16 Thread dieter
Piyush Verma <114piy...@gmail.com> writes: > Getting SSL error while connecting from httplib.HTTPSConnection. > > Any help would be appreciated. > ... > line 579, in __init__ > self.do_handshake() > File > "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", > lin

Re: Python Learning

2017-12-16 Thread Marko Rauhamaa
r...@zedat.fu-berlin.de (Stefan Ram): > Varun R writes: >>I'm new to programming, can anyone guide me, how to start >>learning python programming language > > As a start, one should learn: > > 1.) how to install Python > (if not already installed) > > 2.) how to start the Python

Re: Python Learning

2017-12-16 Thread Chris Angelico
On Sat, Dec 16, 2017 at 11:41 PM, Marko Rauhamaa wrote: > r...@zedat.fu-berlin.de (Stefan Ram): > >> Varun R writes: >>>I'm new to programming, can anyone guide me, how to start >>>learning python programming language >> >> As a start, one should learn: >> >> 1.) how to install Python >>

Re: Python Learning

2017-12-16 Thread Marko Rauhamaa
Chris Angelico : > On Sat, Dec 16, 2017 at 11:41 PM, Marko Rauhamaa wrote: >> r...@zedat.fu-berlin.de (Stefan Ram): >>> As a start, one should learn: >>> >>> 1.) how to install Python >>> (if not already installed) >>> >>> 2.) how to start the Python console >>> (if not

Re: Python Learning

2017-12-16 Thread edmondo . giovannozzi
Il giorno venerdì 15 dicembre 2017 12:50:08 UTC+1, Varun R ha scritto: > Hi All, > > I'm new to programming, can anyone guide me, how to start learning python > programming language,...plz suggest some books also. > > Thanks all Personally I learnt python from the tutorial that you can find in:

Re: Python Learning

2017-12-16 Thread ROGER GRAYDON CHRISTMAN
On Sat, Dec 16, 2017, Bill wrote: > Varun R wrote: >> Hi All, >> >> I'm new to programming, can anyone guide me, how to start learning python programming language,...plz suggest some books also. >> >> Thanks all > >Are you sure you want to learn Python first? >Python does enough things "behind the

Re: Python Learning

2017-12-16 Thread ROGER GRAYDON CHRISTMAN
On Sat, Dec 16, 2017, Marko Rauhamaa wrote: > Chris Angelico : > >> On Sat, Dec 16, 2017 at 11:41 PM, Marko Rauhamaa wrote: >> r...@zedat.fu-berlin.de (Stefan Ram): >> As a start, one should learn: >> >> 1.) how to install Python >> (if not already installed) >> >> 2.) how to st

Re: Python Learning

2017-12-16 Thread Ziggy
On 2017-12-15, Varun R wrote: > Hi All, > > I'm new to programming, can anyone guide me, how to start learning python > programming language,...plz suggest some books also. > > Thanks all IMHO These're must have look at: http://opim.wharton.upenn.edu/~sok/idtresources/python/instant-hacking.html

Re: Python Learning

2017-12-16 Thread Terry Reedy
On 12/16/2017 8:26 AM, Marko Rauhamaa wrote: Unfortunately, Python's indentation mechanism makes the REPL too frustrating an environment to type in even the simplest of function definitions, let alone a whole class. The fundamental problem is that most REPLs are for 'command lines', and Pytho

pip failed installs

2017-12-16 Thread Bryan Zimmer
I have had only partial success with pip. Some things seem to install OK. But I've tried a couple of packages, specifically "BeautifulSoup" and "WxPython", and they fail with the same message, e.g.: *Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-ku98d6jd/BeautifulSo

Re: Can't install wrapt on Windows

2017-12-16 Thread Cutter
Le 10/12/2017 à 21:46, dieter (dieter) a écrit : Cutter writes: ... I have trouble installing pylint on Windows 10, Python 3.6. There's a problem during the installation of wrapt, which is a dependency of pylint. Here are the contents of the commandline: C:\WINDOWS\system32>python -m pip ins

Re: Repeated Names (Repeated Names)

2017-12-16 Thread Peter Pearson
On Sat, 16 Dec 2017 12:56:07 +1300, Gregory Ewing wrote: > Anyone else now getting duplicate posts with the sender's > name repeated in parentheses? Yes. Both of the posts on this thread appear twice, once with and once without the parenthesized name. In each pair, the Date field differed by one

Re: Python Learning

2017-12-16 Thread Bill
Rustom Mody (Rustom Mody) wrote: On Saturday, December 16, 2017 at 9:45:17 AM UTC+5:30, Bill wrote: Chris Angelico wrote: On Sat, Dec 16, 2017 at 8:51 AM, Bill wrote: Varun R wrote: Hi All, I'm new to programming, can anyone guide me, how to start learning python programming language,...plz

Re: Python Learning

2017-12-16 Thread Gregory Ewing
Bill wrote: In my experience, if they do not have the basic (~pre-calc) math behind them, then learning from a textbook on a programming language, say, may be a bit beyond them. Very little mathematical *knowledge* is needed to get started with programming. You can do a lot of useful things

Re: Repeated Names (Repeated Names)

2017-12-16 Thread Gregory Ewing
The duplicate posts all seem to have this header: Injection-Info: news.bbs.geek.nz; posting-host="M6YmRdZYyc42DJk0lNlt/X4dpP4dzvceBNabSmESN3E"; logging-data="4415"; mail-complaints-to="ab...@news.bbs.geek.nz" I've emailed the administrator of bbs.geek.nz, maybe he will be able to stop

Re: Python Learning

2017-12-16 Thread Bill
Gregory Ewing wrote: Bill wrote: In my experience, if they do not have the basic (~pre-calc) math behind them, then learning from a textbook on a programming language, say, may be a bit beyond them. Very little mathematical *knowledge* is needed to get started with programming. You can do a

Re: Python Learning

2017-12-16 Thread Chris Angelico
On Sun, Dec 17, 2017 at 12:01 PM, Bill wrote: > Gregory Ewing wrote: >> >> Bill wrote: >>> >>> In my experience, if they do not have the basic (~pre-calc) math behind >>> them, then learning from a textbook on a programming language, say, may be >>> a bit beyond them. >> >> >> Very little mathema

argparse.ArgumentParser formatter_class argument

2017-12-16 Thread Seb
Hello, As far as I can see it is currently impossible to apply more than one class to an ArgumentParser. For example, I'd like to use both RawDescriptionHelpFormatter *and* ArgumentDefaultsHelpFormatter in an ArgumentParser, but it seems that's impossible, as one can only choose a single one. An

pip failed installs

2017-12-16 Thread Bryan Zimmer
I believe it's because you're installing that into a directory that the current user has no write privileges for. Try installing those into a virtual environment (if you don't know what that is, let us know!). -Jorge On Sat, Dec 16, 2017 at 1:27 PM, Bryan Zimmer wrote: I have had only partial su

pip failed installs

2017-12-16 Thread Bryan Zimmer
Wait! Cancel my last post! In exploring the virtual environment, I was struck by the existence of an executable *pip *in the virtual environment's "bin" directory. So I tried again to install BeautifulSoup, but this time I got a very different error message. This pip couldn't find BeautifulSoup, u

Re: Repeated Names (Repeated Names)

2017-12-16 Thread Tim Golden
On 17/12/17 00:10, Gregory Ewing wrote: The duplicate posts all seem to have this header: Injection-Info: news.bbs.geek.nz; posting-host="M6YmRdZYyc42DJk0lNlt/X4dpP4dzvceBNabSmESN3E"; logging-data="4415"; mail-complaints-to="ab...@news.bbs.geek.nz" I've emailed the administrator of bbs.g

Python Templating Language

2017-12-16 Thread Abdur-Rahmaan Janhangeer
Hi all, Can somebody point out to me some py-based template languages interpreters resources? Thank you ! -- https://mail.python.org/mailman/listinfo/python-list

Re: Python Templating Language

2017-12-16 Thread Tim Daneliuk
On 12/17/2017 12:41 AM, Abdur-Rahmaan Janhangeer wrote: > Hi all, > > Can somebody point out to me some py-based template languages interpreters > resources? > > Thank you ! > http://jinja.pocoo.org/ -- https://mail.python.org/mailman/listinfo/python-list