Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sys.argv #3

Open
kkarthikvk opened this issue Nov 10, 2020 · 1 comment
Open

sys.argv #3

kkarthikvk opened this issue Nov 10, 2020 · 1 comment

Comments

@kkarthikvk
Copy link

kkarthikvk commented Nov 10, 2020

K = int(sys.argv[1])

From the specified line while compiling i got the error saying IndexError: list index out of range . I printed the sys.argv it has only [segmentart.py] . Can i know what is K and infile is ?

Thanks ,
Karthik

@kkarthikvk
Copy link
Author

Hello again ,

I came to know that K is number of splits or segments . In given K , it is splitting perfectly .
What is the best way to determine optimal number of K ?
Any idea will help me with my project .

Thanks in Advance ,
Karthik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant