Skip to main content

Chapter 1.1 Python Download Inatallation and Setup in English- Technology369kk

 Python Download 

  • Well,  Many PCs and Macs will have python already installed. To check if you have python installed on a Windows PC, search in the start bar for python or run the following on the Command Line(cmd.exe). 

In this post we are discuss in details installation and setup process so , I want to inform you discuss in details in this post . 


  • To check if you have python installed on a Linux or Mac, then on Linux open the command line or on Mac Open the Terminal, and type
  • C:\ User\Your Name>python --version 
  • Example :  

C:\Users\Shailesh>python
Python 3.12.4 (tags/v3.12.4:8e8a4ba, Jun  6 2024, 19:30:16) [MSC v.1940 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>


  • In case you have not found:-  
  • The very first step towards Python Programming would be to download the tools required to run the python language. We will be using Python 3 for the course. You can download the latest version of Python depend on Python officail website so download from https://www.python.org/downloads/
  • Note :- If you are using Windows OS, then while installing Python make sure that "Add Python to PATH " is checked. 
  • Getting an IDE for writing programs:  
  • You can use any IDE of your choice, however you are recommended to use VS-Code,  
  • You can download it from https://code.visualstudio.com/


 Python Write 1st Program :  

  • Python is an interprested programming language, this means that as a developer you write Python (.py) files in a text edito and then put those files into the pytgon interpreter to be executed.  
  • The way to run a python file is like on the command line
  • Where "text.py" is the name of your python file. 
D:\Learning File\Notepad\Python>
  • Let's write our first python file called text.py which can be done in any text editor. 
print ("Hello Dear Freinds Welcome to TechnologySecret") 
  • Sample as that. Save your file. Open your command line, navigate to the directory where you saved your file, and run. 
  • How to run let's see :  
D:\Learning File\Notepad\Python>python text.py 
  • The Output should read: 
Hello Dear Freinds Welcome to TechnologySecret

 Python Command Line : 

  • To test a short amount of code in python sometimes it is quicktest and easiest not to write the code in a file. This is made possible because Python can be run as a command-line itself. 
  • Type the following on the Windows, Mac , or Linux command Line. 
  • D:\Learning File\Notepad\Python> python
  • Or if the "python" command did not work, you can try "py": 
  • D:\Learning File\Notepad\Python> py    
Python 3.12.4 (tags/v3.12.4:8e8a4ba, Jun  6 2024, 19:30:16) [MSC v.1940 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
  • From there you can write any python including our hello world example from earlier in the tutorial: 
  • >>> print("Hello World")
  • Which will write "Hello World" in the command line: 
  • Hello World    ...  Output is that.. 















Comments

Popular posts from this blog

Assignment of ITA/ Information Technology and Application BCA- Technology369kk

Q1. What is  computer Explain basic computer architecture and Difference components.  2. Discuss the use of memory in computer system, Explain memory hierarchy  in details. 3. What is software? Explain difference types of software with explain. 4. Write short notes on the given:- (I) Internet. (II) LAN (Local area network ) (III) Search engine (IV) Web browser  Q 1.What is computer Explain basic computer architecture, Difference components of computer.   Computer :- Computer is defined as an electronic device that takes input data and instructions from the user and after processing them, it generates useful and desired output quickly.   A computer is designed to execute applications and provides a variety of solutions through integrated hardware and software components.                            It is fast and automatic device. It works with the help of programs and represents the d...

C++ and Java Practical All Questions Answers - BCA -Technology369kk

C++ and Java  In this post see most important questions for practical questions given by college all questions with answers . Guys I want to say that this is only for suggested post for your practical please request to you change same alphabets, words or anything  methods name and variables name because if you write all words same then this is copy paste for another peoples.  Used Topics:  Keywords, Variables, Condition Statements, Function , Array, Structure, Pointer.                           In OOPs, Class and Objects, Constructor, Poly morph, Encapsulation, Access Specifiers,                               Inheritance etc.  So, Without Time Lose Come to the Points, let's go start Now:        *************************************************************************  C++ 12 ...

Assignment of PMO (Principal of Management and Organization) - Technology369kk

 ** Assignment Of PMO ** Agenda: -  4 Questions discuss in this post. Question 1. Write a d etails note on selection why it Called. negative process.  Question 2. Write a details note on 'span of control. Question 3. Planning is an essential process, do you agree ? Discuss  Question 4. Write a note on management function. Q 1. Write a d etails note on selection why it called negative process.  Ans :-  Selection is the process of choosing the most suitable candidates out of the several candidates available.          Selection is a negative process because there may be more rejected then those selected in most of the candidates that is called selection is a negative process. → Selection process has the following steps:-  [ A .] Screening of applicants - Based on the screening of applicants only those candidates. It Called further process of selection. Who are found eligible for the job Standards of the the organization. [ B .] S...