Forum Discussion

Lagencie's avatar
Frequent Contributor
6 years ago

Python Code wrong in Documentation


Is there a way to report not working code?


here in the python section the code a) uses ; for endline which is not necessary b) "Total number of command-line arguments: " + nArgs  <- this can not work as python doesn't auto convert the int to str it has to be str(nArgs) to work


Didnt find a way to report this small error so I post it here (not sure if someone can change it


Same problem for the next line within the for loop Log.Message("Arg " + str(i) ... not just i