Giter VIP home page Giter VIP logo

tutorial-python's Introduction


Hi! ๐Ÿ‘‹


Call me Branko.
I am passionate about code,
With keen interest in exotic food,
But even food cannot beat a good book.

tutorial-python's People

Contributors

braboj avatar vasc01 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

vasc01 jordrag

tutorial-python's Issues

[Part A, ch.8] - Code refactory

Paragraph 8.19. Function Introspection code needs a little refactoring: a regular parameter like c=20 can't be after other with "*", and should be displaced. There are no "__kwdefaults" and "__annotations" parameters in "foo" function.

Enhance the README file

Running the tests

  • Build and check for errors
  • Check for syntax errors
  • Check for semantic errors
  • Check for image errors
  • Check using a light theme
  • Check using a dark theme

Deployment

  • ruby
  • asciidoctor
  • asciidoctor-pdf

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

Billie Thompson - Initial work - PurpleBooth
See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

Hat tip to anyone whose code was used
Inspiration
etc

[Part A, ch. 9] - Probably misplaced file

In Part A->09_classes->exercise there is a file objects.md. It looks misplaced to me or it is left over from earlier. I didn't remove it as I am not sure if it is still needed.

[Part B, Ch. 2] - Review and change example code

2.1. Single Responsibility Principle

  • examples single_responsibility_bad.py and single_responsibility_good.py

2.2. Open/Closed Principle

  • examples open_closed_bad.by and open_closed_good.by

2.5. Dependency Inversion Principle

  • in file dependency_inversion_good.py make MathAbc an abstract class

[Part A, Ch. 5] - Add precedence of operators

Discussed in #14

Originally posted by Vasc01 September 12, 2023
I have noticed that in the chapter about operator there is no explanation about precedence of operators. I think listed view and visual example similar to the attached files will be beneficial.
precedence_1
precedence_2

[Part B, Ch. 9] - Add list and dictionary comprehension

Discussed in #22

Originally posted by Vasc01 September 14, 2023
I couldn't find list and dictionary comprehensions in Part A and B. Possibly they can be added to Part A -> Control Flow -> for Statement. At this point the datatypes and for looping is already explained.

Move the introspection parts from function and classes to a separate chapter

Discussed in #25

Originally posted by braboj September 15, 2023
The topic seems to be too advanced for beginner and advanced users. Maybe it is a good idea to create a separate chapter as part of the expert tutorial and clarify:

  • Inspections using dunder methods
  • Inspections using the inspect library
  • Inspections using the sys library

An inspection is the process of gathering information about live (running) objects.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.