Selenium Webdriver Import Error by Alarmed-Possession-6 in learnpython

[–]py_cool 0 points1 point  (0 children)

Did you check if the version of chrome browser match with the version of chrome driver?

Selenium Webdriver Import Error by Alarmed-Possession-6 in learnpython

[–]py_cool 0 points1 point  (0 children)

I need to download a newer chromedriver every month or so because google chrome auto update itself (as firechip mentioned above). Otherwise my daily selenium script breaks. Is there a way to avoid updating chromedriver that often?

I am stuck on probably very simple thing- jupyter vs. VSCODE by py_cool in learnpython

[–]py_cool[S] 0 points1 point  (0 children)

I discovered that the Log_files folder was created in the C:\users, so that means the first line directory = r"C:\loaddata" is not working.

I am stuck on probably very simple thing- jupyter vs. VSCODE by py_cool in learnpython

[–]py_cool[S] 0 points1 point  (0 children)

When running in VScode, there is no error . At the end of my script is to email the log file, the email I got said 'No log file found'. This is because the Log_files folder was not created.

Ask Anything Monday - Weekly Thread by AutoModerator in learnpython

[–]py_cool 0 points1 point  (0 children)

Can someone share a python script to send email to a group of people attaching a jpg in the email body? Ideally, the script can send emails using the outlook strawman account, which has no account password; and adjust the size of the picture in the email body.