From c0cf87afb364d5b471e66c1459788edf25f074aa Mon Sep 17 00:00:00 2001 From: Md Al Araf <77340161+mdalaraf2001@users.noreply.github.com> Date: Sat, 26 Aug 2023 04:44:03 +0000 Subject: [PATCH 1/4] import python file --- Ex_Files/01_01_begin/local.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Ex_Files/01_01_begin/local.txt b/Ex_Files/01_01_begin/local.txt index e69de29b..6793b357 100644 --- a/Ex_Files/01_01_begin/local.txt +++ b/Ex_Files/01_01_begin/local.txt @@ -0,0 +1,2 @@ +print(hello)hello + From 6ceb7e71369143b14f9a01507f2e92a12b34365f Mon Sep 17 00:00:00 2001 From: Md Al Araf <77340161+mdalaraf2001@users.noreply.github.com> Date: Sat, 26 Aug 2023 04:44:26 +0000 Subject: [PATCH 2/4] cleared the text editor --- .vscode/settings.json | 8 ++++++-- Ex_Files/01_01_begin/hello.py | 1 + Ex_Files/01_01_begin/local.txt | 2 -- 3 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 Ex_Files/01_01_begin/hello.py diff --git a/.vscode/settings.json b/.vscode/settings.json index 23698105..bc9f0b0d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -20,5 +20,9 @@ "workbench.activityBar.visible": true, "workbench.colorTheme": "Visual Studio Dark", "workbench.fontAliasing": "antialiased", - "workbench.statusBar.visible": true -} + "workbench.statusBar.visible": true, + "[python]": { + "editor.defaultFormatter": "ms-python.autopep8" + }, + "python.formatting.provider": "none" +} \ No newline at end of file diff --git a/Ex_Files/01_01_begin/hello.py b/Ex_Files/01_01_begin/hello.py new file mode 100644 index 00000000..c4da7d18 --- /dev/null +++ b/Ex_Files/01_01_begin/hello.py @@ -0,0 +1 @@ +import this diff --git a/Ex_Files/01_01_begin/local.txt b/Ex_Files/01_01_begin/local.txt index 6793b357..e69de29b 100644 --- a/Ex_Files/01_01_begin/local.txt +++ b/Ex_Files/01_01_begin/local.txt @@ -1,2 +0,0 @@ -print(hello)hello - From 42689d1307c3aa5cbd35af4a6ad65401c9bbd9fb Mon Sep 17 00:00:00 2001 From: Md Al Araf <77340161+mdalaraf2001@users.noreply.github.com> Date: Sat, 26 Aug 2023 06:34:26 +0000 Subject: [PATCH 3/4] learning --- Ex_Files/02_01_begin/main.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Ex_Files/02_01_begin/main.py b/Ex_Files/02_01_begin/main.py index de27c558..ad5c05c6 100644 --- a/Ex_Files/02_01_begin/main.py +++ b/Ex_Files/02_01_begin/main.py @@ -1,4 +1,6 @@ -RUN_INDENTED = False + +RUN_INDENTED = True + message = "running unindented" @@ -11,3 +13,5 @@ def my_function(): greet = "Hello" return greet + +print(my_function()) \ No newline at end of file From 79a7a9de86c6410e72a045e36c8b471679710aaa Mon Sep 17 00:00:00 2001 From: Md Al Araf <77340161+mdalaraf2001@users.noreply.github.com> Date: Sat, 26 Aug 2023 06:45:38 +0000 Subject: [PATCH 4/4] string, formating --- Ex_Files/02_02_begin/main.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Ex_Files/02_02_begin/main.py b/Ex_Files/02_02_begin/main.py index 85a3ff30..5772a0af 100644 --- a/Ex_Files/02_02_begin/main.py +++ b/Ex_Files/02_02_begin/main.py @@ -9,4 +9,7 @@ formatted = greet_format.format(name) -print(intrupution, formatted) +print(formatted) + +# print(formatted.lower()) +# print(formatted.replace("John", "chudir vai")) \ No newline at end of file