Trending questions in Edureka Community

0 votes
1 answer

"connect: Network is unreachable?" error on ping

You need to set your default gateway. ...READ MORE

Jan 23, 2019 in Linux Administration by Tina
• 31,817 views
0 votes
1 answer

How to find local IP addresses using Python's stdlib?

Hello @kartik, Try this out: import socket s = socket.socket(socket.AF_INET, ...READ MORE

Dec 8, 2020 in Python by Niroj
• 82,800 points
• 2,219 views
0 votes
1 answer

What is the difference between Python's list methods append and extend?

Appends object at the end. x = [1, ...READ MORE

Nov 30, 2020 in Python by Gitika
• 65,730 points
• 2,556 views
0 votes
1 answer

How to download hadoop jar files for adding eclipse

Hi@Manl, To import jar file in your Eclipse ...READ MORE

Jul 20, 2020 in Big Data Hadoop by MD
• 95,460 points
• 8,327 views
0 votes
1 answer

Uncaught TypeError: Cannot use 'in' operator to search for '324'

Hello @kartik, You have a JSON string, not ...READ MORE

Jun 18, 2020 in Java-Script by Niroj
• 82,800 points
• 9,687 views
0 votes
1 answer

How to make Django serve that file for download as opposed to trying to find a URL and View to display it?

Hello @kartik, You can just use the built ...READ MORE

Jul 30, 2020 in Laravel by Niroj
• 82,800 points
• 7,871 views
0 votes
0 answers

How to store and fetch nested json data from dynamodb in java

I want to maintain a book library. ...READ MORE

Sep 7, 2020 in Java by saswat
• 120 points

edited Sep 7, 2020 by Gitika • 6,236 views
0 votes
1 answer

Hey Does anybody know how to fix the unexpected indent error?

Hello, @Aarohan, As the error message indicates, you ...READ MORE

Dec 28, 2020 in Python by Gitika
• 65,730 points
• 1,382 views
0 votes
1 answer

Why is it string.join(list) instead of list.join(string)?

It's because any iterable can be joined ...READ MORE

Dec 2, 2020 in Python by Gitika
• 65,730 points
• 2,462 views
0 votes
1 answer

ValueError: arrays must all be same length

Hello, For your query you can refer this:https://www.programmersought.com/article/5321489391/ Hope ...READ MORE

Sep 21, 2020 in Python by Niroj
• 82,800 points
• 5,591 views
0 votes
1 answer

I have created python chatbot using flask framework using yml file now i want to use json file what should i do now ?

Hello @golu , Try something like this: with open(yaml_file, 'r') ...READ MORE

Nov 19, 2020 in Python by Niroj
• 82,800 points
• 3,022 views
+1 vote
2 answers

Not able to create new account in geth for private ethereum network

Looks like the account you are trying ...READ MORE

Dec 6, 2018 in Blockchain by Omkar
• 69,180 points
• 7,226 views
0 votes
1 answer

How do you split a list into evenly sized chunks?

Here's a generator that yields the chunks ...READ MORE

Dec 3, 2020 in Python by Gitika
• 65,730 points
• 2,408 views
0 votes
1 answer

how can i access my profile and assignment for pubg analysis data science webinar?

Hey, @There,  Every user who registers for the ...READ MORE

Dec 15, 2020 in Data Analytics by Gitika
• 65,730 points
• 1,933 views
0 votes
1 answer

Does edureka provide CEH course

Hey, @There We do have a course on ...READ MORE

Dec 14, 2020 in Ask us Anything! by Gitika
• 65,730 points
• 1,938 views
0 votes
1 answer

List changes unexpectedly after assignment. How do I clone or copy it to prevent this?

With new_list = my_list, you don't actually have ...READ MORE

Dec 7, 2020 in Python by Gitika
• 65,730 points
• 2,259 views
0 votes
1 answer

Error:Undefined index: barangay in C:\xampp\htdocs\TextBlast\homepage\insert.php on line 22

Hello @ Regina, First checks whether a variable is ...READ MORE

Aug 14, 2020 in PHP by Niroj
• 82,800 points
• 7,207 views
0 votes
1 answer

How to invoke a python static method inside class via string method name?

Use __import__ function to import the module by giving ...READ MORE

Dec 3, 2020 in Python by Gitika
• 65,730 points
• 2,399 views
0 votes
1 answer

16) Analytics uses _______ to tell us important things that we did not know

Hi@ritu, Analytics uses prediction to tell us important things ...READ MORE

Dec 2, 2020 in Data Analytics by MD
• 95,460 points
• 2,448 views
0 votes
1 answer

Several errors occurred during data refresh.

"Connexion successful" mean "the network connection is ...READ MORE

Nov 16, 2020 in Power BI by Gitika
• 65,730 points
• 3,168 views
0 votes
0 answers

File "<ipython-input-30-eae839ba8312>", line 11 d=dist(queryPoint,X[i]) ^ IndentationError: expected an indented block

for i in range(m):     d=dist(queryPoint,X[i]) &nb ...READ MORE

Jan 15, 2021 in Python by anonymous

edited Mar 4, 2025 • 576 views
0 votes
1 answer

Equivalent of waitForVisible/waitForElementPresent in Selenium WebDriver tests using Java?

Implicit and Explicit Waits Implicit Wait An implicit wait ...READ MORE

Dec 4, 2020 in Selenium by Gitika
• 65,730 points
• 2,349 views
0 votes
1 answer

How to pad zeroes to a string?

Strings: >>> n = '4' >>> print(n.zfill(3)) 004 And for numbers: >>> ...READ MORE

Dec 20, 2020 in Python by Gitika
• 65,730 points
• 1,689 views
0 votes
1 answer

Getting the class name of an instance?

Have you tried the __name__ attribute of the class? ie type(x).__name__ will ...READ MORE

Dec 20, 2020 in Python by Gitika
• 65,730 points
• 1,688 views
0 votes
1 answer

Error:npm install won't install devDependencies

Hello @kartik, Try: npm install --only=dev If you are worried ...READ MORE

Jul 15, 2020 in Node-js by Niroj
• 82,800 points
• 8,489 views
0 votes
1 answer

How to execute Stored Procedure from Laravel?

Hello @kartik, You can try something like this DB::select('exec ...READ MORE

Apr 3, 2020 in Laravel by Niroj
• 82,800 points
• 12,936 views
+2 votes
1 answer

How to list down all the projects in GCP Cloud?

Hi@akhtar, GCP Shell has a command named gcloud. ...READ MORE

Aug 23, 2020 in GCP by MD
• 95,460 points
• 6,746 views
0 votes
1 answer

Why does DEBUG=False setting make my django Static Files Access fail?

Hello @kartik, If you still need to server ...READ MORE

Aug 6, 2020 in Python by Niroj
• 82,800 points
• 7,530 views
0 votes
1 answer

How do I see the extensions loaded by PHP?

Hello @kartik, Running php -m will give you all the ...READ MORE

Sep 15, 2020 in PHP by Niroj
• 82,800 points
• 5,810 views
0 votes
1 answer

Error:Unresolved reference 'django' error in PyCharm

Hello @kartik, I assume you're using a virtualenv ...READ MORE

Jul 2, 2020 in Python by Niroj
• 82,800 points
• 9,041 views
0 votes
1 answer

How to Check for a Specific Type of Object in PHP

Hello @kartik, You can use instanceof: if ($pdo instanceof PDO) ...READ MORE

Oct 30, 2020 in PHP by Niroj
• 82,800 points
• 3,864 views
0 votes
1 answer

Error:npm not working after clearing cache

Hello @kartik, Try this: npm cache clean --force OR It ...READ MORE

Jul 17, 2020 in Node-js by Niroj
• 82,800 points
• 8,383 views
0 votes
1 answer

How do I search for a key of object in javascript?

Use hasOwnProperty(key) for (let i = 0; i ...READ MORE

Oct 14, 2020 in Java-Script by Niroj
• 82,800 points
• 4,542 views
0 votes
1 answer

ModuleNotFoundError: No module named 'pytest'

Hi@akhtar, You need to install pytest module in ...READ MORE

Jun 24, 2020 in Python by MD
• 95,460 points
• 9,401 views
0 votes
1 answer

How can I add new keys to a dictionary?

d = {'key': 'value'} print(d) # {'key': 'value'} d['mynewkey'] = ...READ MORE

Dec 17, 2020 in Python by Gitika
• 65,730 points
• 1,775 views
0 votes
1 answer

How to run app.js in nodejs?

Hello @kartik, Assuming I have node and npm properly installed on the ...READ MORE

Oct 13, 2020 in Node-js by Niroj
• 82,800 points
• 4,588 views
0 votes
1 answer

pandas._libs.tslib.OutOfBoundsDatetime: Out of bounds nanosecond timestamp

Hi@akhtar, I think you need to upgrade or reinstall ...READ MORE

Jul 16, 2020 in Python by MD
• 95,460 points
• 8,412 views
+2 votes
4 answers

sendKeys() not working in Selenium Webdriver

this work for me you should update your ...READ MORE

Aug 27, 2019 in Selenium by Afif
• 33,352 views
0 votes
1 answer

Import a module from a relative path?

Assuming that both your directories are real ...READ MORE

Nov 25, 2020 in Python by Gitika
• 65,730 points
• 2,732 views
0 votes
1 answer

How to GET URL parameter in PHP?

Hello @kartik, $_GET is not a function or language ...READ MORE

Sep 17, 2020 in PHP by Niroj
• 82,800 points
• 5,679 views
0 votes
1 answer

ModuleNotFoundError: No module named 'pyttsx3' || "Running setup.py install for comtypes ... error" error when installing pyttsx3

Hello, @There It depends on which version of ...READ MORE

Oct 7, 2020 in Python by Gitika
• 65,730 points
• 4,821 views
0 votes
1 answer

How to add permissions to an existing Lambda function?

Hi@akhtar, You can grant an AWS service or another ...READ MORE

Nov 5, 2020 in AWS by MD
• 95,460 points
• 3,570 views
+1 vote
1 answer

How does Hadoop process records split across block boundaries?

Interesting question, I spent some time looking ...READ MORE

Dec 7, 2020 in Big Data Hadoop by Gitika
• 65,730 points
• 2,128 views
0 votes
1 answer

How to scroll to element from bottom to top with a nice animation using Jquery?

Hello @kartik, Assuming you have a button with ...READ MORE

Sep 10, 2020 in JQuery by Niroj
• 82,800 points
• 5,970 views
0 votes
1 answer

What is the difference between webdriver.get() and webdriver.navigate()

The first thing you’ll want to do ...READ MORE

Dec 3, 2020 in Selenium by Gitika
• 65,730 points
• 2,340 views
0 votes
1 answer

How to iterate a Json file which has multiple key value pairs and also nested list as part of the file?

I think you need to create some ...READ MORE

Nov 10, 2020 in Python by Gitika
• 65,730 points
• 3,347 views
0 votes
1 answer

I'm trying to create a simple service on kubernetes

Hi@Edureka, After you run the kubeadm init command ...READ MORE

Dec 21, 2020 in DevOps & Agile by MD
• 95,460 points
• 1,589 views
0 votes
1 answer

How do I remove/delete a folder that is not empty?

import shutil shutil.rmtree('/folder_name') By design, rmtree fails on folder trees containing ...READ MORE

Dec 7, 2020 in Python by Gitika
• 65,730 points
• 2,195 views
0 votes
1 answer

How to create a zip archive of a directory in Python?

Hii, The easiest way is to use shutil.make_archive. It ...READ MORE

Nov 20, 2020 in Python by Niroj
• 82,800 points
• 2,908 views
0 votes
1 answer

How to run one command inside another command in Linux?

Hi@akhtar, You can run multiple commands in your ...READ MORE

Oct 15, 2020 in Linux Administration by MD
• 95,460 points
• 4,488 views