cookie

ما از کوکی‌ها برای بهبود تجربه مرور شما استفاده می‌کنیم. با کلیک کردن بر روی «پذیرش همه»، شما با استفاده از کوکی‌ها موافقت می‌کنید.

avatar

Python Universe

Everything you need to know about Python programming. Admin: @haraisen Feedback: @pythontg_feedbackbot

نمایش بیشتر
کشور مشخص نشده استزبان مشخص نشده استدسته بندی مشخص نشده است
پست‌های تبلیغاتی
2 382
مشترکین
اطلاعاتی وجود ندارد24 ساعت
اطلاعاتی وجود ندارد7 روز
اطلاعاتی وجود ندارد30 روز
آرشیو پست ها
#quiz
نمایش همه...
Easy 😁 56
Normal 🤔 22
Hard 😣 20
Turtle🐢 🔸Turtle is a pre-installed Python library that enables users to create pictures and shapes by providing them with a virtual canvas. It was part of the original Logo programming language developed by Wally Feurzig and Seymour Papert in 1966. Imagine a robotic turtle starting at (0, 0) in the x-y plane. After an import turtle, give it the command turtle.forward(15), and it moves (on-screen!) 15 pixels in the direction it is facing, drawing a line as it moves. Give it the command turtle.right(25), and it rotates in-place 25 degrees clockwise. By combining together these and similar commands, intricate shapes and pictures can easily be drawn. 🔗Docs 🔗The Beginner's Guide to Python Turtle (RealPython) #turtle #graphics
نمایش همه...
#memes
نمایش همه...
In your opinion, what is the best way to learn Python?Anonymous voting
  • Carefully go through the documentation to gain a fundamental understanding of the language
  • Quickly run through the basics to gain practical experience as fast as possible
  • None of them (feel free leave a comment below)
0 votes
Learning to program with Python 3 📺 If you want to deal with basics as little as possible and just jump into actual Python projects, you should try to learn Python with Introduction to Python 3 series by sentdex – one of the most popular Python content creator on YouTube. This series is aiming to help you quickly run through the basics and get started with your first Python project. 1. Introduction to Python 3 Programming Tutorial [YouTube] 2. Tuples, Strings, Loops [YouTube] 3. Lists & Tic Tac Toe Game [YouTube] ... 15. Conclusion [YouTube] 🔗Full playlist #materials
نمایش همه...
In your opinion, what is the best way to learn Python?Anonymous voting
  • Carefully go through the documentation to gain a fundamental understanding of the language
  • Quickly run through the basics to gain practical experience as fast as possible
  • None of them (feel free leave a comment below)
0 votes
Wikipedia 🔸Wikipedia is a Python library that makes it easy to access and parse data from Wikipedia webpages. ⚙️Installation
pip install wikipedia

Yes, you can now import Wikipedia in Python using Wikipedia module. Use the incessant flow of knowledge with Python for daily needs. Search Wikipedia, get article summaries, get data like links and images from a page, and more. 🔗Docs 🔗GitHub #wikipedia #parsing
نمایش همه...
What is the output of the code given above?Anonymous voting
  • Error
  • '' '' '' ''
  • 'JS' 'PHP' 'C' Python'
  • '' 'PHP' 'CC' 'PythonPythonPython'
  • 'JS' 'PHPPHP' 'CCC' 'PythonPythonPythonPython'
0 votes
#quiz
نمایش همه...
Easy 😁 21
Normal 🤔 18
Hard 😣 32
You can share your own project via the feedback bot: @pythontg_feedbackbot. I'll publish the most interesting ones :) Also don't forget about our chatroom: @pythontg_chat 👈
نمایش همه...
70+ Python Project Ideas 💡 ♦️Adding a side project or two to your portfolio can be a big plus if you don’t have much working experience yet, helping to convince the employer to hire you. ♦️In this article you'll find example projects with step-by-step instructions, tutorials and source code that will take you though building real-world Python projects from scratch. 👁Read the article #materials
نمایش همه...
What is the output of the code given above?Anonymous voting
  • [-1, 2, 3, -4, 22]
  • [-4, -1, 2, 3, 22]
  • [22, 3, 2, -1, -4]
  • [22, -4, 3, 2, -1]
