파이썬 now.month / month.now

파이썬 now.month / month.now

작성일 2024.04.24댓글 2건
    게시물 수정 , 삭제는 로그인 필요

파이썬에서 now 앞에 붙이던 뒤에 붙이던 똑같은 명령어죠?
빠른 답 부탁드여용 ㅠㅠ



profile_image 익명 작성일 -

똑같지 않습니다.

profile_image 익명 작성일 -

전혀 다릅니다.

파이썬 코드 질문

before_two_month = now_date - relativedelta(months=1) Before_Two_Month = before_one_month.strftime('%Y-%m-%d') # 한달 전 두달전 세달전으로 하려면 어떻게...

파이썬에서 pyperclip하고 print...

... {}월 {}일 입니다.".format(now.month,now.day))) 이렇게 먹이니까 오류나 뜨네요. 보내고 싶은 메세지에 변수가 있는데 pyperclip만 쓰자니 변수를 먹이지...

파이썬 달력만들고 있어요.

파이썬으로 연도와 월을 입력하면 그 달의 달력을 표시해주게 하고... year month=now.month day=now.day while(1): j=1 i=1 print("만년 달력") a=int(input...

파이썬 질문..

import datetime now=datetime.datetime.now() if 3 <= now.month <= 5 : print( " 이번 달은 {} 월로 봄입니다 ".format(now.month)) if 6 <= now.month <= 8 : print( " 이번달은...