Posts by Marcos Paulo Miotti • 23 points
3 posts
-
0
votes2
answers540
viewsA: Python: index 5324 is out of Bounds for Axis 0 with size 5040
I discovered the problem: the program tries to search the TXT file for a value at 5324th position, but there are only 5040 numbers. So, I reduced the value of the sa little. In the first code above,…
-
1
votes2
answers540
viewsQ: Python: index 5324 is out of Bounds for Axis 0 with size 5040
Hello, everybody, I have a Python code that reads the 5040 numbers of a TXT file to perform a simulation, as shown in Figure 1. Then the code creates a B(s) function, which is used in the commands…
-
0
votes1
answer198
viewsQ: How to run a code outside a directory in Python?
I tried to run the code saved on desktop. However, Python Shell showed Could you help me? Thank you, Marcos Miotti…