0 votes
#quiz
نمایش همه...
Easy 😁 34
Normal 🤔 22
Hard 😣 45
How to Measure Code Execution Time in Python? The timeit module provides a simple way to time small bits of Python code. It has both a Command-Line Interface as well as a callable one. It avoids a number of common traps for measuring execution times. To measure the execution time of a statement, simply use the timeit.timeit() function. It accepts the following input parameters: ▪️stmt – String containing the code snippets for your test case. ▪️setup – Initial code that will be executed once. ▪️timer – The timer instance. It is defaulted to time.perf_counter(), which returns a float. ▪️number – Number of executions to be carried out. The default value is 1,000,000. ▪️globals – Specifies a namespace in which to execute the code. #tips
نمایش همه...
Free Python online course by MIT 🐍 If you're looking for great free course to start your Python programming journey, "Introduction to Computer Science and Programming Using Python" by MIT (#2 university in global ranking) is definitely for you. The goal of this course is to provide students with a brief introduction to many topics so they will have an idea of what is possible when they need to think about how to use computation to accomplish some goal later in their career. You will learn: ▪️The Python programming language ▪️Some simple algorithms ▪️Testing and debugging ▪️Data structures 🔗Introduction to Computer Science and Programming Using Python 🔗Intro (YouTube video) #materials
نمایش همه...
What is the output of the code given above?Anonymous voting
  • Error
  • 1
  • 2
  • 3
  • 4
0 votes
#quiz
نمایش همه...
Easy 😁 138
Normal 🤔 29
Hard 😣 47
Build Your Website Quickly and Easily 🔸Flask is a popular Python web framework, designed to easily build web applications, with the ability to scale up to complex ones. ⚙️Installation pip install Flask It gives developers flexibility and is a more accessible framework for new developers since you can build a web application quickly using only a single Python file. Flask is also extensible and doesn’t force a particular directory structure or require complicated boilerplate code before getting started. 🔗Docs 🔗Official tutorial 🔗GitHub 🔗Compilation of Flask tutorials #flask #web
نمایش همه...
What is the output of the code given above?Anonymous voting
  • (1, 2, 3, 4, 5, 6)
  • 3
  • 4
  • 6
  • (1, 2, 3)
  • Error
0 votes
#quiz
نمایش همه...
Easy 😁 92
Normal 🤔 70
Hard 😣 67
Game Development with Pygame 📺 In this series, you will use pygame to learn the fundamentals of game development by creating 3 types of games: shoot 'em up, platformer and tile-based game. Even though the playlist is a quite old (last updated on Dec 17, 2016), this is the most complete tutorial on the pygame library. I've used it to learn Python game development as a part of university research project last year, so I definitely recommend it. 1. Game Development 1-1: Getting Started with Pygame [YouTube] 2. Game Development 1-2: Working with Sprites [YouTube] ... 58. Tile-based game Part 22: Game Over [YouTube] 🔗Full YouTube playlist #materials #pygame #gamedev
نمایش همه...
Create a platformer game with Python 👾 🔸Arcade is an easy-to-learn Python library for creating 2D video games. It is ideal for beginning programmers, or programmers who want to create 2D games without learning a complex framework. ⚙️Installation pip install arcade 🔗Arcade Academy Homepage 🔗In-depth guide #arcade #gamedev
نمایش همه...
What is the output of the code given above?Anonymous voting
  • 0 1 4
  • 1 9
  • 0 4
  • 1 81
  • 0 81
  • Error
