pyflowchart icon indicating copy to clipboard operation
pyflowchart copied to clipboard

CLI running `python3 -m pyflowchart simple.py` got no outputs

Open cdfmlr opened this issue 3 years ago • 0 comments

People complain to me about pyflowchart outputting nothing! Here is an example:

test51f7b490-9c2a-4267-84a4-3006e144e08e jpg

Where simple.py is defined as:

from pkgutil import get_data

def foo(a, b):
    if a:
        print("a")
    else:
        for i in range(3):
            print("b")
    return a + b

Awfully strange it is that pyflowchart works well on my mac for the instance above:

testda96b50f-a211-43cf-9a33-e2fe718ef31e jpg

Whatever I know at the moment is that the described wrong behavior may be another bug related to the Windows :(

To handle this, I need more feedback.

cdfmlr avatar Jun 15 '22 07:06 cdfmlr