Re: Problem

2020-10-04 Thread Mirko via Python-list
Am 03.10.2020 um 17:25 schrieb Dennis Lee Bieber: > On Fri, 2 Oct 2020 21:47:38 +0200, Hexamorph declaimed > the following: > > >> >> - Add a folder named "Python.org " (or similar) to the >> desktop with shortcuts to Python, IDLE and the CHM. >> >> - Add a checkbox (default enabled) like "Start

Collecting more feedback about contributing to Python

2020-10-04 Thread Tal Einat
Have you tried contributing to the development of Python itself, or have considered doing so? I'd like to hear your thoughts and experiences! I'm collecting such information to guide work during the upcoming core-dev sprint on making contribution easier and friendlier. You can reach out publicly o

Re: python show folder files and not subfolder files

2020-10-04 Thread Cameron Simpson
On 04Oct2020 02:56, pascal z wrote: >On Thursday, September 24, 2020 at 4:37:07 PM UTC+2, Terry Reedy wrote: >> Read >> https://docs.python.org/3/faq/programming.html#what-is-the-most-efficient-way-to-concatenate-many-strings-together > >Thanks for this tip. I do think it's better to use lists tha

Re: python if and same instruction line not working

2020-10-04 Thread MRAB
On 2020-10-04 10:35, pascal z via Python-list wrote: On Tuesday, September 29, 2020 at 5:28:22 PM UTC+2, MRAB wrote: On 2020-09-29 15:42, pascal z via Python-list wrote: > I need to change the script commented out to the one not commented out. Why? > > # for x in sorted (fr, key=str.lower)

Re: ValueError: arrays must all be same length

2020-10-04 Thread Tim Williams
On Sun, Oct 4, 2020 at 8:39 AM Tim Williams wrote: > > > On Fri, Oct 2, 2020 at 11:00 AM Shaozhong SHI > wrote: > >> Hello, >> >> I got a json response from an API and tried to use pandas to put data into >> a dataframe. >> >> However, I kept getting this ValueError: arrays must all be same leng

Re: ValueError: arrays must all be same length

2020-10-04 Thread Tim Williams
On Fri, Oct 2, 2020 at 11:00 AM Shaozhong SHI wrote: > Hello, > > I got a json response from an API and tried to use pandas to put data into > a dataframe. > > However, I kept getting this ValueError: arrays must all be same length. > > Can anyone help? > > The following is the json text. Regard

Re: python show folder files and not subfolder files

2020-10-04 Thread pascal z via Python-list
On Thursday, September 24, 2020 at 4:37:07 PM UTC+2, Terry Reedy wrote: > On 9/23/2020 7:24 PM, pascal z via Python-list wrote: > > Please advise if the following is ok (i don't think it is) > > > > #!/usr/bin/env python3 > > # -*- coding: utf-8 -*- > > > > import os > > > > csv_contents = "" >

Re: python if and same instruction line not working

2020-10-04 Thread pascal z via Python-list
On Tuesday, September 29, 2020 at 5:28:22 PM UTC+2, MRAB wrote: > On 2020-09-29 15:42, pascal z via Python-list wrote: > > I need to change the script commented out to the one not commented out. Why? > > > > # for x in sorted (fr, key=str.lower): > > # tmpstr = x.rpartition(';')[2] >

Re: ValueError: arrays must all be same length

2020-10-04 Thread Christian Gollwitzer
Am 02.10.20 um 14:34 schrieb Shaozhong SHI: Hello, I got a json response from an API and tried to use pandas to put data into a dataframe. However, I kept getting this ValueError: arrays must all be same length. Can anyone help? The following is the json text. What do you expect the dataf