11# UrduPython
2- > Ever had that random thought of programming in Urdu? Well, you're at the right place.
3-
4- Programming Language in Urdu, based on Python - اردو میں کوڈ لکھیں
2+ Write simple Python in Urdu.
53
64## Pre-requisites
75- Python 3+
86- Pip
97- (optional but recommended) Virtual environment, like ``` conda ``` or ``` virtualenv ```
108
119## How to Install
12- ### Pip
13- If you've installed ``` pip ``` , you can install UrduPython from [ Test PyPI] ( https://test.pypi.org/project/urdupython/ ) using the following command:
14- ```
15- pip install -i https://test.pypi.org/pypi/ --extra-index-url https://pypi.org/simple urdupython
16- ```
17-
18- ### Source
19101 . Download this repo as a ZIP, or clone it via Git.
20112 . Open the repo's folder in your Terminal.
21- 3 . Run ``` pip install -e . ```
12+ 3 . Run ``` pip install -r requirements.txt ```
2213
2314## How to Use
24151 . Create a new file in a folder.
@@ -32,7 +23,7 @@ The mappings are as following:
3223| ``` elif ``` | ورنہاگر|
3324| ``` else ``` | ورنہ|
3425| ``` while ``` | جبتک|
35- | ``` for ``` | جو |
26+ | ``` for ``` | ہر |
3627| ``` in ``` | اندر|
3728| ``` input ``` | داخله|
3829| ``` break ``` | توڑ|
@@ -78,25 +69,19 @@ would be
7869```
7970لکھو ("Hello world!")
8071```
81- There are many more sample codes available [ here] ( ./urdupython/samples )
8272
83733 . Open a Terminal in the folder of this file.
84- 4 . Run the code in one command: ``` urdupython <NAME_OF_YOUR_FILE>```
74+ 4 . Run the code in one command: ``` python urdu_python__ply.py <NAME_OF_YOUR_FILE>```
8575
86- For more help, run ``` urdupython --help``` . For better understanding, do run the sample code files in the "samples" folder.
76+ For more help, run ``` python urdu_python__ply.py --help``` . For better understanding, do run the sample code files in the "samples" folder.
8777
8878## Guide
8979### For macOS
9080Use TextEdit (default text editor) to write Urdu code. Activate right-to-left typing through Menu: Format->Text->Writing Direction->Right-to-Left
9181
92- ### For Windows
82+ ### For Linux/ Windows
9383Download and install Notepad++. Right click and activate RTL (Right-to-left).
9484
95- ### For Linux
96- Open gEdit (or any similar text-editing program), and start coding right away.
97-
9885## Tests
9986### Platform(s) tested on
100- - macOS Big Sur 11.1
101- - Termux (Android)
102- - Ubuntu 20.04.3 LTS
87+ macOS Big Sur 11.1
0 commit comments