Python Tutorial

How To Use Python Openpyxl To Copy Excel Sheet Data In Same And Different Excel File

In this article, i will tell you how to use python openpyxl library to copy one excel sheet data to another excel sheet, the two excel sheet can be in same excel file or different excel file. If you do not know openpyxl library, you can read article How To Create / Load Excel File …

How To Use Python Openpyxl To Copy Excel Sheet Data In Same And Different Excel File Read More »

How To Drop MongoDB Database And Collection Use Pymongo In Python

In previous article ( How To Connect MongoDB And Create Database Collection In Python Source Code ), we have tell you how to connect to mongoDB server, how to create database and collection use pymongo library in python. In this article we will show you example about how to delete mongoDB collection and database use …

How To Drop MongoDB Database And Collection Use Pymongo In Python Read More »

How To Change Python Interpreter In Eclipse Pydev Project To Use Different Python Virtual Environment Library

When i develop a python program in eclipse pydev project, i need to import a package pymongo into this python program like below source code. import pymongo if __name__ == ‘__main__’: pass But it shows an error message Unresolved import: pymongo in the source code, you can see this error message when you move your mouse …

How To Change Python Interpreter In Eclipse Pydev Project To Use Different Python Virtual Environment Library Read More »

How To Fix Failed To Unlink Socket File Error When Start Mongo DB On MacOS

When i start mongo db on macOS console by run command mongod, i got below error message. {“t”:{“$date”:”2020-09-09T10:45:30.049+08:00″},”s”:”E”,  “c”:”NETWORK”,  “id”:23024,   “ctx”:”initandlisten”,”msg”:”Failed to unlink socket file”,”attr”:{“path”:”/tmp/mongodb-27017.sock”,”error”:”Permission denied”}}