Trending questions in Edureka Community

0 votes
1 answer

How to get an absolute file path in Python?

Hello @kartik, Try this out: >>> import os >>> os.path.abspath("mydir/myfile.txt") 'C:/example/cwd/mydir/myfile.txt' Also ...READ MORE

Dec 7, 2020 in Python by Niroj
• 82,800 points
1,164 views
0 votes
1 answer

How to access the user profile in a Django template?

Hello @kartik, In your profile model provide related_name user ...READ MORE

Jul 29, 2020 in Python by Niroj
• 82,800 points
6,828 views
0 votes
0 answers

what is cannot find symbol this(SimpleTimeLimiter.create(THREAD_POOL));

Hi, Through command line, I'm trying to compile ...READ MORE

Nov 6, 2020 in Java by zaraaq
• 270 points

edited Nov 6, 2020 by Gitika 2,568 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
8,360 views
0 votes
1 answer

How do I change the working directory in Python?

Hello @kartik, use os.chdir like this: os.chdir("/path/to/change/to") By the way, if you ...READ MORE

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

How to download a file with Node.js without using third-party libraries?

Hii, You can create an HTTP GET request and pipe ...READ MORE

Nov 24, 2020 in Node-js by Niroj
• 82,800 points
1,718 views
0 votes
1 answer

Error in library(data.table) : there is no package called ‘data.table’

Hi@akhtar, You need to install the package in ...READ MORE

Oct 6, 2020 in Data Analytics by MD
• 95,460 points
3,847 views
0 votes
1 answer

How to use BoxDecoration to a Container widget to draw an image?

Hi@akhtar, The BoxDecoration class provides a variety of ways ...READ MORE

Aug 9, 2020 in Others by MD
• 95,460 points
6,337 views
0 votes
1 answer

How do I retrieve the Width and Height from this event object?

Hello @kartik, Use: <div (window:resize)="onResize($event)" onResize(event) { event.target.innerWidth; } or using ...READ MORE

Sep 8, 2020 in Angular by Niroj
• 82,800 points
5,050 views
0 votes
2 answers

How to run Elasticsearch as root user in Linux machine?

Step 1: Pull images of elastic search ...READ MORE

Jun 19, 2020 in ELK Stack by PAWAN
• 380 points
8,517 views
0 votes
0 answers

AttributeError: 'numpy.int32' object has no attribute 'map'

can any one suggest solution data['isLarge'] = data.size.map({'small' ...READ MORE

Sep 5, 2020 in Python by Mohammed
• 120 points
5,207 views
0 votes
1 answer

Scrolling to element using webdriver?

You are trying to run Java code ...READ MORE

Dec 3, 2020 in Selenium by Gitika
• 65,730 points
1,317 views
+1 vote
2 answers

I'm unable to build my code in Jenkins. Getting the error shown below.

Hi, @Ashutosh, Do you have a pom.xml in ...READ MORE

Aug 3, 2020 in Jenkins by Gitika
• 65,730 points
6,550 views
0 votes
1 answer

What does the below code print?

Option d) Run time error. READ MORE

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

Error:Object of class Illuminate\Database\MySqlConnection could not be converted to string

Hello @kartik, The use keyword is what you need: $id = ...READ MORE

Sep 24, 2020 in Laravel by Niroj
• 82,800 points
4,343 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
7,312 views
0 votes
1 answer

Is it possible to use multiple dataset for one report?

Yes, of course, you can load a few ...READ MORE

Oct 29, 2020 in Power BI by Gitika
• 65,730 points
2,844 views
0 votes
1 answer

How to delete an Auto Scaling group in AWS?

You can delete the specified Auto Scaling group. ...READ MORE

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

can't we use selenium for frontend testing ?

Hello @aminegac, If you need pretty icons, platform ...READ MORE

Dec 2, 2020 in Selenium by Niroj
• 82,800 points
1,348 views
0 votes
1 answer

From the below code. what is the most appropriate next step in ML process?

Hi@ritu, The most appropriate step according to me ...READ MORE

Nov 25, 2020 in Apache Spark by MD
• 95,460 points
1,667 views
0 votes
1 answer

How to delete confirmation in laravel?

Hello @kartik, If this is your link: <a href="#" ...READ MORE

Dec 4, 2020 in Laravel by Niroj
• 82,800 points
1,253 views
0 votes
1 answer

How to configure the Nginx server in AWS with Ansible Playbook?

Hi@akhtar, To configure the Nginx server in AWS, ...READ MORE

Oct 12, 2020 in Ansible by MD
• 95,460 points
3,540 views
0 votes
1 answer

How to simplify this Laravel PHP code to one Eloquent query?

Hello @kartik, You create realtionship between both table friend and user in ...READ MORE

Dec 1, 2020 in Laravel by Niroj
• 82,800 points
1,380 views
0 votes
1 answer

How to change to an older version of Node.js?

Hello, Install specific version of node sudo npm cache ...READ MORE

Nov 24, 2020 in Node-js by Niroj
• 82,800 points
1,678 views
0 votes
1 answer

How to pass data through URL and access through controller in Laravel?

Hello, You can  first refer how to  Create controller through ...READ MORE

Mar 18, 2020 in Laravel by Niroj
• 82,800 points
12,525 views
0 votes
1 answer

i am getting an error on pycharm while installing packages

Hi, @There, $ pip install gevent --pre $ pip ...READ MORE

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

Please provide a shell script which runs to migrate from SVN to GIT

Hi@shashi, You can run the git-svn command. If ...READ MORE

Nov 27, 2020 in Other DevOps Questions by MD
• 95,460 points
1,589 views
0 votes
0 answers

i want to create a generic method it should call when tescase is failed

Hi , i want to create a generic ...READ MORE

Dec 17, 2020 in Selenium by Sri
• 3,190 points
721 views
0 votes
1 answer

How to change an IAM role session duration?

Hi@akhtar, You can update the IAM role from ...READ MORE

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

What are the real time challenges faced while working with git, jenkins, docker and ansible in your project ?

Hi@Shashi, It depends on your use case. How ...READ MORE

Oct 27, 2020 in DevOps Tools by MD
• 95,460 points
2,905 views
0 votes
1 answer

How to run Azure CLI in a Docker container?

H@akhtar, You can use Docker to run a ...READ MORE

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

How to give a task name in Ansible?

Hi@akhtar, You can give the task name in ...READ MORE

Aug 2, 2020 in Ansible by MD
• 95,460 points
6,593 views
0 votes
1 answer

How can I get enum possible values in a MySQL database?

Hello @kartik, I have a codeigniter version for ...READ MORE

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

Can we patch azure linux vm using ansible?

Hi@avinash, You can connect your Azure VM from ...READ MORE

Oct 29, 2020 in Linux Administration by akhtar
• 38,260 points
2,805 views
0 votes
1 answer

Error is "invalid literal for int() with base 10: ' ' "

This error is caused because we try ...READ MORE

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

Reset the SSH configuration on a VM in Azure.

Hi@akhtar, It is required to change the SSH ...READ MORE

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

How to create an encrypted bucket in AWS using Ansible Playbook?

Hi@akhtar, Sometimes it is required to encrypt the ...READ MORE

Dec 4, 2020 in Ansible by MD
• 95,460 points
1,238 views
0 votes
1 answer

How to create tags for a cluster in AWS RedShift?

Hi@akhtar, You can add tags to a cluster. A ...READ MORE

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

How to unzip a file with php?

Hello @kartik. PHP has built-in extensions for dealing ...READ MORE

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

How to set path if java is installed in E drive or D drive rather than c

Hello, @Amazing, It doesn't really matter where you ...READ MORE

Sep 1, 2020 in Java by Roshni
• 10,440 points

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

I want to swap from AWS to linux.

Hi@Abdullah, Are you talking about swap partition in ...READ MORE

Dec 9, 2020 in Linux Administration by MD
• 95,460 points
1,017 views
0 votes
1 answer

How to insert data into Cassandra table using Spark DataFrame?

Hi@akhtar, You can write the spark dataframe in ...READ MORE

Sep 21, 2020 in Apache Spark by MD
• 95,460 points
4,416 views
0 votes
1 answer

How can I store and retrieve images from a MySQL database using PHP?

Hello @kartik, First you create a MySQL table ...READ MORE

Oct 29, 2020 in Laravel by Niroj
• 82,800 points
2,770 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
7,911 views
0 votes
1 answer

How can I import data from mysql to hive tables with incremental data?

Hi@dharmendra, It is common to perform one-time ingestion ...READ MORE

Nov 23, 2020 in Big Data Hadoop by MD
• 95,460 points
1,687 views
0 votes
1 answer

How to write ansible playbook to setup ubuntu workstation and install any updates on it

Hi@Shashi, Ansible has one module named ec2. This is ...READ MORE

Nov 19, 2020 in Ansible by MD
• 95,460 points
1,860 views
0 votes
2 answers

How to Validate the real time application for which the input will be refreshed for every 4 s in the UI screen?

Hi, @Savitha, It can be achieved, just ask ...READ MORE

Nov 20, 2020 in Selenium by anonymous
• 65,730 points
1,792 views
0 votes
1 answer

While lunching chrome browser in eclipse in selenium

Hi, @There, set webdriver.chrome.driver instead of webdriver.chromedriver.driver System.setProperty("webdriver.chromedriver.driver", ...READ MORE

Dec 7, 2020 in Selenium by Gitika
• 65,730 points
1,120 views
0 votes
1 answer

I installed windows 10 through vmware workstation . I want to connect remote machine using python winrm im getting error

Hey, @Natraj, This basically means that no response ...READ MORE

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

Page scroll up or down in Selenium WebDriver (Selenium 2) using java

Scenario/Test steps: 1. Open a browser and navigate ...READ MORE

Dec 3, 2020 in Selenium by Gitika
• 65,730 points
1,235 views