Skip to Content
Teach Yourself VISUALLY Python
book

Teach Yourself VISUALLY Python

by Ted Hart-Davis, Guy Hart-Davis
September 2022
Beginner
304 pages
9h 43m
English
Wiley
Content preview from Teach Yourself VISUALLY Python

Index

A

  • a mode, 96
  • a +  mode, 96
  • abs() function, 166, 168
  • accessing
    • contents of imported modules, 45
    • data in lists, 244–245
  • adding
    • comments to code, 42–43
    • else blocks, 225, 229
    • finally blocks, 225, 229
    • items
      • to lists, 240–241
      • to tuples, 65
    • key/value pairs to dictionaries, 254–255
  • adjusting
    • order of operations, 113
    • order of precedence using parentheses, 115
    • string capitalization, 200–203
  • aiter() function, 168
  • algorithms, 4
  • alias, importing modules/objects under an, 46
  • all() function, 168
  • American Standard Code for Information Interchange (ASCII), 183
  • AND (&) operator, 120, 126
  • anext() function, 168
  • any() function, 168
  • Append and Read Mode, 96, 107
  • append() method, 239, 240–241
  • Append Mode, 96
  • appending data to files, 106–107
  • applying themes, 22–23
  • Arch, 15
  • arithmetic operators, 112–115
  • arrays, compared to lists, 237
  • ASCII (American Standard Code for Information Interchange), 183
  • ascii() function, 168
  • AssertionError, 222
  • assigning values to variables, 53
  • assignment operators, 116–117
  • Atom, 19
  • AttributeError, 222
  • Auto Save feature (Visual Studio Code), 33
  • auto saving, in Visual Studio Code, 27
  • AutoComplete list, 35

B

  • backslash, 83, 185
  • basename() method, 95
  • bin() function, 168, 170, 171
  • binary strings, 171
  • bitwise operators, 126–127
  • bool() function, 62–63, 74, 75, 168
  • Boolean values, 62–63
  • braces ({}), 206–207, 212–213, 217, 248, 250
  • break statement, 145, 149, 151, 154, 155
  • breakpoint() function, 168
  • build types, 7
  • built-in functions, 168–171
  • byte code, 220
  • bytearray()
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Learn Python Programming - Third Edition

Learn Python Programming - Third Edition

Fabrizio Romano, Heinrich Kruger
Learn Python Programming - Fourth Edition

Learn Python Programming - Fourth Edition

Fabrizio Romano, Heinrich Kruger

Publisher Resources

ISBN: 9781119860259Purchase Link