Just have a quick question on the getuser function. Is there a listing of data that we can retrieve for the current user in python.
Maybe the better question is:
Is there a documented list or data file i can get the properties of the object getuser(0) returns?
On 02/27/17, modchaos pondered and said...
Just have a quick question on the getuser function. Is there a listin data that we can retrieve for the current user in python.
Maybe the better question is:
Is there a documented list or data file i can get the properties of t object getuser(0) returns?
I'm not a coder (yet) more a wanna be.
In the records.112 file I see this
Thanks for the thoughts
On 02/28/17, Avon said the following...
On 02/27/17, modchaos pondered and said...
Just have a quick question on the getuser function. Is there a l data that we can retrieve for the current user in python.
Maybe the better question is:
Is there a documented list or data file i can get the properties object getuser(0) returns?
I'm not a coder (yet) more a wanna be.
In the records.112 file I see this
Thanks Paul! I did actually try and use various ways of typing "ZipCode" without success.
I am also having an issue with using some python libs outside of Mystic when running a module in Mystic. I am going to try a few other things first before laughing too much
Here is the function in detail:
Keep in mind g00r00 had only implemented a little of the mystic functions found in MPL in to Python at this early stage. I think his motivation to do more would be driven by the demand and creativity of others wanting
to take advantage of Python. I certainly encouraged him to add Python support at the time as to me it's the modern day BASIC
Make sure you use Python 2.7 with Mystic and not Python 3.x
Best, Paul
This actually comes back with the handle. Maybe g00r00 didn't add the zipcode to the python method properties. I cannot even find a mystic python library anywhere.
Thanks! I am using Python 2.7 for sure. I am able to get the "handle" which for the current user in session would be
getuser(0)["handle"]
This actually comes back with the handle. Maybe g00r00 didn't add the zipcode to the python method properties. I cannot even find a mystic python library anywhere.
Here is the function in detail:
Function GETUSER (N: Integer) : Boolean
This procedure will read user data into the USER variables. The
supplied N is the record number to read. The function returns
true if the record was read, or false if a record was not read.
On 02/27/17, Pequito said the following...
Here is the function in detail:
Function GETUSER (N: Integer) : Boolean
This procedure will read user data into the USER variables.
supplied N is the record number to read. The function retur
true if the record was read, or false if a record was not re
Where did you find this? I've been looking for something like this for
the main configuration data file, and haven't been able to find it.
Where did you find this? I've been looking for something like this fo the main configuration data file, and haven't been able to find it.
Its our special blend of secret! khaha nah there is a file on most
I has it and I think a few other systems do as well, its out dated but
you can view the whats new on the releases to see whats changed etc.
On 03/01/17, Black Panther said the following...
On 02/27/17, Pequito said the following...
Here is the function in detail:
Function GETUSER (N: Integer) : Boolean
This procedure will read user data into the USER variab
supplied N is the record number to read. The function
true if the record was read, or false if a record was n
Where did you find this? I've been looking for something like this fo the main configuration data file, and haven't been able to find it.
Its our special blend of secret! khaha nah there is a file on most
systems that has this information in it.
File to look for: mpldoc_a59.zip
I has it and I think a few other systems do as well, its out dated but
you can view the whats new on the releases to see whats changed etc.
Sysop: | sneaky |
---|---|
Location: | Ashburton,NZ |
Users: | 31 |
Nodes: | 8 (0 / 8) |
Uptime: | 132:29:03 |
Calls: | 2,073 |
Files: | 11,136 |
Messages: | 947,552 |