How to split and join a string in Python

Splitting a string in Python     Splitting a string refers to dividing the whole string in sub strings.We can split a string in python using split() method.Split() method is used to split a string …

Traversing a String in Python

Traversing a String Traversing a String refers to going through the characters of the string.Basically,Traversing is the iteration of all the characters present in the string one by one.There are various ways to traverse or …

Creating a String in Python

Strings     Strings are amongst the most popular types in Python. We can create them simply by enclosing characters in quotes. Python treats single quotes the same as double quotes. Creating strings is as …

Anaconda-The Birthplace of Python Data science

Basics of Anaconda Anaconda is an open source distribution which includes python along with hundreds of other python packages,libraries and modules.It works on popular OS like on Linux,Windows,and Mac OS.Anaconda is the data science platform …

Mongodb Instance is failed to get started on Debian – with error : {“error”:{“code”:9001,”codeName”:”SocketException”,”errmsg”:”Cannot assign requested address”}}}

Mongodb 5.0 is is getting started with sudo systemctl start mongod.service on Debian 10 . Issue Below error is being raised while starting the mongodb instance 5.0 on Linux/Debian – :{"error":{"code":9001,"codeName":"SocketException","errmsg":"Cannot assign requested address"}}} Root …

Content of mongod.service file for mongod service for Red Hat Enterprise Linux or Cent OS

Please find the content of mongod.service file which needs to be created for starting mongod service.   Description=MongoDB Database Server Documentation=https://docs.mongodb.org/manual After=network-online.target Wants=network-online.target User=mongod Group=mongod Environment=”OPTIONS=-f /etc/mongod.conf” EnvironmentFile=-/etc/sysconfig/mongod ExecStart=/usr/bin/mongod $OPTIONS ExecStartPre=/usr/bin/mkdir -p /var/run/mongodb ExecStartPre=/usr/bin/chown mongod:mongod …

Beginning of c++

WHAT IS C++? C++ was discovered by Bjarne Stroustrup starting in 1979 at Bell Labs.C is powerful structured language. C is reliable, simple and easy to use and has ability to extend itself. But it is …