Skip to content

Instantly share code, notes, and snippets.

jradmacher

  • 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
jradmacher / ini2json_relaxed.py
Created Sep 28, 2017
convert INI file to json, skipping all garbage data
View ini2json_relaxed.py
# -*- 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.