Editing Python Smart Terminal Technical
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 73: | Line 73: | ||
== Parameters == | == Parameters == | ||
− | Parameters ( in parameters.py ) this is pretty much a structure ( that is all instance variables ) that is instantiated early in the life of the application. It passes values, strings, numbers, objects around the application to other parts of the application that | + | Parameters ( in parameters.py ) this is pretty much a structure ( that is all instance variables ) that is instantiated early in the life of the application. It passes values, strings, numbers, objects around the application to other parts of the application that needs them. Much of the appearance and behavior of the application is controlled here. |
The standard gui has a button to kick off editing of this file, the application may then be restarted ( another button ) with the new values. | The standard gui has a button to kick off editing of this file, the application may then be restarted ( another button ) with the new values. | ||
− | There are a couple of meta parameters, the most important of which is mode which is then used in conditionals later in parameters. Except for this sort of thing there is really | + | There are a couple of meta parameters, the most important of which is mode which is then used in conditionals later in parameters. Except for this sort of thing there is really no "code" in parameters. You can change this code pretty much as much as you like, as long as you end up setting up values for the required parameters. |
− | The code is extensively commented | + | The code is extensively commented use that for your documentation. |
Values are often set to None as a default, then later set to some other value. Or the value may be set several times in a row ( this is an artifact of messing with the values ); only the last value set has any meaning. | Values are often set to None as a default, then later set to some other value. Or the value may be set several times in a row ( this is an artifact of messing with the values ); only the last value set has any meaning. | ||
− | If asked for in the command line you can also envoke a second parameter file. This is handy | + | If asked for in the command line you can also envoke a second parameter file. This is handy |
− | |||
− | |||
== Processing Modules== | == Processing Modules== |