# Path: hftools/core/exceptions.py
# class HFToolsWarning(Warning):
#     pass
# 
# class HFToolsDeprecationWarning(DeprecationWarning):
#     pass
# 
# Path: hftools/py3compat.py
# PY3 = True


import abc
import datetime
import glob as glob_module
import os
import re
import warnings
import numpy as np
    import winsound
from hftools.core.exceptions import HFToolsWarning, HFToolsDeprecationWarning
from hftools.py3compat import PY3





def reset_hftools_warnings():
    try:
        __warningregistry__.clear()
    except NameError:
        pass


def timestamp(highres=False):
    """Return time stamp string for current time

    Example: "20121026T080312"
    """
    if highres:
        return datetime.datetime.now().strftime("%Y%m%dT%H%M%S.%f")[:-3]
    else:
        return datetime.datetime.now().strftime("%Y%m%dT%H%M%S")


def warn(msg):
    warnings.warn(msg, HFToolsWarning)


def deprecate(msg):
    warnings.warn(msg, HFToolsDeprecationWarning)


# Path: hftools/core/exceptions.py
# class HFToolsWarning(Warning):
#     pass
# 
# class HFToolsDeprecationWarning(DeprecationWarning):
#     pass
# 
# Path: hftools/py3compat.py
# PY3 = True


# Path: hftools/utils.py
import abc
import datetime
import glob as glob_module
import os
import re
import warnings
import numpy as np
    import winsound
from hftools.core.exceptions import HFToolsWarning, HFToolsDeprecationWarning
from hftools.py3compat import PY3






def reset_hftools_warnings():
    try:
        __warningregistry__.clear()
    except NameError:
        pass


def timestamp(highres=False):
    """Return time stamp string for current time

    Example: "20121026T080312"
    """
    if highres:
        return datetime.datetime.now().strftime("%Y%m%dT%H%M%S.%f")[:-3]
    else:
        return datetime.datetime.now().strftime("%Y%m%dT%H%M%S")


def warn(msg):
    warnings.warn(msg, HFToolsWarning)


def deprecate(msg):
    warnings.warn(msg, HFToolsDeprecationWarning)


if PY3: