Trending questions in Edureka Community

0 votes
1 answer

How to generate all permutations of a list?

Hello @kartik, Try this: def permutations(head, tail=''): ...READ MORE

Nov 17, 2020 in Python by Niroj
• 82,800 points
1,849 views
0 votes
1 answer

How to run Kubectl exec command to login inside a Pod?

Hi Guys, You can use the below-given command ...READ MORE

Jun 8, 2020 in Kubernetes by MD
• 95,460 points
8,879 views
0 votes
1 answer

Calling a function of a module by using its name (a string).

Assuming module foo with method bar: import foo method_to_call = getattr(foo, 'bar') result ...READ MORE

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

How do I parse XML in Python?

First build an Element instance root from the XML, ...READ MORE

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

How to recover a dropped stash in Git?

Hi@akhtar, You can create a separate branch for ...READ MORE

Nov 22, 2020 in Git & GitHub by MD
• 95,460 points
1,668 views
0 votes
1 answer

How to create an image from an existing disk in Azure?

Hi@akhtar, Sometimes we need to create a custom ...READ MORE

Nov 13, 2020 in Azure by MD
• 95,460 points
2,020 views
0 votes
1 answer

Difference between Pig and Hive? Why have both? [closed]

The hive was designed to appeal to ...READ MORE

Nov 20, 2020 in Big Data Hadoop by Gitika
• 65,730 points
1,711 views
0 votes
1 answer

What is the difference between visual studio and idle in python programming??

Both are actually IDE-s I don't know ...READ MORE

Oct 16, 2020 in Python by Gitika
• 65,730 points
3,220 views
0 votes
1 answer

Does Python have a string 'contains' substring method?

You can use the in operator: if "blah" not in ...READ MORE

Nov 26, 2020 in Python by Gitika
• 65,730 points
1,449 views
0 votes
1 answer

How can I get a list of locally installed Python modules?

Do not use with pip > 10.0! My ...READ MORE

Nov 26, 2020 in Python by anonymous
• 65,730 points
1,446 views
0 votes
1 answer

How to fix the session_register() deprecated issue?

Hello, Use $_SESSION directly to set variables. Like this: $_SESSION['name'] = 'stack'; Instead ...READ MORE

Nov 22, 2020 in PHP by Niroj
• 82,800 points
1,617 views
0 votes
1 answer

Which is the best Python web framework for beginners?

Go for Django . It's easy and ...READ MORE

Nov 18, 2020 in Python by Jayant Kumar
1,817 views
0 votes
1 answer

How to reset the changes in Git?

Hi@MD, Reset command can be used to undo ...READ MORE

Nov 20, 2020 in Git & GitHub by akhtar
• 38,260 points
1,717 views
0 votes
1 answer

What is the difference between Docker compose and Docker file, when I can use volume and configs in Docker compose?

Docker-compose is in YAML and the docker ...READ MORE

Oct 23, 2020 in Docker by Kusha
2,905 views
0 votes
1 answer

How to list down all the distributions in Cloudfront?

Hi@akhtar, You can list down all the distributions ...READ MORE

Nov 2, 2020 in AWS by MD
• 95,460 points
2,512 views
0 votes
0 answers

Apache maven vs Eclipse maven plugin

Hi, I want to install maven but don't ...READ MORE

Nov 25, 2020 in Java by zaraaq
• 270 points
1,550 views
+1 vote
1 answer

How to check out a remote Git branch?

Hi@akhtar, You can use the git checkout command ...READ MORE

Nov 21, 2020 in Git & GitHub by MD
• 95,460 points
1,623 views
0 votes
1 answer

How do I make an asynchronous GET request in PHP?

Hello @kartik, Works with both POST and GET ...READ MORE

Oct 22, 2020 in PHP by Niroj
• 82,800 points
2,954 views
0 votes
1 answer

Error: reverting ./composer.json to its original content

Hello @kartik, I used to use this: composer require ...READ MORE

Sep 11, 2020 in Laravel by Niroj
• 82,800 points
4,719 views
0 votes
1 answer

How to update aws lambda function using aws cli?

Hi@akhtar, You can update your Lambda function in ...READ MORE

Sep 23, 2020 in AWS by MD
• 95,460 points
4,228 views
0 votes
1 answer

How to stop event propagation with inline onclick attribute?

Hello @kartik, Use event.stopPropagation(). <span onclick="event.stopPropagation(); alert('you clicked inside the ...READ MORE

Sep 23, 2020 in Java-Script by Niroj
• 82,800 points
4,197 views
0 votes
1 answer

File not found exception while processing the spark job in yarn cluster mode with multinode hadoop cluster

Hi@Ganendra, I am not sure what's the issue, ...READ MORE

Jul 30, 2020 in Apache Spark by MD
• 95,460 points
6,589 views
+3 votes
6 answers

Are the S3 buckets in AWS, Region Specific?

Yes S3 buckets are region specific. When you ...READ MORE

Oct 16, 2018 in Cloud Computing by Rijo
36,357 views
0 votes
1 answer

How to return database table name in Laravel?

Hello @kartik, There is a public getTable() method ...READ MORE

Sep 24, 2020 in Laravel by Niroj
• 82,800 points
4,143 views
0 votes
1 answer

If i enable zookeeper secrete manager getting java file not found

Hey, @Shilpa, What did you set the ownership ...READ MORE

Nov 23, 2020 in Big Data Hadoop by Gitika
• 65,730 points
1,599 views
0 votes
1 answer

How do I delete an azure account? What's the Procedure for cancelling azure subscription?

You can cancel your Azure subscription in ...READ MORE

Jan 13, 2020 in Azure by Sirajul
• 59,190 points
15,164 views
0 votes
1 answer

How to install PyTorch?

Here are the steps you can follow:  Install Python. ...READ MORE

Oct 29, 2020 in Python by Gitika
• 65,730 points
2,658 views
0 votes
1 answer

Deployed Django project on heroku But I don't know which database is it using. Is there a way to know that So that I can login to admin page?

If you don't configure one you might ...READ MORE

Nov 12, 2020 in Python by anonymous
• 65,730 points
2,021 views
+1 vote
1 answer

How to download a file at a specified location through python and selenium using Chrome driver

Create a profile for chrome and define ...READ MORE

Jul 11, 2018 in Selenium by Samarpit
• 5,910 points
38,928 views
0 votes
1 answer

How to scale the node pool in a managed Kubernetes cluster in Azure?

Hi@akhtar, A node pool is a group of nodes within a ...READ MORE

Nov 17, 2020 in Azure by MD
• 95,460 points
1,821 views
0 votes
1 answer

How to export the template used for a deployment in Azure?

Hi@akhtar, You can export the deployment available in ...READ MORE

Nov 16, 2020 in Azure by MD
• 95,460 points
1,885 views
0 votes
1 answer

How to get access credentials for a managed Kubernetes cluster in Azure?

Hi@akhtar, After creating the Kubernetes Cluster, you need ...READ MORE

Nov 17, 2020 in Azure by MD
• 95,460 points
1,832 views
0 votes
0 answers

What is the output of the following code? [closed]

What is the output of the following ...READ MORE

Nov 25, 2020 in Apache Spark by Edureka
• 200 points

closed Nov 26, 2020 by MD 1,529 views
0 votes
1 answer

How to change default block size in Hadoop Cluster?

Hi@akhtar, You can change the default block size ...READ MORE

Oct 3, 2020 in Big Data Hadoop by MD
• 95,460 points
3,770 views
0 votes
1 answer

IOException: All datanodes are bad.

Hi@akhtar, As we know HDFS works in a ...READ MORE

Oct 15, 2020 in Big Data Hadoop by MD
• 95,460 points
3,220 views
0 votes
1 answer

Error:Pip install: can't open file pip, or Parent module '' not loaded

Hello @kartik, Assuming you have pip installed and ...READ MORE

Jul 3, 2020 in Python by Niroj
• 82,800 points
7,751 views
0 votes
1 answer

How to Determine if page is valid in JavaScript - ASP.NET?

Hello @kartik,  Make the call on an input ...READ MORE

Sep 9, 2020 in Java-Script by Niroj
• 82,800 points
4,783 views
0 votes
1 answer

How can I take a screenshot with Selenium WebDriver?

Yes, it is possible. The following example ...READ MORE

Nov 27, 2020 in Selenium by Gitika
• 65,730 points
1,399 views
0 votes
1 answer

AssertionError: <class 'numpy.ndarray'>

Hi, @There, The traceback module and sys.exc_info are ...READ MORE

Oct 19, 2020 in Python by anonymous
• 65,730 points
3,056 views
0 votes
1 answer

How to enable Kubernetes addons in Azure?

Hi@akhtar, Azure Kubernetes Service (AKS) offers serverless Kubernetes, an ...READ MORE

Nov 17, 2020 in Azure by MD
• 95,460 points
1,824 views
0 votes
1 answer

ImportError: No module named requests

Hello, To install requests module for Python2: $ sudo apt-get install ...READ MORE

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

How to check permission inside a template in Django?

Hello @kartik, To check for permissions in templates, ...READ MORE

Aug 7, 2020 in Python by Niroj
• 82,800 points
6,190 views
+1 vote
2 answers

How to click on sing up button using java in selenium i am able to open page but not able to click

For a software testing services company while ...READ MORE

Sep 17, 2020 in Selenium by Vishal
4,348 views
0 votes
1 answer

How to execute scala programming?

We can execute a Scala program in ...READ MORE

Nov 16, 2020 in Big Data Hadoop by Gitika
• 65,730 points
1,828 views
0 votes
1 answer

How to create user and password in Windows EC2 instance using boto3 Script?

Hi, I don't think AWS will allow you ...READ MORE

Sep 23, 2020 in DevOps on Cloud by MD
• 95,460 points
4,173 views
0 votes
1 answer

How to update a comment on a commit in AWS CodeCommit?

Hi@akhtar, You can replace the contents of a comment. The ...READ MORE

Nov 24, 2020 in AWS by MD
• 95,460 points
1,480 views
0 votes
1 answer

How to create a virtual MFA device using AWS CLI?

Hi@akhtar, You can create a new virtual MFA device ...READ MORE

Nov 3, 2020 in AWS by MD
• 95,460 points
2,386 views
0 votes
1 answer

Error occurred. Unable to load drag and drop problem.

You can solve this by logging in to ...READ MORE

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

Why I'm Getting ValueError?

Here is my code: import pandas as p import ...READ MORE

Nov 28, 2020 in Python by Rohan
• 200 points

edited Nov 30, 2020 by Niroj 1,345 views
0 votes
1 answer

How to get current PHP page name?

Hello @kartik, You can use basename() and $_SERVER['PHP_SELF'] to get current page ...READ MORE

Aug 28, 2020 in PHP by Niroj
• 82,800 points
5,313 views