Re: PEP 394

2018-10-19 Thread Ben Finney
Anders Wegge Keller writes: > Short and simple: Do you expect PEP 394 to change status The status of PEP 394 today is “Active”. What change of status would you expect in this Informational PEP? > or recommendation when official support for Python2 ends in 13½ months > time, or at least some tim

Re: Twython has a problem with latest urllib3

2018-10-19 Thread Cecil Westerhof
Cecil Westerhof writes: > I use Twython to post on Twitter. Yesterday I upgraded urllib3 from > 1.23 to 1.24. Since then when I do: > from twython import Twython > > I get: > /usr/local/lib/python3.5/dist-packages/requests/__init__.py:91: > RequestsDependencyWarning: urllib3 (1.24) or ch

Re: PEP 394

2018-10-19 Thread Thomas Jollans
On 19/10/2018 18:38, Marko Rauhamaa wrote: > Thomas Jollans : > >> On 2018-10-19 12:06, Marko Rauhamaa wrote: >>> Anders Wegge Keller : * python3 will refer to some version of Python 3.x. >>> >>> Untrue for macOS, ArchLinux, RHEL and CentOS. >> >> Sure it's true for *EL (it's just that python

Re: PEP 394

2018-10-19 Thread Marko Rauhamaa
Thomas Jollans : > On 2018-10-19 12:06, Marko Rauhamaa wrote: >> Anders Wegge Keller : >>> * python3 will refer to some version of Python 3.x. >> >> Untrue for macOS, ArchLinux, RHEL and CentOS. > > Sure it's true for *EL (it's just that python3 might not be installed by > default even on EL7) T

Re: PEP 394

2018-10-19 Thread Thomas Jollans
On 2018-10-19 12:06, Marko Rauhamaa wrote: > Anders Wegge Keller : >> * python2 will refer to some version of Python 2.x. > > Untrue for macOS. > >> * python3 will refer to some version of Python 3.x. > > Untrue for macOS, ArchLinux, RHEL and CentOS. Sure it's true for *EL (it's just that pytho

Re: PEP 394

2018-10-19 Thread Alexandre Brault
On 2018-10-19 06:06 AM, Marko Rauhamaa wrote: > Anders Wegge Keller : >> * python2 will refer to some version of Python 2.x. > Untrue for macOS. > >> * python3 will refer to some version of Python 3.x. > Untrue for macOS, ArchLinux, RHEL and CentOS. > >> * for the time being, all distributions shou

Re: logging output

2018-10-19 Thread Anders Wegge Keller
På Fri, 19 Oct 2018 08:05:28 -0700 (PDT) Sharan Basappa skrev: ... > delimiter=r'\s"') #data_df = pd.read_csv("BGL_MERGED.log") > logger.debug("data frame %s \n", data_df) Do this help? -- //Wegge -- http

logging output

2018-10-19 Thread Sharan Basappa
I am loading a csv file using Pandas and then logging it back into another file using logging module. Here is one sample line from input file: - 1117838570 2005.06.03 R02-M1-N0-C:J12-U11 2005-06-03-15.42.50.675872 R02-M1-N0-C:J12-U11 RAS KERNEL INFO instruction cache parity error corrected Here

Re: PEP 394

2018-10-19 Thread Marko Rauhamaa
Anders Wegge Keller : > * python2 will refer to some version of Python 2.x. Untrue for macOS. > * python3 will refer to some version of Python 3.x. Untrue for macOS, ArchLinux, RHEL and CentOS. > * for the time being, all distributions should ensure that python, if > installed, refers to the sa

Re: namedtuples anamoly

2018-10-19 Thread Vinodhini Balusamy
Thanks everyone for promptly answering my question. Answer to Gary's question, I haven't used named tuples and tried it. The way the tuple subclass getting created plus the property features i wasn't much aware of. But now i am very clear, how I set ID object and changed the interface to access I

PEP 394

2018-10-19 Thread Anders Wegge Keller
Short and simple: Do you expect PEP 394 to change status or recommendation when official support for Python2 ends in 13½ months time, or at least some time thereafter? For those that don't have the habit of memorizing PEPs, 394 is the one stating * python2 will refer to some version of Python 2