Kundan Singh

Kundan Singh

Python Read JSON File and Modify

Python JSON: Read and Modify a File

Changing a stored setting may mean reading its JSON file in Python. Python’s json module reads that file into Python values that a script can edit and save as JSON. I’ll explain how Python represents JSON data, then show how…

How to Get the Pythonpath in Shell?

How to Get the Pythonpath in Shell?

Importing a module makes Python look through a list of folders to find it. PYTHONPATH is an environment variable, a setting your shell passes to programs, that adds extra folders to that list when Python starts. This guide shows you…