Hebrew python – Matan-h

by Prapattimynk, Thursday, 27 July 2023 (10 months ago)
Hebrew python – Matan-h


“hello” in hebrew-python

Want to learn python but English is a problem? Introducing hebrew-python, a library for writing python in Hebrew.

After installing this library you can write a script like:

מתוך בנוי.אקראי יבא מספר_אקראי
משתנה_כלשהו = מספר_אקראי(1,9)
הראה(משתנה_כלשהו)

Name the file something.hepy and you can run it with hepy something.hepy.

try it online – In python-editor for this site

Installing

pip install hebrew-python

jupyter/ipython

hebrew-python support jupyter and ipython intercative console by ipython extension. to use:

install jupyter-notebook by : pip install notebook
start jupyter-notebook by : jupyter notebook. then create new python3 by the new button.

on the first cell enter the text %load_ext hebrew_python and pross contoll+enter.

and then you can write hebrew-python in all notebook

Comments

Your email address will not be published. Required fields are marked *

Ads Blocker Image Powered by Code Help Pro

AdBlocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.