Python Projects for Beginners a ten-Week Bootcamp Approach to Python Programming


Writing Your First Line of Python



Download 2,61 Mb.
bet19/200
Sana20.06.2022
Hajmi2,61 Mb.
#681748
1   ...   15   16   17   18   19   20   21   22   ...   200
Bog'liq
Python Projects for Beginners A Ten Week Bootcamp Approach to Python

Writing Your First Line of Python


Up to this point, we haven’t done any programming. Generally, I’m against not diving right into coding myself; however, these basic setup instructions are crucial to getting started as a developer. Although we haven’t gone over any Python just yet, while the interpreter is still running, next to the arrows write the following code and hit enter:

>>> print("Hello, buddy!")

There you go! You’ve just written your first line of Python and should see the following output:

>>> print("Hello, buddy!") Hello, buddy!
>>>

Exiting the Python Shell


Now, I’ll get to explaining what you just wrote in a later lesson, but for now let’s get out of the Python shell and finish today’s lesson by writing the following line and hitting enter:

>>> exit( )

today’s lesson was all about operating and understanding the terminal. this is an important skill for several developer positions, especially those that use Linux operating systems. tomorrow we’ll discuss how to operate Jupyter notebook!
Thursday: Using Jupyter Notebook
Jupyter Notebook is going to be where we spend most of our time throughout this book. It’s a powerful tool that is used in the data science community and makes it easier for us to learn Python because we can solely focus on writing code. Today’s lesson is all about how to use this tool, the cells, and how to open it.
Note each lesson will always ask you to open Jupyter notebook, so keep this page handy in case you need to come back to it.
GettinG Started

Opening Jupyter Notebook


Jupyter Notebook can be opened through the Anaconda program; however, I want you to start getting used to the terminal and how to operate it, so we’re not going to open it through Anaconda. Instead, we’re going to do this through the terminal. The two benefits to this are

  • Jupyter Notebook will open in the same directory that our terminal is in

  • Knowing how to use terminal will help you as a developer

If you still have the terminal session from yesterday open, skip the first step.

Download 2,61 Mb.

Do'stlaringiz bilan baham:
1   ...   15   16   17   18   19   20   21   22   ...   200




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish