Syntax: Select all
from engines.server import Server
time = Server.time
print(time)
output:
Code: Select all
<property object at 0x...>
Is there a way I can get the value of Server.time?
Syntax: Select all
from engines.server import Server
time = Server.time
print(time)
Code: Select all
<property object at 0x...>
Syntax: Select all
from engines.server import server
time = server.time
print(time)
L'In20Cible wrote:Server is the class, not an object.Notice the first letter.Syntax: Select all
from engines.server import server
time = server.time
print(time)
Return to “Plugin Development Support”
Users browsing this forum: No registered users and 69 guests