PyCharm warns me about this:
days = os.listdir(os.path.join(os.path.dirname(__file__), src))
day = days[0]
mystring = day.split('.')[0] + ';' + str(entering)
expected type 'bytes', got 'str' instead
but everything seems to be str for me.. Anyway it works, but that warnings make me suspicious. Any hints?
EDIT Adding more details: Pycharm is version 2019.3.3 in Linux. Entering is int, and src is a path coming from:
p = argparse.ArgumentParser(formatter_class=argparse.RawDescriptionHelpFormatter, description="")
p.add_argument('-src', dest='source', action='store', default='results', help='source path')
args = p.parse_args()
src = args.source