Английский в тестах
Open in Telegram
Изучаем английский язык интерактивно, вместе и интересно. Тесты на различные жизненные темы. Подсказки к решению тестов от нашей редакции. По рекламе: @viktorreh
Show more3 141
Subscribers
No data24 hours
+17 days
-3030 days
Posts Archive
3 141
Article. Building a snake game using
turtle module.
As a kid, I am sure everybody has played the famous snake game. As a matter of fact, it was one of the first mobile games that came into the market. Wouldn’t it be cool to build it by yourself? Hell Yeah! In this article, I am going to use Python’s Turtle Module to build it from scratch.
Read the article
@pythonistpro3 141
Tips & Tricks. Python's built-in HTTP server.
Python has a HTTP server built into the standard library. This is super handy for previewing websites.
@pythonistpro
3 141
Article. Build a Command-Line To-Do App With Python and Typer 📋🐍
Building an application to manage your to-do list can be an interesting project when you’re learning a new programming language or trying to take your skills to the next level. In this tutorial, you’ll build a functional to-do application for the command line using Python and
Typer, which is a relatively young library for creating powerful command-line interface (CLI) applications in almost no time.
Additionally, you’ll practice your skills related to processing JSON files by using Python’s json module and managing configuration files with Python’s configparser module. With this knowledge, you’ll be ready to start creating CLI applications right away.
Read the article
@pythonistpro3 141
Article. Build a Command-Line To-Do App With Python and Typer 📋🐍
Building an application to manage your to-do list can be an interesting project when you’re learning a new programming language or trying to take your skills to the next level. In this tutorial, you’ll build a functional to-do application for the command line using Python and
Typer, which is a relatively young library for creating powerful command-line interface (CLI) applications in almost no time.
Additionally, you’ll practice your skills related to processing JSON files by using Python’s json module and managing configuration files with Python’s configparser module. With this knowledge, you’ll be ready to start creating CLI applications right away.
Read the article
@pythonistpro3 141
Tips&Tricks. Dicts can be used to emulate switch/case statements.
Because Python has first-class functions they can be used to emulate switch/case statements.
@pythonistpro
3 141
Problem. Jaden Casing Strings, by jacobb, from Codewars.🧠
Jaden Smith, the son of Will Smith, is the star of films such as The Karate Kid (2010) and After Earth (2013). Jaden is also known for some of his philosophy that he delivers via Twitter. When writing on Twitter, he is known for almost always capitalizing every word. For simplicity, you'll have to capitalize each word, check out how contractions are expected to be in the example below.
Your task is to convert strings to how they would be written by Jaden Smith. The strings are actual quotes from Jaden Smith, but they are not capitalized in the same way he originally typed them.
Example:
Not Jaden-Cased: "How can mirrors be real if our eyes aren't real"
Jaden-Cased: "How Can Mirrors Be Real If Our Eyes Aren't Real"
#fundamentals #strings #arrays
@pythonistpro
3 141
Tips & Tricks. Functions are first-class citizens in Python.
They can be passed as arguments to other functions, returned as values from other functions, and assigned to variables and stored in data structures.
@pythonistpro
3 141
Article. Build a Dice-Rolling Application With Python.🎲🐍
In this tutorial, you’ll learn how to:
- Use
random.randint() to simulate dice-rolling events
- Ask for the user’s input using the built-in input() function
- Parse and validate the user’s input
- Manipulate strings using methods, such as .center() and .join()
You’ll also learn the basics of how to structure, organize, document, and run your Python programs and scripts.
Read the article
@pythonistpro3 141
Top. JSON file format.
JSON, or JavaScript Object Notation, is a minimal, readable format for structuring data. It is used primarily to transmit data between a server and web application, as an alternative to XML.
Watch the video
@pythonistpro
3 141
Problem. Highest Rank Number in an Array, by KK20994, from Codewars.🧠
Complete the method which returns the number which is most frequent in the given input array. If there is a tie for most frequent number, return the largest number among them.
Note: no empty arrays will be given.
Examples:
[12, 10, 8, 12, 7, 6, 4, 10, 12] --> 12
[12, 10, 8, 12, 7, 6, 4, 10, 12, 10] --> 12
[12, 10, 8, 8, 3, 3, 3, 3, 2, 4, 10, 12, 10] --> 3
#fundamentals #arrays #objects
@pythonistpro
3 141
Top. A well-known book to learn algorithms - Grokking algorithms.📚
Grokking Algorithms is a friendly take on this core computer science topic. In it, you'll learn how to apply common algorithms to the practical programming problems you face every day. You'll start with tasks like sorting and searching. As you build up your skills, you'll tackle more complex problems like data compression and artificial intelligence. Each carefully presented example includes helpful diagrams and fully annotated code samples in Python. By the end of this book, you will have mastered widely applicable algorithms as well as how and when to use them.
@pythonistpro
3 141
Tips & Tricks. Measure the execution time of small bits of Python code with the "
timeit" module. ⏳🐍
The "timeit" module lets you measure the execution time of small bits of Python code.
Read more
@pythonistpro3 141
Article. Regular Expressions (RegEx).
This tutorial will walk you through the important concepts of regular expressions with Python. You will start with importing re - Python library that supports regular expressions. Then you will see how basic/ordinary characters are used for performing matches, followed by wild or special characters. Next, you'll learn about using repetitions in your regular expressions. You'll also learn how to create groups and named groups within your search for ease of access to matches. Next, you'll get familiar with the concept of greedy vs. non-greedy matching.
Read the article
@pythonistpro
3 141
Video. Algorithmic trading using Python - Full course.
Learn how to perform algorithmic trading using Python in this complete course. Algorithmic trading means using computers to make investment decisions. Computer algorithms can make trades at a speed and frequency that is not possible by a human.
Watch the video
@pythonistpro
3 141
Top. Hands-on Web Scraping with Python. 🐍📚
Web scraping is an essential technique used in many organizations to scrape valuable data from web pages. Web scraping, or web harvesting, is done with a view to extracting and collecting data from websites.
Web scraping comes in handy with model development, which requires data to be collected on the fly. It is also applicable for the data that is true and relevant to the topic, in which the accuracy is desired over the short-term, as opposed to implementing datasets. Data collected is stored in files including JSON, CSV, and XML, is also written a the database for later use, and is also made available online as datasets.
This book will open the gates for you in terms of delving deep into web scraping techniques and methodologies using Python libraries and other popular tools, such as Selenium. By the end of this book, you will have learned how to efficiently scrape different websites.
@pythonistpro
3 141
More resources to learn Django. 🤩
For some people books are the best means of self-studying while for others it's easier to remember by watching videos. So, there is not a single way of learning stuff and thus here we have included the most pragmatic and useful sources to self-study Django.
🎞Videos:
1. Python Django 7 Hour Course - Quite long yet incredibly easy to understand as it covers even very small details.
2. Python Django Course for Beginners 2021 - Learn Django from Scratch in this 100% Free & Tutorial! - Again pretty long, but this video provides both terminology and practice. Just assess yourself having a glance on it.
3. Python Django Project - Ecommerce Store (2021) - Part 1 - Building models, views and testing - Practice is crucial and therefore here is a video in which the author explains the workings of Django and builds e-commerce store.
4. Build Three Django Projects - Python Course - Practice, practice and practice. Build 3 apps using Django.
📚Books:
1. Django for beginners by William S Vincent - If you have never built a website before, or if you have built one using other frameworks but aren't familiar with the fundamentals of Django, this book is for you.
This book utilizes 5 real world examples including building a blog and a newspaper website to get you started on web development
Download
2. Django for APIs by William S Vincent - Django REST framework is built on top of Django which adds some really rich capabilities to your application without you having to write much code.
This book will teach you how to use viewsets and routers within DRF for writing crisp code that is highly readable and extensible.
You will also get to learn how to build a backend for a real world frontend application that is built in React (Javascript).
Download
3. A wedge of Django by Daniel and Audrey Feldroy - Originally called “Django crash course”, this book will teach you how to build a production grade application from scratch.
The contents of this book have been primarily used by real software companies to get their engineers up and running and was previously only available for companies paying $3000 a seat for in-person training.
I would recommend getting this book if your intention is not just to enhance your programming skills but to actually build a production scale application that solves a real business problem and makes you profit.
Download
4. Lightweight Django by Mark Lavin & Julia Elman - It is a hands-on book that teaches you rapid application development using client side MVC frameworks such as backbone.js.
You will also learn how to break reusable applications into smaller services that communicate with each other.
The book promises to teach you how to build single page applications that respond to actions in real time.
Download
5. Django 3 by example by Antonio Mele - This book is great for folks who like to learn by doing.
You will learn how to build a blog application, a social image bookmarking website, an online shop and an e-learning platform.
During the course of these projects, you will learn how to tackle common web development problems using best practices and deploying them using the most resilient web servers in the market which include NGINX, uWSGI and Daphne.
By the end of reading this book, you will also become familiar with all the django essentials including models, views, ORM, templates, URL routing, forms and authentication.
This book also teaches you how to integrate other 3rd party technologies like Redis, Celery, RabbitMQ and PostgresQL into your Django application. All of these are essential for building a real world web application.
Download
Sharing is caring
@pythonistpro
