python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
NameError: name 'driver' is not defined. Did you mean: 'webdriver'? error closing a pop-up window using Selenium
I recently started working with Selenium and I have a problem. The code opens the browser, but after that it gives an error. Here is my code:
from selenium.webdriver.support.ui import WebDriverWait
fr...
Robrut
Votes: 0
Answers: 1
How to compare type while scripting in abaqus with python
I'm trying to compare type of abaqus object, but it doesn't work. An idea ?
>>> m = mdb.models['Model-1']
>>> type(m)
<type 'Model'>
>>> type(m) == Model
NameError: na...
user18644257
Votes: 0
Answers: 1
Getting NameError when add song to queue discord.py music bot
I'm coding a discord.py music bot for my server. When I use the play command, it adds a song to the queue.
But when I try to add another second song to the queue or just check the queue, I get the fo...
Bắc Xuân
Votes: 0
Answers: 0
Name error when creating a new function in python
import math
def paint_calc(height, width, coverage):
area= height * width
num_of_cans= math.ceil(area/coverage)
width = int(input("What is the width?"))
height = int(input("Wh...
Josh
Votes: 0
Answers: 1