0 votes
#quiz
نمایش همه...
Easy 😁 31
Normal 🤔 31
Hard 😣 78
Comprehensive Python Cheatsheet 📚 Without a doubt, this the biggest Python cheat sheet I've ever seen. This guide essentially breaks down Collections Types, Syntax, System commands, Data Types, Advanced commands and a lot of the basics that are pretty much a requirement to know. Whether you plan on going into software engineering, data science or anything else, learning these concepts will be the fundamental building blocks for your programs. 🔗Comprehensive Python Cheatsheet 🔗GitHub repo P.S. Thank @b0nd07 for sharing this 🤗 #materials #cheatsheet
نمایش همه...
#memes
نمایش همه...
What is the output of the code given above?Anonymous voting
  • 0 1 2 3
  • 1 2 3 4
  • Error, because __next__ method is not implemented.
  • Error, because __iter__ must yield the result instead of returning it.
0 votes
#quiz
نمایش همه...
Easy 😁 22
Normal 🤔 10
Hard 😣 23
is vs == ❓You might have heard somewhere that the Python identity operator (is) is faster than the equality operator (==), or you may feel that it looks more Pythonic. But actually there's a subtle difference between this operators. ❗️The == operator compares the value or equality of two objects, whereas the is operator checks whether two variables point to the same object in memory. In the vast majority of cases, this means you should use the equality operators == and !=, except when you’re comparing to None. #tips
نمایش همه...
#quiz
نمایش همه...
Easy 😁 46
Normal 🤔 15
Hard 😣 16
What is the output of the code given above?Anonymous voting
  • 10 15 20
  • 5 25 125
  • 25 125 625
  • None None None
  • Error
0 votes
Text-to-Speech 🔸gTTS (Google Text-to-Speech) is a Python library and CLI tool to interface with Google Translate's text-to-speech API. ⚙️Installation pip install gTTS The gTTS API supports several languages including English, Hindi, Tamil, French, German and many more. The speech can be delivered in any one of the two available audio speeds, fast or slow. 🔗GitHub #gtts #texttospeech
نمایش همه...
What is the output of the code given above?Anonymous voting
  • 1
  • 2
  • 3
  • None
  • Error
0 votes
#quiz
نمایش همه...
Easy 😁 25
Normal 🤔 18
Hard 😣 6
The easiest way to prepare data in Python 🔸DataPrep is an open-source python library that allows you to prepare your data with just a few lines of code. ⚙️Installation pip install dataprep The library consists of 3 main modules: 1. DataPrep.Connector – API wrapper that speeds up development by standardizing calls to multiple APIs as a simple workflow. Basically, it allows you to collect data from common data sources. 2. DataPrep.EDA allows you to perform Exploratory Data Analysis with a few lines of code in seconds. 3. DataPrep.Clean aims to provide a large number of functions with a unified interface for cleaning and standardizing data of various semantic types in a Pandas or Dask DataFrame. 🔗GitHub 🔗Docs #dataprep #datascience
نمایش همه...
What is the output of the code given above?Anonymous voting
  • ! !
  • execute
  • !
  • 2
  • execute execute
0 votes
#quiz
نمایش همه...
Easy 😁 9
Normal 🤔 15
Hard 😣 36
Pandas Tutorials 📺 Pandas is a data analysis library that allows you to easily work with different types of data. If you're getting into the data science field, then this library is going to be essential to learn. 1. Getting Started with Data Analysis - Installation and Loading Data [YouTube] 2. DataFrame and Series Basics - Selecting Rows and Columns [YouTube] 3. Indexes - How to Set, Reset, and Use Indexes [YouTube] 4. Filtering - Using Conditionals to Filter Rows and Columns [YouTube] 5. Updating Rows and Columns - Modifying Data Within DataFrames [YouTube] ... 11. Reading/Writing Data to Different Sources - Excel, JSON, SQL, Etc [YouTube] 🔗Full YouTube playlist #materials #pandas #dataanalysis
نمایش همه...
🔥 22