This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| collections.defaultdict(int) | |
| # good | |
| collections.defaultdict(lambda: 0) | |
| # good | |
| collections.defaultdict(lambda x:x**2) | |
| # TypeError: <lambda>() missing 1 required positional argument: 'x' | |
| # it seems program expects function without arguments |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://www.discoverbits.in/864/error-launchpadlib-requires-testresources-which-installed | |
| == | |
| ERROR: launchpadlib 1.10.6 requires testresources, which is not installed. | |
| +2 votes | |
| asked Oct 6, 2019 in Programming Languages by pythonuser (11.5k points) | |
| recategorized Oct 6, 2019 by pythonuser | |
| I am getting the following error when I try to upgrade setuptools: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://www.reddit.com/r/linux/comments/byugan/how_to_install_japanese_input_in_linux_tutorial/ | |
| == | |
| How to install Japanese Input in Linux (tutorial) | |
| Introduction: | |
| Hello, my name is Eitan. I am new to linux but i am learning rapidly. | |
| I want to contribute to the community by writing a tutorials for things that might sound easy and unnecessary but for some it might help a lot. if you see that i wrote something wrong please be sure that your write in the comments so i will fix myself. | |
| (This tutorial was tested on debian based oses) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gnome-session-properties | |
| ==== | |
| Skip to content | |
| Website for Students | |
| Learn Ubuntu Linux, Windows and CMS | |
| Articles |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Stack Overflow | |
| Products | |
| y56 | |
| 13 | |
| , 13 reputation | |
| β33 bronze badges |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://docs.python.org/3/library/collections.html#defaultdict-objects | |
| dd=collections.defaultdict(lambda: [1]) | |
| # defaultdict(<function __main__.<lambda>()>, {}) | |
| xx=dd['1'] | |
| dd | |
| # defaultdict(<function __main__.<lambda>()>, {'1': [1]}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://sourcedigit.com/20306-ubuntu-take-screenshot-from-command-line/ | |
| ==== | |
| Skip to primary navigation | |
| Skip to main content | |
| Skip to primary sidebar | |
| Source Digit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| to fix the no-audio bug after upgrading linux kernel | |
| Ubuntu 18.04 audio disappeared after update | |
| https://askubuntu.com/questions/1218041/ubuntu-18-04-audio-disappeared-after-update | |
| FS#64720 - [linux] No sound after upgrading to linux 5.4.1 | |
| https://bugs.archlinux.org/task/64720 | |
| How do I add a kernel boot parameter? | |
| https://askubuntu.com/questions/19486/how-do-i-add-a-kernel-boot-parameter |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| GNOME Shell Extensions | |
| Extensions | |
| Add yours | |
| Installed extensions | |
| About | |
| Installed Extensions | |
| AlternateTab by fmuellner |