Re: ElementNotInteracable Exception for Selenium Chrome webdriver

2020-06-06 Thread Kushal Kumaran
emagnun writes: > I'm using latest python and latest Selenium chrome webdriver. I'm > trying to have a simple code to search in youtube but I'm getting the > below error. Can anyone help me? > > File "search.py", line 8, in searchBox.click() > Selenium.common.exceptions.ElementNotInteractableExce

When creating a nested dictionary of dataframes, how can I name a dictionary based on a list name of the dataframe?

2020-06-06 Thread Aaron
When creating a nested dictionary of dataframes, how can I name a dictionary based on a list name of the dataframe? Given the following: # START CODE import pandas as pd cars = {'Brand': ['Honda Civic','Toyota Corolla'], 'Price': [22000,25000] } df_cars = pd.DataFrame(cars, colum

Re: Can I have a class with property named "from"

2020-06-06 Thread Terry Reedy
On 6/5/2020 6:59 PM, Ethan Furman wrote: On 06/05/2020 03:15 PM, MRAB wrote: On 2020-06-05 22:50, Ethan Furman wrote: There is no workaround that allows a keyword to be used except as a keyword, other than making it a string.  When faced with this kind of situation myself I use a synonym, li

Re: I was really uncomfort with any programming...

2020-06-06 Thread Jason C. McDonald
> I was really uncomfort with any programming,but I need to become efficient in python coding please give any tips to make interest in programming.hope your words will helpful to me.thank you Often the best way to make programming interesting is to use it to build something you care about! Ther

ElementNotInteracable Exception for Selenium Chrome webdriver

2020-06-06 Thread emagnun
I'm using latest python and latest Selenium chrome webdriver. I'm trying to have a simple code to search in youtube but I'm getting the below error. Can anyone help me? File "search.py", line 8, in searchBox.click() Selenium.common.exceptions.ElementNotInteractableException: Message: element

Re: Applied Data Science with Python - Assignment 2.3: clicking on chart to select Y values

2020-06-06 Thread MRAB
On 2020-06-06 10:34, Caledonian26 wrote: On Saturday, June 6, 2020 at 10:29:46 AM UTC+1, Chris Angelico wrote: On Sat, Jun 6, 2020 at 7:26 PM Caledonian26 wrote: > *However,* I keep getting the error: IndexError: list index out of range. Could anyone give me a helping hand as to where I am goi

Re: Can't download Pygame and Pgzero

2020-06-06 Thread Souvik Dutta
What? Souvik flutter dev On Sat, Jun 6, 2020, 8:11 PM Tushar Upadhyay wrote: > Stop all the message and mails > > On Sat, 6 Jun 2020, 6:03 pm , wrote: > > > Il giorno venerdì 5 giugno 2020 18:35:10 UTC+2, Lily Sararat ha scritto: > > > To whom it may concern, > > > I have trouble installing th

Re: Can't download Pygame and Pgzero

2020-06-06 Thread Tushar Upadhyay
Stop all the message and mails On Sat, 6 Jun 2020, 6:03 pm , wrote: > Il giorno venerdì 5 giugno 2020 18:35:10 UTC+2, Lily Sararat ha scritto: > > To whom it may concern, > > I have trouble installing the Pygame and Pgzero on Window. I based on > the instruction on the "Computer Coding Python G

Re: Can't download Pygame and Pgzero

2020-06-06 Thread edmondo . giovannozzi
Il giorno venerdì 5 giugno 2020 18:35:10 UTC+2, Lily Sararat ha scritto: > To whom it may concern, > I have trouble installing the Pygame and Pgzero on Window.  I based on the > instruction on the "Computer Coding Python Games for Kids" by Carol > Vorderman.  Nothing works.   > I tried Python 3.6

Re: Strange use of Lambda arrow

2020-06-06 Thread edmondo . giovannozzi
Have a look at: https://docs.python.org/3/library/typing.html Il giorno venerdì 5 giugno 2020 18:35:10 UTC+2, Agnese Camellini ha scritto: > Hello to everyone, lately i building up an open source project, with some > collaborator, but one of them cannot contribute any more. He is a solution > ar

Re: Shared library missing from wheel (custom build)

2020-06-06 Thread Miki Tebeka
Changed to self.get_ext_full_path(ext.name) and it works now. -- https://mail.python.org/mailman/listinfo/python-list

Shared library missing from wheel (custom build)

2020-06-06 Thread Miki Tebeka
Hi, I'm playing around with generating extension moudle to Python in Go. This is for a blog post - not production ready. The Go code is compiled to a shared library and the Python module is using ctypes to call the Go code in the shared library. I know it's know a classic extension module with

Re: Applied Data Science with Python - Assignment 2.3: clicking on chart to select Y values

2020-06-06 Thread Caledonian26
On Saturday, June 6, 2020 at 10:29:46 AM UTC+1, Chris Angelico wrote: > On Sat, Jun 6, 2020 at 7:26 PM Caledonian26 wrote: > > *However,* I keep getting the error: IndexError: list index out of range. > > Could anyone give me a helping hand as to where I am going wrong? Am I on > > the right lin

Re: Applied Data Science with Python - Assignment 2.3: clicking on chart to select Y values

2020-06-06 Thread Chris Angelico
On Sat, Jun 6, 2020 at 7:26 PM Caledonian26 wrote: > *However,* I keep getting the error: IndexError: list index out of range. > Could anyone give me a helping hand as to where I am going wrong? Am I on the > right lines? > Python always gives you a wealth of information with an exception. Most

Applied Data Science with Python - Assignment 2.3: clicking on chart to select Y values

2020-06-06 Thread Caledonian26
Hey all, I have the following code below: import pandas as pd import numpy as np from scipy import stats np.random.seed(12345) scores = [np.random.normal(32000,20,3650).mean(), np.random.normal(43000,10,3650).mean(),np.random.normal(43500,14,3650).mean(), np.random.normal(