employment_events_next_month = calendar_events(
currencies=Currency.USD,
importance=Importance.HIGH
function =lambda e: 'employment' in (name
:=e ['event_name'].lower())
or 'payroll' in name
)
이것은 python >=3.8에 대한 새로운 할당 표현식이며 훌륭합니다. 귀하의 버전에서 작동하도록 하려면 라이브러리에서 모든 항목을 제거해야 했지만 작동하도록 해당 예제 스크립트를 리팩토링할 수 있다고 생각합니다. 파이썬 인터프리터를 최신 버전으로 업그레이드하는 것을 고려해야 합니다. :)
이것은 python >=3.8에 대한 새로운 할당 표현식이며 훌륭합니다. 귀하의 버전에서 작동하도록 하려면 라이브러리에서 모든 항목을 제거해야 했지만 작동하도록 해당 예제 스크립트를 리팩토링할 수 있다고 생각합니다. 파이썬 인터프리터를 최신 버전으로 업그레이드하는 것을 고려해야 합니다. :)
설치 실패
Win10, Py3.6.10 및 WinPy3.7.7.
다시 시도하십시오. Python < 3.8에서 작동하도록 리팩토링해야 했습니다.
다시 시도하십시오. Python < 3.8에서 작동하도록 리팩토링해야 했습니다.
확인
릴리스의 새로운 기능은 무엇입니까?
행운을 빕니다
확인
릴리스의 새로운 기능은 무엇입니까?
행운을 빕니다
Calendar_events https://github.com/nicholishen/pymt5adapter/blob/master/pymt5adapter/calendar.py
안녕하세요! TRADE_ACTION_CLOSE_BY로 작업하는 방법 ??? 또는 누가 모든 오픈 포지션 을 마감하고 어떻게 마감합니까?
안녕하세요! TRADE_ACTION_CLOSE_BY로 작업하는 방법 ??? 또는 누가 모든 오픈 포지션 을 마감하고 어떻게 마감합니까?
파이썬 사용?
Calendar_events https://github.com/nicholishen/pymt5adapter/blob/master/pymt5adapter/calendar.py
이 줄은 VS2019(WinPy3.7.7)에서 꾸짖습니다(밑줄):
"예기치 않은 토큰 '기능'"
예기치 않은 토큰 ':"
예기치 않은 토큰 '='
잘못된 구문
employment_events_next_month = calendar_events( currencies=Currency.USD, importance=Importance.HIGH function =lambda e: 'employment' in (name :=e ['event_name'].lower()) or 'payroll' in name )
이 줄은 VS2019(WinPy3.7.7)에 의해 꾸지람을 받았습니다(밑줄):
"예기치 않은 토큰 '기능'"
예기치 않은 토큰 ':"
예기치 않은 토큰 '='
잘못된 구문
이것은 python >=3.8에 대한 새로운 할당 표현식이며 훌륭합니다. 귀하의 버전에서 작동하도록 하려면 라이브러리에서 모든 항목을 제거해야 했지만 작동하도록 해당 예제 스크립트를 리팩토링할 수 있다고 생각합니다. 파이썬 인터프리터를 최신 버전으로 업그레이드하는 것을 고려해야 합니다. :)
https://www.python.org/dev/peps/pep-0572/
이것은 python >=3.8에 대한 새로운 할당 표현식이며 훌륭합니다. 귀하의 버전에서 작동하도록 하려면 라이브러리에서 모든 항목을 제거해야 했지만 작동하도록 해당 예제 스크립트를 리팩토링할 수 있다고 생각합니다. 파이썬 인터프리터를 최신 버전으로 업그레이드하는 것을 고려해야 합니다. :)
https://www.python.org/dev/peps/pep-0572/
나는 할 수 없다. 너무 많은 패키지가 3.7.7 및 3.6.10에 묶여 있습니다.
가능하면 무엇을 또는 어떻게 교체해야 하는지 알려주십시오. 그렇지 않은 경우 문제가 없습니다.
저는 파이썬 전문가가 아닙니다. 내 언어는 R/
행운을 빕니다.
할 수 없어. 너무 많은 패키지가 3.7.7 및 3.6.10에 묶여 있습니다.
가능하면 무엇을 또는 어떻게 교체해야 하는지 알려주십시오. 그렇지 않은 경우 문제가 없습니다.
저는 파이썬 전문가가 아닙니다. 내 언어는 R /
행운을 빕니다.
파이썬 사용?