Forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - walshmagger

Pages: [1]
1
Python and Java API / Re: IndentationError: expected an indented block
« on: April 13, 2023, 07:59:04 AM »
This error usually occurs in Python code and it means that there is a problem with the indentation of the code. In Python, indentation is used to indicate the scope of control structures like loops, functions, and conditional statements.

Ensuring proper indentation is crucial to avoid error messages. Forgetting to indent statements within a compound statement or a user-defined function are common causes of IndentationError: expected an indented block. The error message suggests an issue with indentation, which could be due to a mix of tabs and spaces. To avoid issues, it is recommended to use four spaces for indentation in Python. While tabulation or a different number of spaces may work, they may cause problems. Tabs are not recommended because they can create inconsistent spacing in different editors.



2
Python and Java API / Re: Threading changes in Python in PhotoScan 1.2.4?
« on: October 06, 2017, 08:16:05 AM »

Pages: [1]