Skip to content

Errors about sys arguments #3

@trombz

Description

@trombz

Hello,

From the video course I typed everything as perfect as it is and no matter what framework I tried to run(Jupyter-notebook,from terminal(ipython),Colab(from google) and even also tried using Pycharm I get the following error:


ValueError Traceback (most recent call last)
Input In [72], in <cell line: 30>()
27 axes.text(text_x, text_y, text, ha='center', va='bottom')
29 # read command-line arguments for number of frames and rolls per frame
---> 30 number_of_frames = int(sys.argv[1])
31 rolls_per_frame = int(sys.argv[2])
33 sns.set_style('whitegrid') # white backround with gray grid lines

ValueError: invalid literal for int() with base 10: '-f'

I just found your github now Paul and I also copied your code to my jupyter notebook and still got the same error message. What it does mean?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions