Posts by ffernandoalves • 66 points
3 posts
-
2
votes1
answer56
viewsA: Rounded lines or "Smooth" in Python from an Excel file
In that reply shows a way to smooth the curves of the lines. It just doesn’t look much like excel. You’ll need to install the library scipy. #imagem7 amostra36 AFM import matplotlib.pyplot as plt…
-
0
votes2
answers80
viewsA: Why am I getting these errors: Typeerror: Object type <class 'str'> cannot be passed to C code
The problem is in the Encoding of strings that must be in bytes, if you are using python3. In those parts lg_deckey = b"wleldpadptmdkdnt" lg_enckey = b"qlxnTldlsvntzl!#" def lg_encrypt(string):…
pythonanswered ffernandoalves 66 -
0
votes1
answer182
viewsA: How to simulate an input or store a future response
The solution I found was to store all user messages in a dictionary, being each message an object. I changed the structure of your code a little bit, but it’s basically the same thing It’s done in…