python2jupyter
python2jupyter copied to clipboard
Conversion Issue: sbang & comment
Hi,
thank you for sharing this tool!
I encounter issues when converting this script with its pre-amble: https://github.com/openPMD/openPMD-api/blob/0.12.0-alpha/examples/2_read_serial.py
The header of the script reads:
#!/usr/bin/env python
"""
This file is part of the ABC.
Copyright 2018-2020 Authors
Authors: Axel Huebl
License: LGPLv3+
"""
import numpy as np
Somehow the comment This file is part of the ABC. is interpreted as code and the first two cells look like this:
#!/usr/bin/env python
"""
This file is part of the ABC.
Copyright 2018-2020 Authors
Authors: Axel Huebl
License: LGPLv3+
"""
import numpy as np
Have you seen this problem before or do you have recommendations on this?
Hi, thank you for pointing out this bug. I don't have the time to look into this now as I'm busy with school. However, we welcome pull requests from you :)