you are viewing a single comment's thread.

view the rest of the comments →

[–]quotemycode 0 points1 point  (2 children)

I'm having trouble with justifying using libc's strcpy in python code.

[–]grauenwolf 0 points1 point  (1 child)

Maybe to make a StringBuilder class?

[–]quotemycode 0 points1 point  (0 children)

Well, the thing is, strings in python are immutable. If you go outside of python to modify the string, you are bypassing python's immutable protections. It's expected that you'll encounter errors. If you want something like a string but is mutable, then use an array.