Skip to content

Instantly share code, notes, and snippets.


  • Hamburg
Block or report user

Report or block jradmacher

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
jradmacher /
Created Sep 28, 2017
convert INI file to json, skipping all garbage data
# -*- coding: utf-8 -*-
import json
import sys
import re
from configparser import (ConfigParser, MissingSectionHeaderError,
ParsingError, DEFAULTSECT)
def isIniLine(line):
#filter for lines with
You can’t perform that action at this time.