Skip to content
#

python-library

Here are 1,436 public repositories matching this topic...

mpathy
mpathy commented Apr 29, 2020

I redirected a friend to this page because I was 100% sure that it must have good Python tutorials, because the pages of other Awesome lists have it.

But sadly, this has not. I would really be happy to see some good tutorials for each group (Complete Beginner, Programmers who want to learn a new language, and so on).

I know few, but here would be the perfect place to collect the best as a gr

guihao-liang
guihao-liang commented May 1, 2020

in create_docker_image.sh

 10 # The build image version that will be used for testing
 11 TC_BUILD_IMAGE_CENTOS6=$(bash $WORKSPACE/scripts/get_docker_image.sh --centos=6)
 12 TC_BUILD_IMAGE_1204=$(bash $WORKSPACE/scripts/get_docker_image.sh --ubuntu=12.04)
 13 TC_BUILD_IMAGE_1404=$(bash $WORKSPACE/scripts/get_docker_image.sh --ubuntu=14.04)
 14 TC_BUILD_IMAGE_1804=$(bash $WORKSPAC
davetroiano
davetroiano commented Apr 16, 2020

The client.containers.run restart_policy states that the Name key can take on value: One of on-failure, or always. Since the default engine version is 1.35, and the dictionary just gets posted to the engine API, add unless-stopped to the list of valid values (to align with engine API doc here)

Kamik423
Kamik423 commented Apr 22, 2020

When using browser.get(url, stream=True) it does not in fact stream, but wait for the entire content to download and add it to the soup. One has to do browser.session.get(...).

This should be documented somewhere or there should be a get_without_adding_to_soup. I spent 3 hours debugging this yesterday, maybe this can save someone some time in the future.

https://github.com/MechanicalSo

nicholascar
nicholascar commented Mar 20, 2020

Graph().parse("some-file.ttl", format="turtle") is a common way to load RDF into an rdflib Graph. We have methods such as rdflib.util.guess_format() to guess format from the file extensions so what we need now is for guess_format() to be triggered automatically if format is not given so parse() can be used like this:

Graph().parse("some-file.ttl")
sarah-dev-av
sarah-dev-av commented Mar 24, 2020

In the documentation https://github.com/decalage2/oletools/wiki/olevba, it says "MS Office files encrypted with a password are also supported, because VBA macro code is never encrypted, only the content of the document". This makes me think, for an encrypted office file, olevba can extract the macro with or without a password provided. However, this is not the case. olevba seems only extracts the

xkunglu
xkunglu commented Jun 16, 2018

thanks for this; its great
One note, in your examples you do >>> from dominate.tags import *

but your tag names ( and I understand you got them from html ) are so short and generic that they will almost invariably collide with temporary names - e.g. img, I use everywhere in local contexts.
I would suggest that you follow the example of numpy or matplotlib that in their documents define a c

CleverCSV is a Python package for handling messy CSV files. It provides a drop-in replacement for the builtin CSV module with improved dialect detection, and comes with a handy command line application for working with CSV files.

  • Updated May 20, 2020
  • Python
darkclip
darkclip commented Jan 21, 2020

In las file format, vlrs info is crucial to correctly describe point's spatial location.
However, if you try to use pyntcloud.las_header.vlrs, you wouldn't get anything, the value is alway none.

Through your source code, I can see you try to use
data["las_header"] = las.header
But it can not pass vlrs or evlrs info into new object, because in laspy, vlrs info is dynamically obtained afterw

dezmaeth
dezmaeth commented Apr 22, 2020

Summary:

No module named 'celery.utils.time'

  • Celery Version: 3.3.1
  • Celery-Beat Version: 2.0.0

Exact steps to reproduce the issue:

  1. create virtualenv , pip install following packages
django==3.0.5
six==1.13.0
celery==3.1.25
django-celery>=3.3.1
django-celery-beat==2.0.0
  1. start django with manage command

Detailed information

 File "/home/maeth/
oxinabox
oxinabox commented Feb 28, 2018

I noticed that one of my epubs had all its chapters (items) out of order,
when I was looping through them.

I am guessing this is because this particular book used playOrder that disagreed with the filename order
(cref #148, #146, @ride90).

The documentation for this package should give some example of how to get the items in the "right order".

I am guessing it is something like sortin

Improve this page

Add a description, image, and links to the python-library topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the python-library topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.