Python Forum
Library (julian), lack of usage information
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Library (julian), lack of usage information
#5
(Mar-03-2019, 10:06 AM)samsonite Wrote: I don't believe so, stranac! Same story with singulars hour=18,minute=43,second=12.000 as follows
Error:
C:\Training>python jul2.py Traceback (most recent call last): File "jul2.py", line 8, in <module> jd = julian.to_jd(datetime(year=2007,month=9,day=29,hour=18,minute=43,second=12.000), fmt='jd') TypeError: integer argument expected, got float
That seems like a super-obvious error. 12.000 is a float, second has to be an int (12 would work).
Reply


Messages In This Thread
RE: Library (julian), lack of usage information - by stranac - Mar-03-2019, 11:57 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Questions regarding usage of pandas library Pala 5 1,110 Apr-26-2023, 10:21 PM
Last Post: deanhystad
  Lack of understanding "graphX, = ax.plot" easayed 1 2,320 Dec-21-2018, 11:08 PM
Last Post: micseydel
  PyInstaller, how to create library folder instead of library.zip file ? harun2525 2 4,846 May-06-2017, 11:29 AM
Last Post: harun2525

Forum Jump:

User Panel Messages

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