Below are my divination tools written in Python:
其他 others
- 堅皇極 Wangji https://wangji.streamlit.app/
if you have any questions, please feel free to contact me.(wechat id:gnatnek or Telegram id: glunyum )
A Python package of Dailiuren, one of the three greatest Ancient Chinese Divination Tools ever. Python 大六壬,占卜用,簡單,但不包含年月日時干支演化。
Home Page: https://pypi.org/project/kinliuren
License: MIT License
Below are my divination tools written in Python:
其他 others
if you have any questions, please feel free to contact me.(wechat id:gnatnek or Telegram id: glunyum )
我使用大六壬手机版,大部分的课式都对的上,但是发现涉害课 有的就对不上了,请教一下这个的计算方法
您好,我在嘗試以下參數起課時
kinliuren.Liuren('冬至', '十二', '己未', '壬申').result(0)
出現以下錯誤:
1244 earth_to_general = dict(zip(earth, guiren_order_list_3))
1245 sky_earth_guiren_dict = {"天盤":sky, "地盤":earth, "天將":guiren_order_list_3}
-> 1246 ju = [ju_three_pass[0][0], ju_three_pass[0][1]]
1247 three_pass_zhi = ju_three_pass[0][2]
1248 three_pass_generals = [guiren_order_list_2.get(i) for i in three_pass_zhi]
TypeError: 'NoneType' object is not subscriptable
另舉幾個同樣會引起這個錯誤的組合
Hi,
What is the purpose of this function :
def unique(list1):
unique_list = []
for x in list1:
if x not in unique_list:
unique_list.append(x)
return x
since unique_list is empty when called it return the first value of list1
is this case unique(list1) is equal to list1[0]
Thank you for explaining this.
Regards
两位不管是源码水平,还是这份耐心,实非我等所能企及,作为一个程序员以及六壬术者,在这磕一个了,太np了,我也在编写自己的六壬程序,看到两位就是我前进路上的曙光了
以API方式呈现,方便使用Machine Learning者使用。
Hi,
This date generate this error
in compare_shehai_number
biyung_result_reorder = new_zhigangcangong_list(khead[i])[0: new_zhigangcangong_list(khead[i]).index(a[i][0])+1]
IndexError: list index out of range
if you can have a look
Thanks
Traceback (most recent call last):
File "c:\Users\26856\cp\liuren.py", line 20, in
t = kinliuren.Liuren('立夏', '乙巳', '庚申', '戊寅').result(0)
File "E:\Python\Python39\lib\site-packages\kinliuren\kinliuren.py", line 1251, in result
guiren_order_list_2 = self.guiren_order_list(num)
File "E:\Python\Python39\lib\site-packages\kinliuren\kinliuren.py", line 1233, in guiren_order_list
ju = ju_three_pass[0][0]
TypeError: 'NoneType' object is not subscriptable
其他都没问题,就这一组有问题
按照涉害深浅和孟仲季不对
Hi,
Can you have a look with
jieqi 雨水
daygangzhi 癸卯
hourgangzhi 己未
jieqi 雨水
daygangzhi 癸卯
hourgangzhi 庚申
jieqi 處暑
daygangzhi 癸卯
hourgangzhi 癸丑
jieqi 冬至
daygangzhi 癸卯
hourgangzhi 辛酉
jieqi 芒種
daygangzhi 癸卯
hourgangzhi 丙辰
for me it returns ['不適用,或試他法', '不適用,或試他法', '不適用,或試他法', '不適用,或試他法', '不適用,或試他法', '不適用,或試他法', '不適用,或試他法', '不適用,或試他法']
Thank you !
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.