Skip to content

Commit

Permalink
add () to print for Python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
polyactis committed Mar 6, 2024
1 parent ef71b62 commit 570a653
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src_o/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ README.pdf: README.tex
-pdflatex README.tex

#:= is different from =. The latter will cause the function evaluation every time the make variable is invoked.
#currentUnixTime:=$(shell echo "import time; print str(time.time()).replace('.', '_')"|python)
currentTime:=$(shell echo "from datetime import datetime; print str(datetime.now()).replace(' ', '_').replace(':', '')"|python)
#currentUnixTime:=$(shell echo "import time; print(str(time.time()).replace('.', '_'))"|python)
currentTime:=$(shell echo "from datetime import datetime; print(str(datetime.now()).replace(' ', '_').replace(':', ''))"|python)


debug: all ../src/main.rs
Expand Down

0 comments on commit 570a653

Please sign in to comment.