fkr-1.0.0
توضیحات
to replace fixed keywords in functions
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | fkr-1.0.0 |
| نام | fkr |
| نسخه کتابخانه | 1.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Marwan Sabih |
| ایمیل نویسنده | masatamara@googlemail.com |
| آدرس صفحه اصلی | http://www.headfirstlabs.com |
| آدرس اینترنتی | https://pypi.org/project/fkr/ |
| مجوز | UNKNOWN |
The modul fkr offers the function newkey. With newkey you can create new functions with new fixed keywords.
For example:
def apple( x, fruit = 'strawberry'):
print( x )
print( fruit)
>>>apple('An apple is an:' )
An apple is an:
strawberry
betterapple = fkr.newkey(apple, fruit = 'apple')
>>>betterapple('An apple is an:')
An apple is an:
apple
Attention! Once you replaced fruit you can't replace it anymore in the new function.
If there are some Bugs please let me know: masatamara@googlemail.com
نحوه نصب
نصب پکیج whl fkr-1.0.0:
pip install fkr-1.0.0.whl
نصب پکیج tar.gz fkr-1.0.0:
pip install fkr-1.0.0.tar.gz