Python Index Page 3

New tutorials version!

We just release a new version of tutorials.technology using python pelican.

Python Index Page 3

Solved! Fiona 1.7.1 missing GeoPackage & FileGDB

If you are missing GeoPackages or ESRI FileGDB as suuported drivers, execute: pip install -I fiona --no-binary fiona. This will compile the source of Fiona and link to your installed libraries. Check here for full description of the problem.

Python Index Page 3

Two algorithms you must know for a software engineering interview

If you are pareparing for a software interview there are two graph algorithms you must know: BFS and DFS. We will use python code for examples.

Python Index Page 3

OSX: Python anaconda error when installing pip

When you install pip with "conda install pip" and you got the error "CondaOSError: OS error: failed to link", try to delete the pip package from your anaconda. See here for full details on how to solve this issue.

Python Index Page 3

How to convert integer to string in Python?

Converting an integer to string in python is straighforward to do it. Just use the built in function str(). Here we explain with more details and example hot convertion from integer to string works.

Python Index Page 3

How to Call an external command with Python?

We show how to use python to call an external program or command. We show examples with python 2 and 3

Python Index Page 3

How to solve: ModuleNotFoundError: No module named '\_sqlite3' with python3

We explain how to solve the common error -> ModuleNotFoundError: No module named '\_sqlite3' while using python3. Use sudo apt-get install libsqlite3-dev to fix the issue.

Python Index Page 3

Python: How to Parse String to a Number (Float or Integer)

We explain how to parse numeric expression like 3.144 to float or 42 to intefers using python.

Python Index Page 3

Python: how to recursively search for files traversing directories

How to search files and directories using python (recursively file search with python). Code examples for python 2 and 3.

Python Index Page 3

Windows-Build-Tools: Can't find Python executable "python" after installing

Node.js native addon build tool (node-gyp) installation fails since python was not found. A common fix is to use the parameter --add-python-to-path='true' when installin windows-build-tools, check here for more details.