Skip to main content

Posts

Showing posts from September, 2021

python variable

                                         Python Variable VARIBALE - Variable like a container , which mean in this variable on  store the data/value. example- A = 10 where  A is a variable  = is asignment operator 10 is value  note: 1-always variable declear   char ,$,string variable not declear in digit form as- avariable     $name    $_name

Comment in python_05

                                Comment in python  Single line comment single line comment are use to comment on one line as     #comment multiline comment multiline comment sre use to multiline comment, as '''comment'''

First Program In PYTHON & SINGLE/DOUBLE/TRIPAL QUETS_04

                                 First Program  In PYTHON                                    Print("hello world")                                     Print("your name")                                   Print("mobile number")                    Print("Welcome in python programming") use of all keyword what is the use of print A print of use to display the output , as print("?") What s the use of Single Quets, when we are taking a charecter then we use single quets as print('?') What s the use of Double Quets, when we are taking a string then we use double quets, as print("?") What s the us...

Setting up PATH at Linux/unix/windows_3

  Setting up PATH Programs and other executable files can be in many directories, so operating systems provide a search path that lists the directories that the OS searches for executables. The path is stored in an environment variable, which is a named string maintained by the operating system. This variable contains information available to the command shell and other programs. The  path  variable is named as PATH in Unix or Path in Windows (Unix is case sensitive; Windows is not). In Mac OS, the installer handles the path details. To invoke the Python interpreter from any particular directory, you must add the Python directory to your path. Setting path at Unix/Linux To add the Python directory to the path for a particular session in Unix − Setting path at Windows To add the Python directory to the path for a particular session in Windows − At the command prompt  − type path %path%;C:\Python and press Enter. Note  − C:\Python is the path of the Python directo...

Installing Python Windows/unix/linux_02

Installing Python Python distribution is available for a wide variety of platforms. You need to download only the binary code applicable for your platform and install Python. If the binary code for your platform is not available, you need a C compiler to compile the source code manually. Compiling the source code offers more flexibility in terms of choice of features that you require in your installation. Here is a quick overview of installing Python on various platforms − Unix and Linux Installation Here are the simple steps to install Python on Unix/Linux machine. 1-Open a Web browser and go to  https://www.python.org/downloads/ . 2-Follow the link to download zipped source code available for Unix/Linux. 3-Download and extract files. 4-Editing the  Modules/Setup  file if you want to customize some options. 5-run ./configure script 6-make 7-make install Windows Installation Here are the steps to install Python on Windows machine

Python Intoduction & Local Environment Setup_1

                                                            WHAT IS PYTHON                     Python is an interpreted, object-oriented, high-level programming language,                                    WHY USE PYTHON      Python is a computer programming language often used to build websites and software, automate tasks, and conduct data analysis. Python is  a general purpose language , meaning it can be used to create a variety of different programs and isn't specialized for any specific problems Local Environment Setup Open a terminal window and type "python" to find out if it is already installed and which version is installed. Unix (Solaris, Linux, FreeBSD, AIX, HP/UX, SunOS...