The Wayback Machine - https://web.archive.org/web/20200322142410/https://github.com/topics/python-3
Skip to content
#

python-3

python logo

Python is a dynamically typed programming language designed by Guido van Rossum. 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 4,038 public repositories matching this topic...

robodhhb
robodhhb commented Feb 22, 2019

What did you do?

I want to import PIL modules with the following statement

#!/usr/bin/python3
import tkinter
from PIL import Image, ImageTk

But ImageTk was NOT imported. I got it by executing:
sudo aptitude install python3-pil.imagetk
This fact should be added to the documentation which would be of great help for beginners.
All modules which are not installed by defau

StevenLi-DS
StevenLi-DS commented Feb 6, 2020

'0.15.3'

from textblob import TextBlob

text = 'Four years ago, we started four projects. We like them.'

blob = TextBlob(text)
blob.correct()
TextBlob("Your years ago, we started four projects. He like them.")

For some reasons, "Four" was changed to "Your" and "We" was changed to "He".

htgoebel
htgoebel commented Nov 15, 2019

modulegraph2 is a complete rewrite of modulegraph (by the same author), using lessons learned in that project but with a complete new Python 3 code base and full test coverage.

modulegraph will no longer be maintained.

We need to identify our changes to modulegraph, identify which are relevant for modulegraph2 and port them over.

I marked this as "good first issue", since the ch

witten
witten commented Oct 19, 2019

Have you checked borgbackup docs, FAQ, and open Github issues?

Yup.

Is this a BUG / ISSUE report or a QUESTION?

ISSUE / feature request.

System information. For client/server mode post info for both machines.

Your borg version (borg -V).

1.1.10

Operating system (distribution) and version.

Manjaro Linux 18.1.1

Hardware / network configuration, and

neirbowj
neirbowj commented May 27, 2018

Thank you for maintaining this great resource!

With Python 2 End of Life planned for about 19 months from now, it should be possible to run any snippet found on pysheets under the latest version of Python (3.6.5 today) unmodified. For example, all occurrences of print should be functions instead of statements. This is not to say that the snippets s

ChillFish8
ChillFish8 commented Jan 27, 2020

Summary

on_shard_ready(shard_id) - This function is not firing when it should, it seems to only fire for some bot tokens and not others. on_ready() however, is firing reliably every time instead of on_shard_ready(shard_id)

Context:

  • using AutoShardedClient()
  • Shardcount ranging between 1 and 10
  • Tested code on 4 diffrent bot applications non successfully working appart from 1 t
eyand
eyand commented Jun 21, 2017

In the documentation for the Mobileclient.get_promoted_songs() method, the docs say that the method determining the songs returned is unknown. When I run this method my liked/thumbs up auto-playlist is returned. Not sure if that is the case for anyone else.

usamitysam
usamitysam commented Feb 10, 2018

Thanks for the project!!!! The fact that examples exist is amazingly great. I have a philosophy recommendation for you. The examples exist so you don't have to answer stupid questions. In that spirit of saving you time and effort, you might want to spend a few minutes and adding clean separation in the code, remove command nesting and line splits. Finally consider adding painfully excessive

kevinhendricks
kevinhendricks commented Feb 19, 2020

porcelain.add does not work as documented:
"path - Paths to add. No value passed stages all modified files"

(emphasis is mine)

From looking at the porcelain.py code, If paths is none it only adds untracked changes and not unstaged changes.

So procelain.add(repo='.', paths=None) does not work like:

git add -A

FWIW, should be an easy fix to add unstaged to it.

bug
gyermolenko
gyermolenko commented May 13, 2019

Argument type for many SortedSet commands (for min/max kw) is enforced by isinstance check.
In one place it even has this comment:

if not isinstance(max, bytes):  # FIXME     Why only bytes?
    raise TypeError("max argument must be bytes")

I think it is more convenient (for me as a user) to pass strings inst. of bytes.
Some of these commands are for "lexicographical" op

cherrypy
KieranCairney
KieranCairney commented Dec 11, 2019

I'm submitting a ...

  • bug report
  • feature request
  • question about the decisions made in the repository

Do you want to request a feature or report a bug?

Reporting a Bug

What is the current behavior?

python_2_eol.html template uses vulnerable moment version (v2.18.1 moment.js is vulnerable to regular expression denial of service via a crafted date str

vistatest
vistatest commented May 16, 2019

Typing hints are displayed in the same color as python variables and statements.
That looks somewhat confusing and makes it harder to see at once where is a typing hint, where a variable name is defined and where is an actual code.

E.g., the line below up to 'origin' is in the same color.

  remote: pygit2.Remote = gitrepo.remotes['origin']

Created by Guido van Rossum

Released February 20, 1991

Organization
python
Website
www.python.org
Wikipedia
Wikipedia

Related Topics

language ruby
You can’t perform that action at this time.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.