Trending questions in Edureka Community

0 votes
1 answer

Extracting extension from filename in Python

Yes. Use os.path.splitext >>> import os >>> filename, file_extension = ...READ MORE

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

How can I disable XDebug using php?

Hello @kartik, Find your php.ini and look for XDebug. Set xdebug ...READ MORE

Aug 27, 2020 in PHP by Niroj
• 82,800 points
5,289 views
0 votes
1 answer

Error: Unexpected token import in nodejs

Hello, Unfortunately, Node.js doesn't support ES6's import yet. To accomplish what ...READ MORE

Apr 24, 2020 in Java-Script by Niroj
• 82,800 points
10,664 views
0 votes
0 answers

How to create Personalised QR code using Python?

How to read and generate QR codes ...READ MORE

Nov 27, 2020 in Python by kartik
• 37,520 points
1,331 views
0 votes
1 answer

I am having issues installing basic packages using ansible

Hi@akhtar, Every application has some dependencies. Then only ...READ MORE

Nov 24, 2020 in Ansible by MD
• 95,460 points
1,431 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
5,836 views
0 votes
2 answers

Error saying " "hosts" E212: Can"t open file for writing" when trying to change host name on the VM

I am interested in the answer as ...READ MORE

Jan 26, 2019 in Docker by anonymous
31,096 views
0 votes
1 answer

can someone please help me with python?

Hello @ Anee, Code: num1 = int(input("Enter First Number: ")) num2 ...READ MORE

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

How to Filter for empty or NULL names in a queryset?

Hello @kartik, You could do this: Name.objects.exclude(alias__isnull=True) If you need ...READ MORE

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

2)What will be printed when the below code is executed ?

Hi, @Ritu, List(5,100,10) is printed. The take method returns the first n elements in ...READ MORE

Nov 23, 2020 in Apache Spark by Gitika
• 65,730 points
1,453 views
0 votes
1 answer

What are the different requirements for legal document translation services

Hi, @Henrycragi Thanks for the information. READ MORE

Nov 30, 2020 in Others by Gitika
• 65,730 points
1,182 views
0 votes
1 answer

DynamoDB : The provided key element does not match the schema

The following applies to the Node.js AWS ...READ MORE

Nov 13, 2018 in AWS by Priyaj
• 58,020 points
33,453 views
0 votes
1 answer

How to update a firewall rule in GCP Cloud?

Hi@akhtar, You can create a rule that allows TCP ...READ MORE

Nov 9, 2020 in GCP by MD
• 95,460 points
2,035 views
0 votes
1 answer

how to get the RDS snapshot list last 24 hours list by using the lambda functions

Hi@shalk, You can list down your RDS snapshot. ...READ MORE

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

problem with Found input variables with inconsistent numbers of samples: [1204, 134]

Hi@Alessandro, Here you used x as your feature parameter ...READ MORE

Jul 20, 2020 in Machine Learning by MD
• 95,460 points
6,898 views
0 votes
1 answer

How to create a new, empty repository in AWS CodeCommit?

Hi@akhtar, You can create a repository and associate it with ...READ MORE

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

How do you cache an image in Javascript?

Hii @kartik, You have to do three thigs: You ...READ MORE

Jun 2, 2020 in Java-Script by Niroj
• 82,800 points
8,957 views
0 votes
1 answer

I am trying to launch browser using testng but not able to execute. Please help me solving this error

Please check your chrome version, launch with ...READ MORE

Aug 25, 2020 in Selenium by Pramod
• 160 points
5,356 views
0 votes
1 answer

Error: Could not create the Java Virtual Machine in Hadoop.

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

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

How to use Redirect in the new react-router-dom of Reactjs?

Hello, To navigate to another component you can ...READ MORE

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

How to connect a dataset to a SQL Server database?

In Power BI Desktop, you connected directly ...READ MORE

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

ValueError: could not broadcast input array from shape (224,224,9) into shape (224,224)

img_shape = 224 test_data = [] test_labels = [] for ...READ MORE

Nov 6, 2020 in Python by Eyosiyas
• 120 points
2,226 views
0 votes
1 answer

Jenkins dead but pid file exists.

Hi@akhtar, There may be various reasons behind this ...READ MORE

Oct 22, 2020 in Jenkins by MD
• 95,460 points
2,800 views
0 votes
1 answer

How can I connect a docker container to two docker networks that I have created?

Hi@akhtar, It's correct that the network argument of ...READ MORE

Mar 23, 2020 in Docker by MD
• 95,460 points
12,013 views
0 votes
1 answer

How to change block size in Hadoop dynamically?

Hi@akhtar, By default, the block size is 64MB ...READ MORE

Sep 25, 2020 in Big Data Hadoop by akhtar
• 38,260 points
3,970 views
0 votes
1 answer

How to add maven goals in Jenkins declarative script?

Have you tries ssh-add? Add maven in global ...READ MORE

Sep 17, 2020 in Jenkins by Jai
4,319 views
0 votes
1 answer

How to Get the full URL in PHP?

Hello @kartik, Have a look at $_SERVER['REQUEST_URI'], i.e. $actual_link = ...READ MORE

Sep 16, 2020 in PHP by Niroj
• 82,800 points
4,356 views
0 votes
1 answer

How to print only the line which starts with P?

Hi, you might have found another way ...READ MORE

Dec 2, 2020 in Python by Tyler
• 140 points
1,649 views
0 votes
1 answer

How to dynamically compose an OR query filter in Django?

Hello @kartik, You could chain your queries as ...READ MORE

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

How to detect a mobile device in PHP?

Hello @kartik, Here is the code: <?php $useragent=$_SERVER['HTTP_USER_AGENT']; if(preg_match('/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( ...READ MORE

Sep 29, 2020 in Laravel by Niroj
• 82,800 points
3,783 views
0 votes
1 answer

How to run node.js app forever when console is closed?

Hello @kartik, You may also want to consider ...READ MORE

Oct 14, 2020 in Node-js by Niroj
• 82,800 points
3,142 views
0 votes
1 answer

can one use anonsurf, macchanger and proxies at the same time?

Hi, @Kevo, You can check this out: https://dzone.com/articles/proxychains-anonsurf-and-macchanger-enhance-your-a Hope this ...READ MORE

Nov 24, 2020 in Cyber Security & Ethical Hacking by Gitika
• 65,730 points

edited Oct 6, 2021 by Sarfaraz 1,366 views
0 votes
2 answers

Data of XYZ company is stored in sorted list. Write a program for searching specific data from that list.

https://www.youtube.com/watch?v=mqaf7vj1AdA This link has the program. It uses ...READ MORE

Dec 3, 2019 in Python by Raveendiran
• 980 points
6,045 views
0 votes
1 answer

How to add AWS tags to an existing repository in AWS CodeCommit?

Hi@akhtar, You can add or update tags for a resource ...READ MORE

Nov 25, 2020 in AWS by MD
• 95,460 points
1,329 views
0 votes
0 answers

TypeError: tuple indices must be integers or slices, not tuple

Traceback (most recent call last):   File "main.py", line ...READ MORE

Aug 25, 2020 in Python by Peddabudi srikanth
• 120 points
5,335 views
0 votes
1 answer

Error: Syntax Error: Invalid syntax

Indentation error. There should be indent before def ...READ MORE

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

How to list the subscriptions of a Azure account?

Hi@akhtar, You can get all the subscriptions for ...READ MORE

Nov 10, 2020 in Azure by MD
• 95,460 points

edited Jul 4, 2023 by Khan Sarfaraz 1,962 views
0 votes
1 answer

How to create folder in your bucket using boto3?

Using Client versioning you can create folders ...READ MORE

Nov 30, 2018 in AWS by Aniket
32,679 views
+1 vote
1 answer

'numpy.ndarray' object has no attribute 'append'

Hi@Noman, You created two empty list. And in ...READ MORE

May 17, 2020 in Python by MD
• 95,460 points
9,583 views
0 votes
2 answers

What is the difference between project management plan and project execution plan?

Take the word "Project" out of it ...READ MORE

Jul 29, 2020 in PMP by Stefan
6,410 views
0 votes
1 answer

How to Get the real width and height of an image with JavaScript?

Hello, Webkit browsers set the height and width ...READ MORE

Nov 25, 2020 in JQuery by Niroj
• 82,800 points
1,316 views
0 votes
1 answer

How to add or update a trigger in a repository in AWS CodeCommit?

Hi@akhtar, The below example demonstrates how to update triggers ...READ MORE

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

How can I update npm on Windows?

Hello @kartik, To update NPM, this worked for ...READ MORE

Jul 13, 2020 in Node-js by Niroj
• 82,800 points
7,140 views
0 votes
1 answer

How to show Image from Imagefield Django Admin ?

Hello @kartik, In your model class add a ...READ MORE

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

How to convert a UNIX Timestamp to Formatted Date String?

Hello @kartik, Try gmdate like this: <?php $timestamp=1333699439; echo gmdate("Y-m-d\TH:i:s\Z", $timestamp); ?> Hope it helps!! Thank ...READ MORE

Sep 29, 2020 in Laravel by Niroj
• 82,800 points
3,755 views
0 votes
1 answer

Spark - how the solve the below question?

option d, Runtime error READ MORE

Nov 23, 2020 in Apache Spark by Gitika
• 65,730 points
1,397 views
0 votes
1 answer

How to implement my clustering algorithm in pyspark (without using the ready library for example k-means)?

Hi@dani, As you said you are a beginner ...READ MORE

Oct 14, 2020 in Apache Spark by MD
• 95,460 points
3,119 views
0 votes
1 answer

How can one check to see if a remote file exists using PHP?

Hello @kartik, You can instruct curl to use ...READ MORE

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

How can I install pip on Windows?

Python 2.7.9+ and 3.4+ Python 3.4 (released March 2014) ...READ MORE

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

How to unstage a file in Git?

Hi@akhtar, Sometimes we accidentally add files in the ...READ MORE

Nov 19, 2020 in Git & GitHub by MD
• 95,460 points
1,559 views