Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-19 Thread Cameron Simpson
On 19Aug2020 08:53, Chris Green wrote: >I have quite a lot of things installed with pip, however I've never >had this problem with dependencies before. Adding to the fun is that >my system has still got Python 2 as the default Python so I have to >run pip3 explicitly to get Python 3 code. My app

Re: Python Pandas split Date in day month year and hour

2020-08-19 Thread Tim Williams
On Wed, Aug 19, 2020 at 1:43 PM J Conrado wrote: > > > Hi, > > > I'm satarting using Pandas to read excel. I have a meteorological > synoptic data and I have for date: > > > 0 2017-11-01 00:00:00 > 1 2017-11-01 03:00:00 > 2 2017-11-01 06:00:00 > 3 2017-11-01 09:00:00 > 4 2017-11-01 12:0

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-19 Thread Vincent Vande Vyvre
Le 19/08/20 à 10:15, Robin Becker a écrit : > On 18/08/2020 20:05, Vincent Vande Vyvre wrote: > . >>> >> Hi, >> >> Two solutions: >> 1. Install exiv2-dev and py3exiv2 with pip >> $ sudo apt-get install libexiv2-dev >> $ sudo pip3 install py3exiv2 >> >> 2. Install my ppa >>    

RE: Python Pandas split Date in day month year and hour

2020-08-19 Thread Steve
0 2017-11-01 00:00:00 If you are reading it is as a line into python, then it is a tuple and can be parsed accordingly: Nb = YourdataLIne[0:1] #Line Number Yr = YourDataLine[3:7]#Year Da = YourDataLine[9:11] #Day Mo = YourDataLine[13:14] #Month Hr = YourDataLine[16:1

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-19 Thread Tim Daneliuk
On 8/19/20 3:29 PM, Ethan Furman wrote: > On 8/19/20 12:40 PM, Tim Daneliuk wrote: >> On 8/19/20 2:00 PM, Karen Shaeffer wrote: > >>> Considering all your posts on this thread, it is reasonable to infer you >>> have some ideological motivations. >> >> My motivation was to demonstrate that if peop

[closed] Final statement from Steering Council on politically-charged commit messages

2020-08-19 Thread Ethan Furman
This thread is now closed. Thank you for your cooperation. -- ~Ethan~ Python List Moderator -- https://mail.python.org/mailman/listinfo/python-list

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-19 Thread Calvin Spealman
Tim, Technology is political. Deal with it. Signed, Common Fucking Sense On Wed, Aug 19, 2020 at 4:02 PM Tim Daneliuk wrote: > On 8/19/20 1:10 PM, J. Pic wrote: > > Tim, don't you also think that statements should be backed by > > evidence, even more if they are particularly accusatory ? > > >

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-19 Thread Ethan Furman
On 8/19/20 12:40 PM, Tim Daneliuk wrote: On 8/19/20 2:00 PM, Karen Shaeffer wrote: Considering all your posts on this thread, it is reasonable to infer you have some ideological motivations. My motivation was to demonstrate that if people of your ilk are free to peddle their worldview, Un

Re: Python Pandas split Date in day month year and hour

2020-08-19 Thread Skip Montanaro
> I would like know how can I get for this array the values for day, month > and hour: > > 2017-11-01 03:00:00 year = 2017 month = 11day = 1and > hour = 3 Pandas has a datetime type. You should probably be using it. It's been awhile (a year at least), but if your datetime co

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-19 Thread Tim Daneliuk
On 8/19/20 1:10 PM, J. Pic wrote: > Tim, don't you also think that statements should be backed by > evidence, even more if they are particularly accusatory ? > > We'll be lucky if S&W's editor doesn't sue the PSF for slandering for > publishing that S&W "upholds white supremacy". > As a general

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-19 Thread Tim Daneliuk
On 8/19/20 2:00 PM, Karen Shaeffer wrote: > Where you conclude with: "Methinks there is an ideological skunk in the > parlor …” > > Considering all your posts on this thread, it is reasonable to infer you have > some ideological motivations. My motivation was to demonstrate that if people of yo

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-19 Thread J. Pic
On Wed, Aug 19, 2020 at 3:33 AM Tim Daneliuk wrote: > On 8/18/20 6:34 PM, rmli...@riseup.net wrote: > > I would kindly recommend that folks just educate themselves on what > > ... > > Resources: > > The Invention of the White Race: Volume II: > http://ouleft.org/wp-content/uploads/Invention-White

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-19 Thread Karen Shaeffer via Python-list
> On Aug 19, 2020, at 8:47 AM, Tim Daneliuk wrote: > > On 8/19/20 8:35 AM, Alexandre Brault wrote: >> I've not seen anyone objecting to the idea of removing the reference to >> Strunk and White in favour of the underlying message of "be understandable >> by others who may read your comments"

Re: LittleRookie

2020-08-19 Thread Igor Korot
Hi, Chris, On Wed, Aug 19, 2020 at 1:01 PM Chris Angelico wrote: > > On Thu, Aug 20, 2020 at 3:11 AM Igor Korot wrote: > > > > Dennis, > > > > On Wed, Aug 19, 2020 at 11:26 AM Dennis Lee Bieber > > wrote: > > > > > > On Tue, 18 Aug 2020 22:23:28 +, dbsan...@gmail.com (Jamelaumn) > > > decla

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-19 Thread J. Pic
Tim, don't you also think that statements should be backed by evidence, even more if they are particularly accusatory ? We'll be lucky if S&W's editor doesn't sue the PSF for slandering for publishing that S&W "upholds white supremacy". -- https://mail.python.org/mailman/listinfo/python-list

Re: Python Pandas split Date in day month year and hour

2020-08-19 Thread Brian Oney via Python-list
On August 19, 2020 7:32:45 PM GMT+02:00, J Conrado wrote: > > >Hi, > > >I'm satarting using Pandas to read excel. I have a meteorological >synoptic data and I have for date: > > >0   2017-11-01 00:00:00 >1   2017-11-01 03:00:00 >2   2017-11-01 06:00:00 >3   2017-11-01 09:00:00 >4   2017-11-01

Re: LittleRookie

2020-08-19 Thread Chris Angelico
On Thu, Aug 20, 2020 at 3:11 AM Igor Korot wrote: > > Dennis, > > On Wed, Aug 19, 2020 at 11:26 AM Dennis Lee Bieber > wrote: > > > > On Tue, 18 Aug 2020 22:23:28 +, dbsan...@gmail.com (Jamelaumn) > > declaimed the following: > > > > >i would say i'm new at programing i have a year of experie

Python Pandas split Date in day month year and hour

2020-08-19 Thread J Conrado
Hi, I'm satarting using Pandas to read excel. I have a meteorological synoptic data and I have for date: 0   2017-11-01 00:00:00 1   2017-11-01 03:00:00 2   2017-11-01 06:00:00 3   2017-11-01 09:00:00 4   2017-11-01 12:00:00 ..  ... 229 2017-11-30 09:00:00 230 2017-11-30 12

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-19 Thread Tim Daneliuk
On 8/18/20 12:18 PM, gia wrote: > That's why I picked Math, it is also universally accepted, it's very > strict, and it leaves the reader to decide its color based on themselves > (it's not white btw :) Sorry, but when it comes to the demands of the woke, you are not immune. Reported widely ear

Re: LittleRookie

2020-08-19 Thread Igor Korot
Dennis, On Wed, Aug 19, 2020 at 11:26 AM Dennis Lee Bieber wrote: > > On Tue, 18 Aug 2020 22:23:28 +, dbsan...@gmail.com (Jamelaumn) > declaimed the following: > > >i would say i'm new at programing i have a year of experience in python(but > >i'm tottaly a noob) i guess i'm starting to lear

Re: LittleRookie

