1
Guys, I have a Python script that during the processing of information is generating string with many characters and I need each string to create a folder with its "name". But don’t get caught in the problem, because what I really want to know is how do I limit such a string to a desired size and store it in a variable. For example:
stringGrande = "gerando string com muitos caracteres e preciso de cada"
stringPequena = stringGrande (limitada)
print stringPequena
Resultado: gerando string com muitos
for example