Introduction to Python
Collection in Python
Object Oriented python
Python With MYSQL And Excel
Python GUI
Programs in Python
- Swap two number
- Calculate the area
- Even Odd or Zero
- Largest ,Middle and Smallest Number
- Calculate Telephone Bill
- Print Table of The given Number
- Factorial of the number
- Reverse and check number is palindrome
- check number is prime , armstrong
- Program to Print the given patterns
- Guess A Number Game using Random
File Handling in Python
File may be opend in following modes in python.
Read(r): It opens the file in read mode if file exists gives error if file does not exist.
Append(a): It open the file in append mode, if file not exists it creates the file.
Write(w): It opens the file in write mode , if file not exists it create the file.
Program to display the content of the given file:
f1 = open("myFile.txt", "r") print(f1.read())
Program to Write the content into the given file.
f = open("File2.py", "w") f.write("New Content Added to File")
If File2.py not exist its being created and given content is written in the file.
f = open("File2.py", "a") f.write("content appended to the file")
In this example the given content is appended to the file.
Click Here
Tutorials
C is a very powerful and widely used language. It is used in many scientific programming situations. It forms (or is the basis for) the core of the modern languages Java and C++. It allows you access to the bare bones of your computer.C++ is used for operating systems, games, embedded software, autonomous cars and medical technology, as well as many other applications. Don't forget to visit this section...
Video/ C Introduction
Watch video in full size