Python

Python is a dynamically-typed garbage-collected programming language developed by Guido van Rossum in the late 80s to replace ABC. Much like the programming language Ruby, Python was designed to be easily read by programmers. Because of its large following and many libraries, Python can be implemented and used to do anything from webpages to scientific research.
Here are 257,982 public repositories matching this topic...
-
Updated
Feb 4, 2022 - Python
-
Updated
Feb 4, 2022 - Java
We have a lot of is_prime
(or similar) functions: https://github.com/TheAlgorithms/Python/search?p=4&q=is_prime, https://github.com/TheAlgorithms/Python/search?q=isPrime, data_structures/hashing/number_theory/prime_numbers, etc. Shall we use one common function for that exactly identical
-
Updated
Feb 3, 2022 - Python
-
Updated
Jan 31, 2022
Clean up dead or outdated tutorials. Feel free to make a PR.
Related to #5142, AlbertTokenizer
(which uses SentencePiece) doesn't decode special tokens (like [CLS], [MASK]) properly. This issue was discovered when adding the Nystromformer model (#14659), which uses this tokenizer.
To reproduce (Transformers v4.15 or below):
!pip install -q transformers sentencepiece
from transformers import AlbertTokenizer
tokenizer = AlbertTokenizer.from
-
Updated
Feb 5, 2022 - Python
🐛 Describe the bug
Usage of RRefContext::handleException
in torch/csrc/distributed/rpc/rref_context.cpp
is wrong when the future has an error.
RRefContext::handleException
uses TORCH_CHECK
which throws.
Callers of RRefContext::handleException
don't expect that and run code after it without any guarding.
Versions
master
-
Updated
Feb 4, 2022 - Python

-
Updated
Jan 28, 2022 - Python
-
Updated
Feb 4, 2022 - Python
-
Updated
Feb 5, 2022 - Python
These examples take quite a long time to run, and they make our documentation CI fail quite frequently due to timeout. It'd be nice to speed the up a little bit.
To contributors: if you want to work on an example, first have a look at the example, and if you think you're comfortable working on it and have found a potential way to speed-up execution time while preserving the educational message
-
Updated
Feb 4, 2022 - JavaScript
The Mixed Time-Series chart type allows for configuring the title of the primary and the secondary y-axis.
However, while only the title of the primary axis is shown next to the axis, the title of the secondary one is placed at the upper end of the axis where it gets hidden by bar values and zoom controls.
How to reproduce the bug
- Create a mixed time-series chart
- Configure axi
-
Updated
Dec 4, 2021 - Python
As noticed in #4492, the FAq question at https://docs.scrapy.org/en/latest/faq.html#scrapy-crashes-with-importerror-no-module-named-win32api is no longer useful as the Twisted bug was fixed long time ago. We should remove this question.
-
Updated
Jan 4, 2022 - Jupyter Notebook
First check
- I added a very descriptive title to this issue.
- I used the GitHub search to find a similar issue and didn't find it.
- I searched the FastAPI documentation, with the integrated search.
- I already searched in Google "How to X in FastAPI" and didn't find any information.
- I already read and followed all the tutorial in the docs and didn't find an answ
Hello everyone, I will explain the current status of manim in this issue.
Now there are three main manim versions, and their differences:
- The
master
branch of 3b1b/manim: Rendering on GPU using OpenGL and moderngl. Support interaction and have higher efficiency. - ManimCommunity/manim: (@ManimCommunity
-
Updated
Feb 4, 2022 - Python
-
Updated
Feb 4, 2022 - Python
-
Updated
Jan 17, 2022
-
Updated
Jan 31, 2022 - Python
Created by Guido van Rossum
Released February 20, 1991
- Organization
- python
- Website
- www.python.org
- Wikipedia
- Wikipedia
Current implementation of Go binding can not specify options.
GPUOptions struct is in internal package. And
go generate
doesn't work for protobuf directory. So we can't specify GPUOptions forNewSession
.