How to get value of Server.time?
Posted: Tue Jun 21, 2016 2:11 am
by Jake
Syntax: Select all
from engines.server import Server
time = Server.time
print(time)
output:
Is there a way I can get the value of Server.time?
Re: How to get value of Server.time?
Posted: Tue Jun 21, 2016 2:37 am
by L'In20Cible
Server is the class, not an object.
Syntax: Select all
from engines.server import server
time = server.time
print(time)
Notice the first letter.
Re: How to get value of Server.time?
Posted: Tue Jun 21, 2016 2:44 am
by Jake
L'In20Cible wrote:Server is the class, not an object.
Syntax: Select all
from engines.server import server
time = server.time
print(time)
Notice the first letter.
Ah I see, thanks