هک‌ها و تشعشعات وجدان آزاد

نوشته‌های سیدمحمدمسعود صدرنژاد

User Tools

Site Tools

Action disabled: source

en:courseware:python_programming:sut:200102

This course covers all the basic knowledge needed for programming in python. The course designed based on the assumption that students want to work in the software industry, but it's also useful for academic purposes.

Course Calendar & Materials

All available resources for this course will be added to the following table.

SessionDateSubjectsSlidesCodesHomeworkSolutions
1January 2, 2020How to Become a Programmer, Python Philosophy, What is Python, Python 2.x vs Python 3.x, Why Python, Python Shell, Python Basic Syntax, Python Enhancement Proposals (PEPs), Variables, Static Typing and Dynamic Typing, High Level and Low Level Programming Languages, Compilers and Interpreters, type() Function, Code Comments, Computer Keyboard Key Explanations, Mono-space Fonts, Typing with 10 Fingers, Python Installation and Setup, Different Types of Errors, Basic Data Types, Operators, Type Conversion, Truth Value Testing, PyCharm Integrated Development Environment, Strings with Triple-quotes or Single Quotes or Double Quotes, Special Characters in Stringspython-basics.html-1, 2-
2January 9, 2020Some Floating-Point Arithmetic, NaN and Infinity, Bitwise Operators, Unpacking a Tuple, Alternative to do-while loops and switch-case statements in Python, if Statement, while Statement, One Line If-condition-assignment, Evaluating Order of Assignments, Mutable and Immutable Data Types, id() Function, Copy By Reference and Copy By Value, Compare Two Objects with == and is, Using continue and break and else Keywords within Loopspython-data-types.html

1, 2, 3, 4, 5, 6, 7

1, 2

1, 2

3January 23, 2020Problem Solving, for Statement, Sequences, Slicing Sequences, Sequence Operators, List Comprehension, String Formatting, Tuples, pass Statement, range() Function, abs() and pow() and round() Functions, all() and any() Function, input() Function, eval() Function, Loops, Sets, Dictionaries, Quick Review on str() and list() and tuple() and float() and bool() and int() and dict() and set() and complex() Functionspython-data-types.html

1, 2, 3, 4, 5, 6

1, 2, 3

1, 2-1, 2-2, 3

4January 30, 2020Problem Solving, Stacks and Queues, Indexed Lists and Linked Lists, Debugging In PyCharm, Defining Functions, Default Argument Values, Arbitrary Argument Lists, Unpacking Argument Lists, Documentation Strings, Function Annotations, Python Naming Conventions, Standard Output and Standard Error Streams, enumerate() and zip() Functions, Python Anti-Patterns, Python Wats, Converse Implication and Boolean Objects, Lambda Functions, map() and filter() Functions, Recursive Functions, Big-Oh Analysis-

1

1, 2, 3

1-1, 1-2, 2, 3-1, 3-2

5February 6, 2020Problem Solving, Writing DRY Code, SoC Principle, Some Tips about Writing Maintainable Code and Software Internal Quality, Modules Concepts, The import Statement, The search path, The from…import Statement, Locating Modules, Namespaces and Scoping, time Module, random Module, math Module, dir() and globals() and locals() and reload() Functions, Packages in python,__name__ Special Variablemodules.html

1, 2

1, 2, 3

1-1, 1-2, 2, 3

6February 13, 2020Problem Solving, Working with Python Package Manager and VirtualEnv, Managing the Installed Packages in PyCharm, PyCharm Keyboard Shortcuts, Object-Oriented Concepts, Defining Classes and Creating Objects in Python, Class Variables and Instance Variables, Instance Objects, Method Objects, Self Input, Constructor, __dict__ Variablevenv-packages.html, python-oop.html

1, 2, 3, 4, 5, 6

1, 2

1, 2

7February 20, 2020Problem Solving, Class Method and Static Method, Inheritance, super() Function, help() Function, Base objects, Multiple Inheritance, isinstance() Function, Iterators and Iterables, Decorators, Property Decorator and Getter and Setters and Deleter, Special Methods, Underscore in Python, Polymorphism and Principles of Object Oriented Design, Python Optimizations--

1, 2, 3, 4

8March 5, 2020Problem Solving, Errors in Python, Handling Exceptions, Raising Exceptions, User-defined Exceptions, Defining Clean-up Actions, Predefined Clean-up Actions, Regular Expressions, Matching Characters, Metacharacters, Repeating Things, Using Regular Expressions in Python, Performing Matches, Writing a real-world program using some well-known high-level python packagespython-errors.html, python-regex.html
9March 12, 2020Using Stack Overflow Effectively, Practice Programming By Solving a Code Interview Question, Some Basic Terms in Software Engineering, Cohesion and Coupling Levels, Software Development Anti-Patternscohesion-coupling.html-1-
10-What is Version Control, Centralized & Distributed Version Control Systems, Most Preferred Version Control Systems, Online VCS Hostings, What is Git, What Makes GIT Different (Snapshot vs. Difference, Local vs Online), States (Modified, Staged, Committed), Addition & Deletion in Git, Basic Git Commands, The Anatomy of a GIT Commit, Resolving a Merge Conflict Using the Command Line, Working with Remotes, SSH and HTTPS Protocols for Clone URLs----

Additional Resources

Useful Links

What's the next?

  • Advanced Programming in Python
  • Use Python to build web applications with Django
  • Web Scraping in Python

en/courseware/python_programming/sut/200102.txt · Last modified: 2020/02/22 09:33 by smmsadrnezh