Jump to content

Display date with python in a Font Sop


Recommended Posts

Hi everyone !

I'm trying to display the date with a font sop using python but I'm a total noob with using python. I've found some pieces of information over odforce but I can't make it work.

So far I've manage to make python work inside the font SOP but the lines I'm using sending me "none" instead of giving the date. When I'm using the same script in the Python Shell it works. I feel like I'm missing something important but I don't know what. 

import datetime
date = datetime.datetime.now()
str(date)

Thanks !

Od_PythonDate.hip

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...