python-3
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 3,303 public repositories matching this topic...
The words and sentences properties are helpers that use the textblob.tokenizers.WordTokenizer and textblob.tokenizers.SentenceTokenizer classes, respectively.
You can use other tokenizers, such as those provided by NLTK, by passing them into the TextBlob constructor then accessing the t
-
Updated
May 19, 2020 - Python
As requested I am opening a new issue after testing with Python 3.7 and the latest PyInstaller development version.
Referencing issue #2533
Windows 10 x64 (Spanish locale)
PyInstaller 4.0.dev0+80d5078081
Python 3.7.7
Code modified from the initial example:
# parent.py
#!/usr/bin/python
import os
import sys
import time
from subprocess import Popen
if __name__ == "__main__":
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
Summary
sending a discord.File object through Messageable.send() changes the state of the file object.
Reproduction Steps
file = discord.File(io.BytesIO(my_bytes), filename='my_file')
await ctx.send(file=file) # sends the file properly
await ctx.send(file=file) # sends the file with zero bytes
await ctx.send(file=file) # errorExpected Results
Sendi
The fact that exclude takes dotted notation for nested fields, but unknown does not apply to nested fields, means that exclude doesn't work for nested fields in some common use cases unless the nested schema(s) have the desired Meta.unknown setting, and then they are not runtime-flexible, which is the great benefit of Schema and load taking exclude. Somewhat new to marshmallow so mayb
In the documentation for connect() function, parameter server_settings has the following description:
An optional dict of server runtime parameters. Refer to PostgreSQL documentation for a list of supported options.
The link in the description returns erro
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.
-
Updated
Apr 28, 2020 - Python
Describe the feature
Ideally the documentation should mention all the datastore models required by the OpenID Connect flows. The current documentation has this section for OAuth2.0 (https://oauthlib.readthedocs.io/en/latest/oauth2/server.html#create-your-datastore-models) but it is missing for OIDC.
In commit: celery/kombu@5780f1e
support for queues already defined in Amazon SQS was added.
However, simply by following the instructions at https://docs.celeryproject.org/en/latest/getting-started/brokers/sqs.html and Getting Started page, I must say that I'm still not able to process any message (it's not an issue with credentials or
-
Updated
May 9, 2020 - Python
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
-
Updated
May 25, 2020 - Python
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.
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
-
Updated
Apr 8, 2020 - Python
I'm submitting a ...
- bug report
- feature request
- question about the decisions made in the repository
- docs infra improvement
Do you want to request a feature or report a bug?
N/A
What is the current behavior?
there's warnings
**If the current behavior is a bug, please provide the steps to reproduce and if possible a screenshots and logs of t
Self-explanatory.
-
Updated
May 6, 2020 - Python
-
Updated
Dec 3, 2018 - Python
Is the pyparsing class diagram still accurate? The last version it was generated for is 1.5.2, but it looks about right.
When I run the sample from https://github.com/marshmallow-code/apispec/blob/dev/docs/quickstart.rst
the expected output
# {'components': {'parameters': {},
# 'responses': {},
# 'schemas': {'Gist': {'properties': {'id': {'format': 'int64',
# 'type': 'integer'},
#
When I followed the README.md and run command: python3 ./setup.py test
on CentOS Linux 7, I encountered the following error:
running test
Searching for onedrivesdk
Reading https://pypi.org/simple/onedrivesdk/
Downloading https://files.pythonhosted.org/packages/b3/76/9a3fe5b36079f5c40b33c89ad6f7737e3b8609010a80c9ed24d762ddb93e/onedrivesdk-2.0.tar.gz#sha256=4a1b3cf22570c21f083bea0a0e07
The navigation bar can occlude content, if the window is too narrow (here: half screen = 800 px), "add host" is covered then, see screenshot.
I'm not sure if this is an Quicktile or window manager (Gala from Elementary OS in my case) issue.
When using quicktile and tiling windows to the right part of the screen and having them take up 50% or less of the width of the screen it's positioned behind the top bar for some reason:

Sometimes people read/link to old versions of the documentation and miss new features and changes.
For example, from a Google search for a module, I ended up at http://pillow.readthedocs.org/en/3.1.x/reference/ImageChops.html
RtD has a setting to help with this: