Skip to content

ajeyln/python_scripts_w3_school

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Scripts

Background :

This repository contains Python scripts, which I have referred from W3-School.
W3-School is good plattform to learn Python programming language escpacilly for beginners, who are instrested to learn new languages. In this website the concepts of python programming language are clearly expalined with small examples,which will enhance the intrests on learning python.

Content :

I have divided the scripts into three parts

  1. Python Home - you will find small scripts with various syntax and commands and I have tried to cover all topic in Python.
  2. File Handling - In this section you can understand how to open, read, write, and delete files using python scripts.
  3. Numpy - A type of module used for working with arrays. The scripts are in this section will show how this module work with arrays.
  • The following scripts are from Python Home, Where you can find basic command with examples
Sl. No. Script name Script Description
1 01_helloword.py Simple script to display hello word
2 02_indentation_example.py Example for indentation
3 03_indentation_error_example.py example for indentation error
4 04_variable_example.py assigning value to variable and related tasks
5 05_datatype_example.py Types of datatypes in python
6 06_number_datatype_conversion_example.py casting of Integer, Float and complex
7 07_class_vehicle.py Example - class creation
8 08_class_school_example.py Example for Class Creation
9 09_class_inheritence_example.py Example for Class and inheritance
10 10_iteration_example.py Example for Iteration
11 11_import class_Inheritence.py Example for inheritance by importing Mymodule.py file
12 12_date_concept.py importing datetime module
13 13_json_convert_python.py converting python to json
14 14_insert_data.py Example for taking input from user
15 15_re_example.py Example for Regular Expresion
16 16_list_dict_conv.py script to convert list to dictionary
17 17_list_creation_input_method1.py creation of list using input method
18 18_list_creation_input_method2.py creation of list using input method
19 19_json_eg.py Example for json
20 20_regex.py script on regular expression on various task
21 21_regex_method.py script on regular expression on various tasks
22 22_str_format.py inserting value by .format method
  • The following list of scripts are from File handling, Where you you can understand how to open, read, write, and delete files using python scripts.
Sl. No. Script name Script Description
1 1_read_file.py python code,how to read the content in the file
2 2_write_file.py python code to write on new file
3 3_overwrite_file.py python code, how to re-write existing file
4 4_creat_del_file.py python code,how to crete a new file and delete existing file

demofile.txt, demofile2.txt and demofile3.txt were referred file to execute to do the intended tasks

  • The following scripts are of module Numpy and will show how this module work with arrays.
Sl. No. Script name Script Description
1 01_numpy_sample.py Simple script on numpy module
2 02_numpy_dimensions.py Displays different type of array dimensions
3 03_ident_numpy_dimen.py Displays different type of array dimensions
4 04_access_numpy.py script to access array
5 05_slice_numpy.py code to slice the array
6 06_copy_View_numpy.py code to difference between copy and view
7 07_shape_numpy.py to identify the dimension of array
8 08_reshape_numpy.py to change the dimesnion of array
9 09_iteration_numpy.py iterating the array elements
10 10_join_numpy.py joing many arrays into one array
11 11_split_numpy.py spliting array into many arrays
12 12_search_numpy.py to search an element from array
13 13_sort_numpy.py sorting element
14 14_filter_numpy.py filtering element in arrays on condition

Key Take-aways :

From W3-School website I have learned the basic concepts of Python such as

  • Conditional statements
  • Data Structures,
  • Creating class, inheritance,
  • Importing Modules and Creating modules and importing in other scripts.
  • File handling concepts (Reading, Writing, Creating and Deleting file),
  • Directories and usage of Modules such as Numpy, Datetime and Random

Useful Links :

The brief description regarding commands and related syntax are updated in the link Learning_and_Documentation

Contact :

For any feedback, queries Please Emil to ajeyanayak@gmail.com:star2:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages