GithubHelp home page GithubHelp logo

animator / learn-python Goto Github PK

View Code? Open in Web Editor NEW
332.0 332.0 210.0 10.66 MB

📖🐍 Free & Open Source book to master Python 3. Also available: PDF & Web Interface.

Home Page: https://animator.github.io/learn-python/

License: Creative Commons Attribution Share Alike 4.0 International

Python 100.00%
gssoc learn-python python python3

learn-python's Introduction

learn-python's People

Contributors

ananyagra24 avatar animator avatar antiquely3059 avatar arihunter-18 avatar ashitaprasad avatar dishika18 avatar drishangupta avatar eshparsi avatar harshita297 avatar himakarc avatar ishita-jena avatar krishna-429407 avatar niyonikagaur avatar ojaswichopra avatar pradnyagaitonde avatar ramya-korupolu avatar revanth1718 avatar rishig2003 avatar rupa-rd avatar saiumasankar avatar sam-dev007 avatar santhosh-siddhardha avatar soubeer avatar thevinaysagar avatar vaishnavimankala19 avatar vrisha213 avatar yashasvi232 avatar yatharth31 avatar yodha-sudarsi avatar yogeshkarma avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

learn-python's Issues

Add new section for requests library

I'm writing to suggest a valuable addition to this excellent open-source Python book: a section dedicated to the requests library.
The requests library is a powerful and versatile tool for making HTTP requests in Python, simplifying web interactions and data retrieval from web APIs. Its inclusion would significantly enhance the book's coverage of web development and data manipulation capabilities.
I wish to cover the following concepts of the requests library:

  • Introduction to requests library and how to install it using pip.
  • Making GET Requests: Demonstrate fetching data from web servers using basic GET requests.
  • Handling Responses: Show how to extract data from the response object, including status codes, headers, and content.
  • Authentication: Discuss basic authentication techniques for web APIs.
  • Error Handling: Guide users on handling potential errors and exceptions during requests.
  • If required I can even explain about how to handle responses received as a JSON object using the json standard library.

I am a GSSoC'24 contributor. Kindly assign me this issue and It'll make a great addition to the book and encourage learners to interact with APIs and build amazing new projects for the tech community.

Conditional statements

In the introductory part of conditional statements elif keyword is not included at all . But at later part in flowcharts and examples its included. So I request you to grant the permission to include details about elif keyword in introductory part also.

i2

Adding 'Where to go from here' section at the end

This section would include the steps or the scope which the user can have after learning Python language.

  • Future Scopes
  • Trending technologies
  • Opportunities
  • Future plans, etc

@animator I would love to work on this addition so Can you please assign me this issue under GSSoC'24.

Thank You!

Enhancing Python Learning Experience with Advanced Features

I'm working on python from past 3 year and have great experience in it . And I would like to fix the minor bugs and errors in the code and much more theory regarding a topic and summary of their working with their code for better understanding.
I would also like to add some advances topics in this like :
-Sorting algorithms
-OOPs concept ( Inheritance , Objects , Polymorphism , Memoization , Abstraction , Access modifiers , Encapsulation , Dunder Methods)
-JSON
-OS module
-File Handling
-RegEx (Regular Expressions)
-Generators , Decorators , Clousure , Functools, lambdas ,Wrappers
-Python SQLite
-MYSQL
-Dynamic Programming
-Recursion

I would also add some advanced topics related to the current topics that are currently in your projects like nested list ,tuples , dictionary etc. with their code for better understanding.

So, I request you to please assign me this issue so that I can work on it and contribute in it for GSSOC' 24.
@animator

Database Interaction

I want to add python interaction with databses(MYSQL in particular) , notes about it . Please assign it to me.

Adding Content about Anaconda Navigator and Jupyter Notebook

I would like to add content about different types platforms where Python can be incredibly fun to use. Some of them such as Spyder IDE, Jupyter Notebook, PyCharm etc. I can add details about their installation, uses, running applications locally on different operating systems such as Windows, MacOS and Linux. I can also add details about using Jupyter Notebook. This can be very interesting for users who are seeking to take guide in the field of Data Science.

@animator I hope you'll assign this issue to me...

Regarding Some Enhancements

  1. A main page can be added for a good looking UI from where we can go to different sections.

  2. A coding compiler can be added like from other website like when we click on the link it will take us to the page where we code live with the progress in study also.

  3. We can add some dynamic feature like showing how arrays and other things works.

    If you think this all things are good for enhancements kindly plz reply yes so that I can start implementing.

Fix internal links styling in 'learn-python' web interface

Hi there,

I noticed an issue regarding the behavior of internal links in the 'learn-python' web interface. It seems like the links are displaying differently from the desired behavior. The following behavior is occurring:

  1. The font-color of the links is the same as that of the rest of the document.
  2. The underlined links are being normal styled when the curser hover over them.
    I have attached the following image regarding the issue:

Light Mode
Screenshot 2024-05-11 100528

Dark Mode:
Screenshot 2024-05-11 101950

I suggest that:

  1. By default the color of the hyperlinks be blue, and when we hover over them, it becomes the same color as the rest of the text.
  2. The hyperlinks be underlined, only when the cursor hover over them
    Like in this image:

Light Mode:
Screenshot 2024-05-11 101913

Daek Mode:
Screenshot 2024-05-11 101937

Note:

In all the four Screenshot, the cursor was over "Introduction to Programming Languages"
I left the color of hyperlinks in the side menu as it is, but I can surely change it, if you deem so.

Since the issue can now be addressed by me, could you please assign me this issue under GSSoC? If there are any further changes required or if you need additional information, please feel free to let me know. I'm here to help!

Basic Python Exercises for Beginners

If this issue is assigned to me, I will create a curated collection of beginner-friendly Python tasks that focus on reinforcing fundamental concepts and building practical programming skills. Each exercise will include the following:

Clear Problem Statement: A concise description of the task to be completed.

Sample Solutions: One or more example solutions demonstrating different approaches or levels of complexity.

Explanations: Detailed explanations of the code, including the reasoning behind the chosen solution and key concepts demonstrated.

Please assign me this issue with the GSSOC'24 tag.

Introduction to ASCII values

I feel like we should include the concept of ASCII values so that learners can get the difference between "apple" and "Apple" or other examples of similar kind.

OOPs is not discussed

I would like to add some sections to explain OOPs as object-oriented programming is a very crucial part in Python and I will try to add some exercises for OOPs
please assign this issue under gssoc 2024

Add Topics

In GSSoC'24, GitHub Topics will help the discoverability of your project.

I see that you already have great topics on your repository!
I would recommend adding the name of the company like the software you use to build like "vs-code, ghdesktop" to improve your discoverability.

If you are happy with the topics you have, feel free to close this issue. 👍

Add templates for issues

Issue templates are very helpful for a collaboration repo. When users identify a bug or want to add a new feature, you can provide templates so you can collect all the pertinent information you need to fix a bug or add a new feature.

We recommend creating a “Report Bug” and “Feature Request” issue template.
you can refer this: https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository

Some suggested prompts/questions you can add to a “Report Bug” template are:

Briefly describe the bug
What is the expected behavior?
Please provide step by step instructions on how to reproduce the bug
Some suggested prompts/questions you can add to a “Feature Request” issue template are:

Briefly describe your feature request
What problem is this feature trying to solve?
How do we know when the feature is complete?

Reference: https://github.com/Recode-Hive/Stackoverflow-Analysis/issues/new/choose
Click on Get Started button and copy the template to yours.

Concept of Nested Tuples

I feel it would be beneficial to provide further clarification on the concept of nested tuples, including additional examples, and how we can access nested tuples using loops.

Adding light and dark mode theme option

Only dark theme is present but no light theme.
python
Light mode is important because it provides a traditional, well-lit interface that enhances readability, reduces eye strain in well-lit environments, and maintains visual consistency with many other digital platforms.

Girlscript Summer of Code Introduction/Tracking