2020-08-19 Thread Ian Hill
You can access Dr.Chuck's Python for Everybody course here https://www.py4e.com/ or you need to be on the audit track on Coursera. R. ushills -- https://mail.python.org/mailman/listinfo/python-list

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-19 Thread Tim Daneliuk
On 8/19/20 8:35 AM, Alexandre Brault wrote: > I've not seen anyone objecting to the idea of removing the reference to > Strunk and White in favour of the underlying message of "be understandable by > others who may read your comments" (there were at most a few philosophical > "what is understand

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-19 Thread J. Pic
On Wed, Aug 19, 2020 at 4:06 PM Ethan Furman wrote: > The purported issue is that Strunk and White itself is doing the upholding. Still trying to find some actual evidence. -- ∞ -- https://mail.python.org/mailman/listinfo/python-list

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-19 Thread Ethan Furman
On 8/19/20 6:35 AM, Alexandre Brault wrote: What people *are* complaining about is the use of a commit message to stand on a soapbox and preach. The time to preach was when debating the change; commit messages, in many people's opinions, is not the time to espouse non-technical opinions An e

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-19 Thread Alexandre Brault
On 2020-08-18 7:34 p.m., rmli...@riseup.net wrote: There are many reasons Elements is a terrible English style guide: https://www.pure.ed.ac.uk/ws/files/8520953/PULLUM_2010_The_land_of_the_free_and_the_elements_of_style.pdf I would kindly recommend that folks just educate themselves on what whit

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-19 Thread Ethan Furman
On 8/19/20 2:55 AM, J. Pic wrote: [...] but still, I don't understand how this sentence (changed by the patch): When writing English, follow Strunk and White. Does "uphold relics of white supremacy" (as per the commit message). Thanks in advance for your simple explanation (I'm not a native

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-19 Thread J. Pic
On Wed, Aug 19, 2020 at 3:33 AM Tim Daneliuk wrote: > > I would also like to help you become educated. Be sure to check > out these literary treasures - they are the foundation of the > worldview you are espousing: > > > The_Origin of the Family, Private Property, and the State - Engels > > Das K

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-19 Thread J. Pic
My origins are Jewish Algerian which is just hated by just all parties you could think off, but can not be considered as white. Nonetheless, I'm not angry in any way, rather amused, but still, I don't understand how this sentence (changed by the patch): > When writing English, follow Strunk and W

Re: LittleRookie

2020-08-19 Thread dn via Python-list
On 19/08/2020 14:19, Jamelaumn wrote: actually for me to sign for any online courses like stanford etc... if it's needed any document i couldnt  get in because i have none i'm from brazil :v anyway thank u guys ;) i will try find something Did you try either of the two platforms mentioned pre

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-19 Thread Chris Green
Robin Becker wrote: > On 18/08/2020 20:05, Vincent Vande Vyvre wrote: > . > >> > > Hi, > > > > Two solutions: > > 1. Install exiv2-dev and py3exiv2 with pip > >     $ sudo apt-get install libexiv2-dev > >     $ sudo pip3 install py3exiv2 > > > > 2. Install my ppa > >     $ sudo ad

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-19 Thread Chris Green
Vincent Vande Vyvre wrote: > Le 18/08/20 à 19:22, Chris Green a écrit : > > I have a fairly simple Python program that I wrote a while ago in > > Python 2 that transfers images from my camera to a date ordered > > directory hierarchy on my computer. > > > > I am trying to get it to work on Python

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-19 Thread Robin Becker
On 18/08/2020 20:05, Vincent Vande Vyvre wrote: . Hi, Two solutions: 1. Install exiv2-dev and py3exiv2 with pip     $ sudo apt-get install libexiv2-dev     $ sudo pip3 install py3exiv2 2. Install my ppa     $ sudo add-apt-repository ppa:vincent-vandevyvre/vvv     $ sudo apt-ge

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-19 Thread Robin Becker
On 18/08/2020 19:45, Tim Daneliuk wrote: On 8/18/20 12:28 PM, justin walters wrote: I apologize for being ageist earlier as well. That was out of line. I am likely older than you and there is no reason to apologise. Only the profoundly undeveloped psyche takes every opportunity to find offense

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-19 Thread Chris Green
Chris Angelico wrote: > On Wed, Aug 19, 2020 at 3:36 AM Chris Green wrote: > > > > I have a fairly simple Python program that I wrote a while ago in > > Python 2 that transfers images from my camera to a date ordered > > directory hierarchy on my computer. > > > > I am trying to get it to work on