×
DREAM IT. BELIEVE IT. ACHIEVE IT.
--Your friends at LectureNotes
Close

Note for Python Programming - PY By suraj sinha

  • Python Programming - PY
  • Note
  • makhanlal chaturvedi university - mcu
  • Computer Science Engineering
  • 14 Topics
  • 44227 Views
  • 1122 Offline Downloads
  • Uploaded 1 year ago
Suraj Sinha
Suraj Sinha
0 User(s)
Download PDFOrder Printed Copy

Share it with your friends

Leave your Comments

Text from page-3

R.C. Lewis ********************* Randy Morris Rowan Knight Sebastian Lange Shahid Ali Shah Shrawan Stan Spears ********************

Text from page-4

Credits & Legal ********************* AUTHOR Ivelin Demirov EDITORS Anton Berezin Beth McMillan Page design Jordan Milev ILLUSTRATOR Ivelin Demirov PROOFREADER Beth McMillan ACKNOWLEDGMENT I must acknowledge the help of the online Python community, who have toiled in the background for many years to help make Python the exciting programming language it has become COPYRIGHT ©2015 Ivelin Demirov NOTICE OF RIGHTS All rights reserved. No part of this book may be reproduced in any form, by any means without the written permission of the publisher or the author. TRADEMARKS All trademarks are held by their respective owners. NOTICE OF LIABILITY The information in this book is distributed on an “As Is” basis, without warranty. While every precaution has been taken in the preparation of the book, neither the author nor the publisher shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the instructions contained in this book or by the computer software and hardware products described in it. PAPERBACK ISBN ISBN-13: 978-1507727072 ISBN-10: 1507727070 CONTACTS pythonvisually.com ********************

Text from page-5

Contents Thank You! Credits & Legal About this book Why Python? Installation Hello World! Terminal way Scripting Way Variables Data types Basic Math Operators precedence String operations Slicing Concatenation Comments Multi-line Comments Functions Basic functions Functions with parameters Default values Return values If/Else and conditional statements ******************** Boolean expressions *********************

Text from page-6

Alternative branches ********************* Classes and objects Collections Tuples Lists Dictionaries Loops While Loops File operations Exceptions Custom exceptions Import statement and Python modules and packages Import statement File operations using os module File operations using os module Regular Expressions Regular Expressions Math module JSON SQL: sqlite3 Python sqlite3 sqlite3 3rd party packages Web Development with Flask********************

Lecture Notes