👋 Hi @animator
I am Sanjay, program Manager Girlscript Summer of Code. I'll be collaborating with you on preparing your repo for GSSoC'24 Program

Why are these changes required?
After Analysing last year's contributions and feedback it would be great for students to have a couple of standard readme files on the repo to understand what the project is all about and some issues detailing what they can contribute. This will help you to see increased engagement in your repository as well.

As mentioned students get a chance to learn step by step, how to build this project as well as invite mentors to collaborate and add features to this repo. I will generate issues, which will provide guidance on how to prepare your repo for Girlscript summer of code 2024 on 10th May.

This issue will serve as a tracking issue to track all issues related to GSSoC'24. I recommend creating a new branch for every issue and opening a pull request to track changes so we can effectively collaborate with each other and merge changes when you and I feel like those changes are ready to be merged on your primary branch.

If you have any questions or concerns, please feel free to leave a comment on this issue or any of the other issues that are generated.

I look forward to working with you :octocat:

RegEx

The topic RegEx is not explained in the documentation so far. I would like to propose the addition of RegEx, which is quite important in string handling. I would like to include :

  1. What is RegEx
  2. How to install and import the re module
  3. RegEx functions
  4. Metacharacters
  5. Special Sequences
  6. How to modify strings using RegEx functions

I would demonstrate the proper usage of all functions with examples showing the logic, input and output.

Missing Favicon

  • There is no favicon displayed on the website.
  • I will add a relevant favicon to compliment the website.

@animator Can you please assign this issue to me under GSSoC'24.
It would be great to work on this issue.

Adding a section on Python applications in various domains

Description:
I would like to add a new section to showcase how Python can be applied in different domains such as machine learning, artificial intelligence, data analytics, and computer vision. This addition would provide learners with practical insights into Python's versatility and real-world applications.

Suggestions:

  • Outline Python libraries and frameworks commonly used in each domain (e.g., TensorFlow for machine learning, OpenCV for computer vision).
  • Include examples and case studies to illustrate Python's usage in different fields.

@animator Please assign me this issue under GSSoC'24.

Adding Beginner's practice codes.

The following codes can be added as a part of basic programming questions:

  1. Fibonacci Series
  2. Printing a list of prime numbers
  3. Factorial Computation
  4. Reverse Fibonacci
  5. Bubble sort

Please assign me the task to do the same under GSSOC'24

Add some edge-cutting technologies like AIML , Data Science and Cybersecurity (PythonScripts) with Python and some real life oriented projects

Heyy @animator ,
I have gone through your repository. Since you have covered a lot of the Python course material, I would like to suggest one additional thing in addition to how much I would appreciate having such inventive repositories: why can not we add some cutting-edge technologies like AIML, Data Science, and Cybersecurity (PythonScripts)? They will be much more beneficial to the repository.
I hope you will assign the issue to me.
thank you

Improve CLarity and quality of the content!

I’ve been going through the comprehensive guide on Python 3 and found it to be very informative and well-structured.
Additionally, I’ve noticed a few areas in the existing content where the language could be clarified or improved. For instance, the phrase “Please search issues and pull requests before adding something new to avoid duplicating efforts and conversations” could be rephrased for clarity as “Before adding something new, please search through existing issues and pull requests to avoid duplicating efforts and discussions”.
I’d be happy to contribute this content if you think it would be beneficial. Looking forward to your feedback.

Additional Topics for Enhanced Understanding of Python

I believe we can make the content even more comprehensive by including additional topics that will greatly enhance the reader's understanding of Python programming.
Here are the suggested topics:

Functional Programming:
Lambda functions
Higher-order functions
map, filter, and reduce functions
List comprehensions and generator expressions

Decorators and Generators:
Creating and using decorators
Decorator chaining and application scenarios
Understanding generator functions and the yield keyword
Lazy evaluation and memory optimization with generators

Concurrency and Parallelism:
Threading vs. multiprocessing
Concurrent programming with the threading module
Parallelism with the multiprocessing module
Synchronization and thread safety

Adding search bar

adding a search bar at the top can let the learner search for a particular topic. I will help adding this new feature.

Designing the website & adding new features

I can make this website more insightful and interactive and also add some feature such as adding copy feature in the code snippet and many more.
Please assign this issue to me under GSSoC'24.

Learn.md

Learn repos should have a LEARN.md file to teach student how to build your project step by step. You can explain how to build your project with text, code snippets, images, or even short (5 minute) long video lessons. As the maintainer of a Learn repo, the LEARN.md file requires you to think critically about how to explain the building of your project and how to also make it engaging. We don't expect you to be an expert teacher, but we would like you to reflect on how difficult it was to get to your level of knowledge, and then provide friendly guidance to help other students to learn.

Reference: https://github.com/Recode-Hive/Stackoverflow-Analysis/blob/main/Learn.md

Add Code of Conduct

Hi, @animator I would like to add the following file of the Code of Conduct, please assign this issue to me. I will add all the necessary details to the file. I hope you'll assign the file to me...

Adding NEXT and PREVIOUS buttons to navigate

  • Addition of Next and Previous buttons for navigations between the sections.
  • This would increase convenience to navigate the sections after the user has done with anyone.

@animator Can you please assign me this issue under GSSoC'24, I would love to work on this addition.

hover effect

hover effect on the star this book on github below the learn python and increasing its font size would make it easily visible.please assign it under gssoc 24

Lambda Function

I wanna add a new section on Lambda Functions to the Functions topic. This section will cover the concept of lambda functions, their syntax, use cases, and advantages. Additionally, I will include illustrative examples and flow charts to make it crystal clear.

Add issues

As the maintainer of a Collaborate repo, keeping Issues up-to-date will help the student community understand what they can do to contribute. Issues should vary by the easy (update documentation) to the difficult (add a new feature). The more involved you are, the more opportunities there are to collaborate.

Recommendations:

Add issues of varying difficulty to the repo often. you can add the tag GSSoC'24, Girlscript, good first issue etc.
Try to add some documentation issues as well it would be easy for beginner contributor to explore opensource through your repo.
Generate issues even if you plan on solving them, so the repository appears as active.
Contribute/commit often to the repo so it does not go stale.
Reference https://github.com/Recode-Hive/Stackoverflow-Analysis/issues

Adding concepts of tuples, dictionaries

I would like to add concepts of tuples, dictionaries, lists along with connection with database(MySql) concepts. Please add me as a contributor to the project under gssoc'24 and assign this task to me.

Adding python for machine learning content

adding content from easy to higher level of machine learning which include pandas, numpy,matplotlib,datapreprocessing and different machine learning algorithms...as a data science student i can make add relavent content to your project
so please assign it under GGSOC'24

Concept of Slicing, and addition to Try....catch block(Error Handling)

We can add about slicing concept under List topic, and also describe that on which data structs allows slicing( eg. only list, string and tuple allows slicing where as sets do not).
We can also add details abut try....catch(error handling) block as its an important concept for getting outputs with less errors

[Feature]: Adding bookmark,highlight [User login/signup]

Since, this is a book made for learning python, the book should have a bookmark feature to remember till where you completed the book and highlight the text user seems important.
Adding a Login/Signup page enables a user to personalise this book the way he likes by giving additional features like bookmark,highlighting.
Ofc they can access the book without login but the data won't be saved.

Feature: Virtual Environment

I'd like to propose a new section in the book concerning about Virtual Environments.

I'd like to structure the code as such

  1. Global Environments - explain about what the global environment means and how to distinguish it from a virtual environment
  2. Creating Virtual Environments - using virtualenv or venv
  3. Using virtual environments - switching between virtual environments, need of requirements file.
  4. Preface to poetry - A simple introduction to poetry and it's features with action cues to direct readers to the right documentation if they fancy further reading.

OOPS

hello , i would like to add some function in this like i haven't seen lamda function in this which is also a important topic.
and add oops concept with some easy , simplified codes for better understanding for user.

Loops

I would like to work on adding more exercises on loops for enhanced concept clarity by including questions on fibonacci series and printing different patterns using loops.

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.