Pythonのコール可能は、関数やクラス、オブジェクトが`()`で呼び出せる特性を持ち、常に値を返す。 `map()`、`filter()`、`zip()`などの高階関数は、イテラブルに対して関数を適用し、リスト内包表記がこれらの代替として使える。 リスト内包表記は、コードを ...
In the last post introducing Python, I demonstrated how to make a simple app using variables and conditional statements. In order to do anything really powerful in a given programming language though, ...
門脇 (@satoru_kadowaki) です。今月のPython Monthly Topicsでは、PythonとRustの融合を可能にするPyO3とmaturinについて紹介します。 はじめに PythonとRustはそれぞれ異なる特性を持つプログラミング言語です。Pythonはシンプルな構文で初学者にも親しみやすく、データ ...