Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
now()
#3
In one statement, no, in one line, yes:
from datetime import datetime as dt;now=dt.now
But then, to use the value of "now" you have to add more statements, so what is the point?
Unless noted otherwise, code in my posts should be understood as "coding suggestions", and its use may require more neurones than the two necessary for Ctrl-C/Ctrl-V.
Your one-stop place for all your GIMP needs: gimp-forum.net
Reply


Messages In This Thread
now() - by Skaperen - Oct-06-2016, 05:44 AM
RE: now() - by micseydel - Oct-06-2016, 06:05 AM
RE: now() - by Ofnuts - Oct-06-2016, 09:11 AM
RE: now() - by metulburr - Oct-06-2016, 12:46 PM
RE: now() - by snippsat - Oct-06-2016, 12:58 PM
RE: now() - by wavic - Oct-06-2016, 05:00 PM
RE: now() - by Ofnuts - Oct-06-2016, 07:03 PM
RE: now() - by wavic - Oct-06-2016, 07:15 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020