From 47f65fb7eb4fdb3a5dcb87901ff96ea60c3c6f9e Mon Sep 17 00:00:00 2001 From: Xingyu Wang Date: Fri, 1 Jan 2021 10:52:52 +0800 Subject: [PATCH 1/2] PRF&PUB @geekpi https://linux.cn/article-12973-1.html --- ...28 Learn Python by coding a simple game.md | 40 +++++++++---------- 1 file changed, 19 insertions(+), 21 deletions(-) rename {translated/tech => published}/20201228 Learn Python by coding a simple game.md (68%) diff --git a/translated/tech/20201228 Learn Python by coding a simple game.md b/published/20201228 Learn Python by coding a simple game.md similarity index 68% rename from translated/tech/20201228 Learn Python by coding a simple game.md rename to published/20201228 Learn Python by coding a simple game.md index 0df850124b..8cdbc5ba64 100644 --- a/translated/tech/20201228 Learn Python by coding a simple game.md +++ b/published/20201228 Learn Python by coding a simple game.md @@ -1,16 +1,18 @@ [#]: collector: (lujun9972) [#]: translator: (geekpi) -[#]: reviewer: ( ) -[#]: publisher: ( ) -[#]: url: ( ) +[#]: reviewer: (wxy) +[#]: publisher: (wxy) +[#]: url: (https://linux.cn/article-12973-1.html) [#]: subject: (Learn Python by coding a simple game) [#]: via: (https://opensource.com/article/20/12/learn-python) [#]: author: (Moshe Zadka https://opensource.com/users/moshez) 编写一个简单的游戏来学习 Python ====== -通过编写一个”猜数字“游戏来探索 Python(和其他编程语言)。 -![Python programming language logo with question marks][1] + +> 通过编写一个“猜数字”游戏来探索 Python(和其他编程语言)。 + +![](https://img.linux.net.cn/data/attachment/album/202101/01/105156uwwgx3tw2otntoow.jpg) 在这个系列中,我们要用不同的编程语言编写相同的应用,以比较各种语言是如何工作的,并说明使用标准测试程序是学习新编程好方法。 @@ -18,9 +20,9 @@ 因为编程语言有许多相似之处,一旦你知道一种语言,你通常可以通过观察它与你所知道的语言的不同之处来学习另一种语言的基础知识。使用你用其他语言编写的标准测试程序,可以让你专注于语言,而不是程序的逻辑。 -为了证明这点,我们正在测试如何用多种语言编写一个”猜数字“程序。计算机选择一个 1 到 100 之间的数字,然后让你猜。程序循环,直到你猜出正确答案。 +为了证明这点,我们正在测试如何用多种语言编写一个“猜数字”程序。计算机选择一个 1 到 100 之间的数字,然后让你猜。程序循环,直到你猜出正确答案。 -”猜数字“程序练习了编程语言的几个概念: +“猜数字”程序练习了编程语言的几个概念: * 变量 * 输入 @@ -28,16 +30,13 @@ * 条件判断 * 循环 - - 这是一个很好的学习新编程语言的实践实验。 ### 用 Python 猜数字 -用 [Python 软件基金会][2]的话来说。”Python 是一种解释的、交互式的、面向对象的程序设计语言,它包含了模块、异常、动态类型、非常高层的动态数据类型和类。“它是一种很好的通用编程语言,从简单的脚本到复杂的 GUI 应用都很有用。 - -你可以通过编写一个版本的”猜数字“游戏来探索 Python。这是我的实现: +用 [Python 软件基金会][2]的话来说。“Python 是一种解释性的、交互式的、面向对象的程序设计语言,它包含了模块、异常、动态类型、非常高层的动态数据类型和类。”它是一种很好的通用编程语言,从简单的脚本到复杂的 GUI 应用都很适用。 +你可以通过编写一个版本的“猜数字”游戏来探索 Python。这是我的实现: ``` import random as randomlib @@ -54,24 +53,23 @@ while True:         break ``` -要给一个变量赋值,请列出变量的名称,然后是 `=` 号。例如,语句 `random = 0` 给 `random` 变量分配一个零值。 +要给一个变量赋值,请列出变量的名称,然后是 `=` 号。例如,语句 `random = 0` 给 `random` 变量分配了一个零值。 脚本的第一行就导入了 `random` 模块。由于本系列中的所有程序都使用 `random` 作为变量的名称,你可以使用 `import random as randomlib` 以别名导入它,以避免命名冲突。 -很少有函数内置到 Python 中,大多数函数必须从标准库中显式导入。`random` 标准库模块有生成各种随机值的功能。 +很少有函数被内置到 Python 中,大多数函数必须从标准库中显式导入。`random` 标准库模块有生成各种随机值的功能。 脚本的第二行读取函数 `randint()` 的结果,并将其赋值给名为 `random` 的变量。函数需要两个参数:一个最小值和一个最大值。在本例中,范围是 `1` 到 `100`,以使游戏具有足够的挑战性。 -你也可以使用 `input()` 函数提示用户输入一个值。如果你写 `guess = int(input())`,Python 会等待用户输入一些文本,将其转换为一个整数,然后将值存储在 guess 变量中。 +你可以使用 `input()` 函数提示用户输入一个值。如果你写 `guess = int(input())`,Python 会等待用户输入一些文本,将其转换为一个整数,然后将值存储在 `guess` 变量中。 -Python 支持条件表达式和循环等流程控制。在”猜数字“游戏中,只要 guess 中的值不等于 `random`,Python 就会继续循环。 +Python 支持条件表达式和循环等流程控制。在“猜数字”游戏中,只要 `guess` 中的值不等于 `random`,Python 就会继续循环。 如果猜测值小于随机数,Python 会打印 `Too low`,如果猜测值大于这个数字,Python 会打印 `Too high`。 ### 示例输出 -现在你已经写好了 Python 程序,运行它来玩”猜数字“游戏。每次运行程序,Python 都会随机选取一个不同的数字。为了完成这个游戏,你需要猜测,直到找到正确的数字: - +现在你已经写好了 Python 程序,运行它来玩“猜数字”游戏。每次运行程序,Python 都会随机选取一个不同的数字。为了完成这个游戏,你需要猜测,直到找到正确的数字: ``` $ python guess.py @@ -92,9 +90,9 @@ Too low That's right! ``` -在学习一门新的编程语言时,这个”猜数字“游戏是一个很好的入门程序,因为它以一种相当直接的方式练习了几个常见的编程概念。通过在不同的编程语言中实现这个简单的游戏,你可以展示不同编程语言的一些核心概念,并比较每种语言的细节。 +在学习一门新的编程语言时,这个“猜数字”游戏是一个很好的入门程序,因为它以一种相当直接的方式练习了几个常见的编程概念。通过在不同的编程语言中实现这个简单的游戏,你可以展示不同编程语言的一些核心概念,并比较每种语言的细节。 -你有喜欢的编程语言吗?你会如何编写”猜数字“游戏?请关注本系列文章,看看你可能感兴趣的其他编程语言的例子吧! +你有喜欢的编程语言吗?你会如何编写“猜数字”游戏?请关注本系列文章,看看你可能感兴趣的其他编程语言的例子吧! -------------------------------------------------------------------------------- @@ -103,7 +101,7 @@ via: https://opensource.com/article/20/12/learn-python 作者:[Moshe Zadka][a] 选题:[lujun9972][b] 译者:[geekpi](https://github.com/geekpi) -校对:[校对者ID](https://github.com/校对者ID) +校对:[wxy](https://github.com/wxy) 本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 From d2d3d81181d57b9a53dcff70d89289ad39b59d03 Mon Sep 17 00:00:00 2001 From: Xingyu Wang Date: Fri, 1 Jan 2021 10:55:12 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=BD=92=E6=A1=A3=20202012?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 告别 2020! --- .../{ => 202012}/20190115 Linux Desktop Setup - HookRace Blog.md | 0 .../20190208 3 Ways to Install Deb Files on Ubuntu Linux.md | 0 .../20190524 Dual booting Windows and Linux using UEFI.md | 0 .../{ => 202012}/20190612 When to use 5G, when to use Wi-Fi 6.md | 0 ... VLAN tagged NIC (Ethernet Card) on CentOS and RHEL Servers.md | 0 .../{ => 202012}/20191118 Creating a Chat Bot with Recast.AI.md | 0 ...00421 How I use Python to map the global spread of COVID-19.md | 0 .../20200711 scanimage- scan from the command line.md | 0 published/{ => 202012}/20200928 Add sound to your Python game.md | 0 .../20201005 How the Linux kernel handles interrupts.md | 0 .../20201022 How to influence people to join open source.md | 0 .../{ => 202012}/20201026 7 Git tricks that changed my life.md | 0 .../20201030 How to rebase to Fedora 33 on Silverblue.md | 0 .../20201109 Day 1- a confusing Rails error message.md | 0 .../20201110 Day 2- Rails associations - dragging divs around.md | 0 .../20201113 The state of the art of microservices in 2020.md | 0 ...6 How to use Serializers in the Django Python web framework.md | 0 ...ram in Ubuntu and Other Linux Distributions -Beginner-s Tip.md | 0 ...ut of a Command to a File in Linux Terminal -Beginner-s Tip.md | 0 .../20201125 Get started with Fossil, an alternative to Git.md | 0 .../20201125 Keep track of multiple Git remote repositories.md | 0 .../{ => 202012}/20201127 Getting started with Fedora CoreOS.md | 0 .../20201129 How to Go Full Dark Mode With LibreOffice.md | 0 .../20201130 8 Git aliases that make me more efficient.md | 0 .../20201130 An attempt at implementing char-rnn with PyTorch.md | 0 .../20201130 Journal five minutes a day with Jupyter.md | 0 ...s open source security tool halted significant DDoS attacks.md | 0 .../20201201 Try Jed as your Linux terminal text editor.md | 0 ...ro- An Open Source App to Help You Collect - Share Research.md | 0 ...dora and Get Access to a Huge Number of Additional Software.md | 0 published/{ => 202012}/20201202 Why I love Emacs.md | 0 .../20201203 Download the 2020 Linux Foundation Annual Report.md | 0 .../20201203 Get the most out of the Vi text editor.md | 0 ...01205 Why 2020 is the best time to use the Kate text editor.md | 0 ...206 Experience the useful features of the Xedit text editor.md | 0 .../20201207 Add storage to your Fedora system with LVM.md | 0 ...7 Optimize your GNOME experience with the Gedit text editor.md | 0 .../20201208 Learn Bash by writing an interactive game.md | 0 .../20201209 How to Pretty Print JSON File in Linux Terminal.md | 0 .../20201209 Make medit your next Linux terminal text editor.md | 0 .../20201210 Why Java developers love the jEdit text editor.md | 0 ...213 What web developers love about the Brackets text editor.md | 0 .../{ => 202012}/20201214 Set up an Ansible lab in 20 minutes.md | 0 ...5 9 things to do in your first 10 minutes on a Linux server.md | 0 ... Replacements of CentOS 8 for Your Production Linux Servers.md | 0 .../20201216 How to View Images from the Linux Terminal.md | 0 .../20201216 Why Vim users will love the Kakoune text editor.md | 0 .../20201218 Find out how your text will be read with Norka.md | 0 ...w to Install RPM Files on Fedora Linux -Beginner-s Tutorial.md | 0 .../20201220 How to use this KDE Plasma text editor.md | 0 ...01221 4 cool new projects to try in COPR from December 2020.md | 0 .../20201222 4 reasons businesses adopted open source in 2020.md | 0 ...222 Font Manager- A Simple Open-Source App for GTK- Desktop.md | 0 53 files changed, 0 insertions(+), 0 deletions(-) rename published/{ => 202012}/20190115 Linux Desktop Setup - HookRace Blog.md (100%) rename published/{ => 202012}/20190208 3 Ways to Install Deb Files on Ubuntu Linux.md (100%) rename published/{ => 202012}/20190524 Dual booting Windows and Linux using UEFI.md (100%) rename published/{ => 202012}/20190612 When to use 5G, when to use Wi-Fi 6.md (100%) rename published/{ => 202012}/20190617 How to Use VLAN tagged NIC (Ethernet Card) on CentOS and RHEL Servers.md (100%) rename published/{ => 202012}/20191118 Creating a Chat Bot with Recast.AI.md (100%) rename published/{ => 202012}/20200421 How I use Python to map the global spread of COVID-19.md (100%) rename published/{ => 202012}/20200711 scanimage- scan from the command line.md (100%) rename published/{ => 202012}/20200928 Add sound to your Python game.md (100%) rename published/{ => 202012}/20201005 How the Linux kernel handles interrupts.md (100%) rename published/{ => 202012}/20201022 How to influence people to join open source.md (100%) rename published/{ => 202012}/20201026 7 Git tricks that changed my life.md (100%) rename published/{ => 202012}/20201030 How to rebase to Fedora 33 on Silverblue.md (100%) rename published/{ => 202012}/20201109 Day 1- a confusing Rails error message.md (100%) rename published/{ => 202012}/20201110 Day 2- Rails associations - dragging divs around.md (100%) rename published/{ => 202012}/20201113 The state of the art of microservices in 2020.md (100%) rename published/{ => 202012}/20201116 How to use Serializers in the Django Python web framework.md (100%) rename published/{ => 202012}/20201118 How to Write, Compile and Run a C Program in Ubuntu and Other Linux Distributions -Beginner-s Tip.md (100%) rename published/{ => 202012}/20201122 How to Save the Output of a Command to a File in Linux Terminal -Beginner-s Tip.md (100%) rename published/{ => 202012}/20201125 Get started with Fossil, an alternative to Git.md (100%) rename published/{ => 202012}/20201125 Keep track of multiple Git remote repositories.md (100%) rename published/{ => 202012}/20201127 Getting started with Fedora CoreOS.md (100%) rename published/{ => 202012}/20201129 How to Go Full Dark Mode With LibreOffice.md (100%) rename published/{ => 202012}/20201130 8 Git aliases that make me more efficient.md (100%) rename published/{ => 202012}/20201130 An attempt at implementing char-rnn with PyTorch.md (100%) rename published/{ => 202012}/20201130 Journal five minutes a day with Jupyter.md (100%) rename published/{ => 202012}/20201201 How this open source security tool halted significant DDoS attacks.md (100%) rename published/{ => 202012}/20201201 Try Jed as your Linux terminal text editor.md (100%) rename published/{ => 202012}/20201201 Zotero- An Open Source App to Help You Collect - Share Research.md (100%) rename published/{ => 202012}/20201202 How to Add Third-Party Repositories in Fedora and Get Access to a Huge Number of Additional Software.md (100%) rename published/{ => 202012}/20201202 Why I love Emacs.md (100%) rename published/{ => 202012}/20201203 Download the 2020 Linux Foundation Annual Report.md (100%) rename published/{ => 202012}/20201203 Get the most out of the Vi text editor.md (100%) rename published/{ => 202012}/20201205 Why 2020 is the best time to use the Kate text editor.md (100%) rename published/{ => 202012}/20201206 Experience the useful features of the Xedit text editor.md (100%) rename published/{ => 202012}/20201207 Add storage to your Fedora system with LVM.md (100%) rename published/{ => 202012}/20201207 Optimize your GNOME experience with the Gedit text editor.md (100%) rename published/{ => 202012}/20201208 Learn Bash by writing an interactive game.md (100%) rename published/{ => 202012}/20201209 How to Pretty Print JSON File in Linux Terminal.md (100%) rename published/{ => 202012}/20201209 Make medit your next Linux terminal text editor.md (100%) rename published/{ => 202012}/20201210 Why Java developers love the jEdit text editor.md (100%) rename published/{ => 202012}/20201213 What web developers love about the Brackets text editor.md (100%) rename published/{ => 202012}/20201214 Set up an Ansible lab in 20 minutes.md (100%) rename published/{ => 202012}/20201215 9 things to do in your first 10 minutes on a Linux server.md (100%) rename published/{ => 202012}/20201215 Here are the Worthy Replacements of CentOS 8 for Your Production Linux Servers.md (100%) rename published/{ => 202012}/20201216 How to View Images from the Linux Terminal.md (100%) rename published/{ => 202012}/20201216 Why Vim users will love the Kakoune text editor.md (100%) rename published/{ => 202012}/20201218 Find out how your text will be read with Norka.md (100%) rename published/{ => 202012}/20201218 How to Install RPM Files on Fedora Linux -Beginner-s Tutorial.md (100%) rename published/{ => 202012}/20201220 How to use this KDE Plasma text editor.md (100%) rename published/{ => 202012}/20201221 4 cool new projects to try in COPR from December 2020.md (100%) rename published/{ => 202012}/20201222 4 reasons businesses adopted open source in 2020.md (100%) rename published/{ => 202012}/20201222 Font Manager- A Simple Open-Source App for GTK- Desktop.md (100%) diff --git a/published/20190115 Linux Desktop Setup - HookRace Blog.md b/published/202012/20190115 Linux Desktop Setup - HookRace Blog.md similarity index 100% rename from published/20190115 Linux Desktop Setup - HookRace Blog.md rename to published/202012/20190115 Linux Desktop Setup - HookRace Blog.md diff --git a/published/20190208 3 Ways to Install Deb Files on Ubuntu Linux.md b/published/202012/20190208 3 Ways to Install Deb Files on Ubuntu Linux.md similarity index 100% rename from published/20190208 3 Ways to Install Deb Files on Ubuntu Linux.md rename to published/202012/20190208 3 Ways to Install Deb Files on Ubuntu Linux.md diff --git a/published/20190524 Dual booting Windows and Linux using UEFI.md b/published/202012/20190524 Dual booting Windows and Linux using UEFI.md similarity index 100% rename from published/20190524 Dual booting Windows and Linux using UEFI.md rename to published/202012/20190524 Dual booting Windows and Linux using UEFI.md diff --git a/published/20190612 When to use 5G, when to use Wi-Fi 6.md b/published/202012/20190612 When to use 5G, when to use Wi-Fi 6.md similarity index 100% rename from published/20190612 When to use 5G, when to use Wi-Fi 6.md rename to published/202012/20190612 When to use 5G, when to use Wi-Fi 6.md diff --git a/published/20190617 How to Use VLAN tagged NIC (Ethernet Card) on CentOS and RHEL Servers.md b/published/202012/20190617 How to Use VLAN tagged NIC (Ethernet Card) on CentOS and RHEL Servers.md similarity index 100% rename from published/20190617 How to Use VLAN tagged NIC (Ethernet Card) on CentOS and RHEL Servers.md rename to published/202012/20190617 How to Use VLAN tagged NIC (Ethernet Card) on CentOS and RHEL Servers.md diff --git a/published/20191118 Creating a Chat Bot with Recast.AI.md b/published/202012/20191118 Creating a Chat Bot with Recast.AI.md similarity index 100% rename from published/20191118 Creating a Chat Bot with Recast.AI.md rename to published/202012/20191118 Creating a Chat Bot with Recast.AI.md diff --git a/published/20200421 How I use Python to map the global spread of COVID-19.md b/published/202012/20200421 How I use Python to map the global spread of COVID-19.md similarity index 100% rename from published/20200421 How I use Python to map the global spread of COVID-19.md rename to published/202012/20200421 How I use Python to map the global spread of COVID-19.md diff --git a/published/20200711 scanimage- scan from the command line.md b/published/202012/20200711 scanimage- scan from the command line.md similarity index 100% rename from published/20200711 scanimage- scan from the command line.md rename to published/202012/20200711 scanimage- scan from the command line.md diff --git a/published/20200928 Add sound to your Python game.md b/published/202012/20200928 Add sound to your Python game.md similarity index 100% rename from published/20200928 Add sound to your Python game.md rename to published/202012/20200928 Add sound to your Python game.md diff --git a/published/20201005 How the Linux kernel handles interrupts.md b/published/202012/20201005 How the Linux kernel handles interrupts.md similarity index 100% rename from published/20201005 How the Linux kernel handles interrupts.md rename to published/202012/20201005 How the Linux kernel handles interrupts.md diff --git a/published/20201022 How to influence people to join open source.md b/published/202012/20201022 How to influence people to join open source.md similarity index 100% rename from published/20201022 How to influence people to join open source.md rename to published/202012/20201022 How to influence people to join open source.md diff --git a/published/20201026 7 Git tricks that changed my life.md b/published/202012/20201026 7 Git tricks that changed my life.md similarity index 100% rename from published/20201026 7 Git tricks that changed my life.md rename to published/202012/20201026 7 Git tricks that changed my life.md diff --git a/published/20201030 How to rebase to Fedora 33 on Silverblue.md b/published/202012/20201030 How to rebase to Fedora 33 on Silverblue.md similarity index 100% rename from published/20201030 How to rebase to Fedora 33 on Silverblue.md rename to published/202012/20201030 How to rebase to Fedora 33 on Silverblue.md diff --git a/published/20201109 Day 1- a confusing Rails error message.md b/published/202012/20201109 Day 1- a confusing Rails error message.md similarity index 100% rename from published/20201109 Day 1- a confusing Rails error message.md rename to published/202012/20201109 Day 1- a confusing Rails error message.md diff --git a/published/20201110 Day 2- Rails associations - dragging divs around.md b/published/202012/20201110 Day 2- Rails associations - dragging divs around.md similarity index 100% rename from published/20201110 Day 2- Rails associations - dragging divs around.md rename to published/202012/20201110 Day 2- Rails associations - dragging divs around.md diff --git a/published/20201113 The state of the art of microservices in 2020.md b/published/202012/20201113 The state of the art of microservices in 2020.md similarity index 100% rename from published/20201113 The state of the art of microservices in 2020.md rename to published/202012/20201113 The state of the art of microservices in 2020.md diff --git a/published/20201116 How to use Serializers in the Django Python web framework.md b/published/202012/20201116 How to use Serializers in the Django Python web framework.md similarity index 100% rename from published/20201116 How to use Serializers in the Django Python web framework.md rename to published/202012/20201116 How to use Serializers in the Django Python web framework.md diff --git a/published/20201118 How to Write, Compile and Run a C Program in Ubuntu and Other Linux Distributions -Beginner-s Tip.md b/published/202012/20201118 How to Write, Compile and Run a C Program in Ubuntu and Other Linux Distributions -Beginner-s Tip.md similarity index 100% rename from published/20201118 How to Write, Compile and Run a C Program in Ubuntu and Other Linux Distributions -Beginner-s Tip.md rename to published/202012/20201118 How to Write, Compile and Run a C Program in Ubuntu and Other Linux Distributions -Beginner-s Tip.md diff --git a/published/20201122 How to Save the Output of a Command to a File in Linux Terminal -Beginner-s Tip.md b/published/202012/20201122 How to Save the Output of a Command to a File in Linux Terminal -Beginner-s Tip.md similarity index 100% rename from published/20201122 How to Save the Output of a Command to a File in Linux Terminal -Beginner-s Tip.md rename to published/202012/20201122 How to Save the Output of a Command to a File in Linux Terminal -Beginner-s Tip.md diff --git a/published/20201125 Get started with Fossil, an alternative to Git.md b/published/202012/20201125 Get started with Fossil, an alternative to Git.md similarity index 100% rename from published/20201125 Get started with Fossil, an alternative to Git.md rename to published/202012/20201125 Get started with Fossil, an alternative to Git.md diff --git a/published/20201125 Keep track of multiple Git remote repositories.md b/published/202012/20201125 Keep track of multiple Git remote repositories.md similarity index 100% rename from published/20201125 Keep track of multiple Git remote repositories.md rename to published/202012/20201125 Keep track of multiple Git remote repositories.md diff --git a/published/20201127 Getting started with Fedora CoreOS.md b/published/202012/20201127 Getting started with Fedora CoreOS.md similarity index 100% rename from published/20201127 Getting started with Fedora CoreOS.md rename to published/202012/20201127 Getting started with Fedora CoreOS.md diff --git a/published/20201129 How to Go Full Dark Mode With LibreOffice.md b/published/202012/20201129 How to Go Full Dark Mode With LibreOffice.md similarity index 100% rename from published/20201129 How to Go Full Dark Mode With LibreOffice.md rename to published/202012/20201129 How to Go Full Dark Mode With LibreOffice.md diff --git a/published/20201130 8 Git aliases that make me more efficient.md b/published/202012/20201130 8 Git aliases that make me more efficient.md similarity index 100% rename from published/20201130 8 Git aliases that make me more efficient.md rename to published/202012/20201130 8 Git aliases that make me more efficient.md diff --git a/published/20201130 An attempt at implementing char-rnn with PyTorch.md b/published/202012/20201130 An attempt at implementing char-rnn with PyTorch.md similarity index 100% rename from published/20201130 An attempt at implementing char-rnn with PyTorch.md rename to published/202012/20201130 An attempt at implementing char-rnn with PyTorch.md diff --git a/published/20201130 Journal five minutes a day with Jupyter.md b/published/202012/20201130 Journal five minutes a day with Jupyter.md similarity index 100% rename from published/20201130 Journal five minutes a day with Jupyter.md rename to published/202012/20201130 Journal five minutes a day with Jupyter.md diff --git a/published/20201201 How this open source security tool halted significant DDoS attacks.md b/published/202012/20201201 How this open source security tool halted significant DDoS attacks.md similarity index 100% rename from published/20201201 How this open source security tool halted significant DDoS attacks.md rename to published/202012/20201201 How this open source security tool halted significant DDoS attacks.md diff --git a/published/20201201 Try Jed as your Linux terminal text editor.md b/published/202012/20201201 Try Jed as your Linux terminal text editor.md similarity index 100% rename from published/20201201 Try Jed as your Linux terminal text editor.md rename to published/202012/20201201 Try Jed as your Linux terminal text editor.md diff --git a/published/20201201 Zotero- An Open Source App to Help You Collect - Share Research.md b/published/202012/20201201 Zotero- An Open Source App to Help You Collect - Share Research.md similarity index 100% rename from published/20201201 Zotero- An Open Source App to Help You Collect - Share Research.md rename to published/202012/20201201 Zotero- An Open Source App to Help You Collect - Share Research.md diff --git a/published/20201202 How to Add Third-Party Repositories in Fedora and Get Access to a Huge Number of Additional Software.md b/published/202012/20201202 How to Add Third-Party Repositories in Fedora and Get Access to a Huge Number of Additional Software.md similarity index 100% rename from published/20201202 How to Add Third-Party Repositories in Fedora and Get Access to a Huge Number of Additional Software.md rename to published/202012/20201202 How to Add Third-Party Repositories in Fedora and Get Access to a Huge Number of Additional Software.md diff --git a/published/20201202 Why I love Emacs.md b/published/202012/20201202 Why I love Emacs.md similarity index 100% rename from published/20201202 Why I love Emacs.md rename to published/202012/20201202 Why I love Emacs.md diff --git a/published/20201203 Download the 2020 Linux Foundation Annual Report.md b/published/202012/20201203 Download the 2020 Linux Foundation Annual Report.md similarity index 100% rename from published/20201203 Download the 2020 Linux Foundation Annual Report.md rename to published/202012/20201203 Download the 2020 Linux Foundation Annual Report.md diff --git a/published/20201203 Get the most out of the Vi text editor.md b/published/202012/20201203 Get the most out of the Vi text editor.md similarity index 100% rename from published/20201203 Get the most out of the Vi text editor.md rename to published/202012/20201203 Get the most out of the Vi text editor.md diff --git a/published/20201205 Why 2020 is the best time to use the Kate text editor.md b/published/202012/20201205 Why 2020 is the best time to use the Kate text editor.md similarity index 100% rename from published/20201205 Why 2020 is the best time to use the Kate text editor.md rename to published/202012/20201205 Why 2020 is the best time to use the Kate text editor.md diff --git a/published/20201206 Experience the useful features of the Xedit text editor.md b/published/202012/20201206 Experience the useful features of the Xedit text editor.md similarity index 100% rename from published/20201206 Experience the useful features of the Xedit text editor.md rename to published/202012/20201206 Experience the useful features of the Xedit text editor.md diff --git a/published/20201207 Add storage to your Fedora system with LVM.md b/published/202012/20201207 Add storage to your Fedora system with LVM.md similarity index 100% rename from published/20201207 Add storage to your Fedora system with LVM.md rename to published/202012/20201207 Add storage to your Fedora system with LVM.md diff --git a/published/20201207 Optimize your GNOME experience with the Gedit text editor.md b/published/202012/20201207 Optimize your GNOME experience with the Gedit text editor.md similarity index 100% rename from published/20201207 Optimize your GNOME experience with the Gedit text editor.md rename to published/202012/20201207 Optimize your GNOME experience with the Gedit text editor.md diff --git a/published/20201208 Learn Bash by writing an interactive game.md b/published/202012/20201208 Learn Bash by writing an interactive game.md similarity index 100% rename from published/20201208 Learn Bash by writing an interactive game.md rename to published/202012/20201208 Learn Bash by writing an interactive game.md diff --git a/published/20201209 How to Pretty Print JSON File in Linux Terminal.md b/published/202012/20201209 How to Pretty Print JSON File in Linux Terminal.md similarity index 100% rename from published/20201209 How to Pretty Print JSON File in Linux Terminal.md rename to published/202012/20201209 How to Pretty Print JSON File in Linux Terminal.md diff --git a/published/20201209 Make medit your next Linux terminal text editor.md b/published/202012/20201209 Make medit your next Linux terminal text editor.md similarity index 100% rename from published/20201209 Make medit your next Linux terminal text editor.md rename to published/202012/20201209 Make medit your next Linux terminal text editor.md diff --git a/published/20201210 Why Java developers love the jEdit text editor.md b/published/202012/20201210 Why Java developers love the jEdit text editor.md similarity index 100% rename from published/20201210 Why Java developers love the jEdit text editor.md rename to published/202012/20201210 Why Java developers love the jEdit text editor.md diff --git a/published/20201213 What web developers love about the Brackets text editor.md b/published/202012/20201213 What web developers love about the Brackets text editor.md similarity index 100% rename from published/20201213 What web developers love about the Brackets text editor.md rename to published/202012/20201213 What web developers love about the Brackets text editor.md diff --git a/published/20201214 Set up an Ansible lab in 20 minutes.md b/published/202012/20201214 Set up an Ansible lab in 20 minutes.md similarity index 100% rename from published/20201214 Set up an Ansible lab in 20 minutes.md rename to published/202012/20201214 Set up an Ansible lab in 20 minutes.md diff --git a/published/20201215 9 things to do in your first 10 minutes on a Linux server.md b/published/202012/20201215 9 things to do in your first 10 minutes on a Linux server.md similarity index 100% rename from published/20201215 9 things to do in your first 10 minutes on a Linux server.md rename to published/202012/20201215 9 things to do in your first 10 minutes on a Linux server.md diff --git a/published/20201215 Here are the Worthy Replacements of CentOS 8 for Your Production Linux Servers.md b/published/202012/20201215 Here are the Worthy Replacements of CentOS 8 for Your Production Linux Servers.md similarity index 100% rename from published/20201215 Here are the Worthy Replacements of CentOS 8 for Your Production Linux Servers.md rename to published/202012/20201215 Here are the Worthy Replacements of CentOS 8 for Your Production Linux Servers.md diff --git a/published/20201216 How to View Images from the Linux Terminal.md b/published/202012/20201216 How to View Images from the Linux Terminal.md similarity index 100% rename from published/20201216 How to View Images from the Linux Terminal.md rename to published/202012/20201216 How to View Images from the Linux Terminal.md diff --git a/published/20201216 Why Vim users will love the Kakoune text editor.md b/published/202012/20201216 Why Vim users will love the Kakoune text editor.md similarity index 100% rename from published/20201216 Why Vim users will love the Kakoune text editor.md rename to published/202012/20201216 Why Vim users will love the Kakoune text editor.md diff --git a/published/20201218 Find out how your text will be read with Norka.md b/published/202012/20201218 Find out how your text will be read with Norka.md similarity index 100% rename from published/20201218 Find out how your text will be read with Norka.md rename to published/202012/20201218 Find out how your text will be read with Norka.md diff --git a/published/20201218 How to Install RPM Files on Fedora Linux -Beginner-s Tutorial.md b/published/202012/20201218 How to Install RPM Files on Fedora Linux -Beginner-s Tutorial.md similarity index 100% rename from published/20201218 How to Install RPM Files on Fedora Linux -Beginner-s Tutorial.md rename to published/202012/20201218 How to Install RPM Files on Fedora Linux -Beginner-s Tutorial.md diff --git a/published/20201220 How to use this KDE Plasma text editor.md b/published/202012/20201220 How to use this KDE Plasma text editor.md similarity index 100% rename from published/20201220 How to use this KDE Plasma text editor.md rename to published/202012/20201220 How to use this KDE Plasma text editor.md diff --git a/published/20201221 4 cool new projects to try in COPR from December 2020.md b/published/202012/20201221 4 cool new projects to try in COPR from December 2020.md similarity index 100% rename from published/20201221 4 cool new projects to try in COPR from December 2020.md rename to published/202012/20201221 4 cool new projects to try in COPR from December 2020.md diff --git a/published/20201222 4 reasons businesses adopted open source in 2020.md b/published/202012/20201222 4 reasons businesses adopted open source in 2020.md similarity index 100% rename from published/20201222 4 reasons businesses adopted open source in 2020.md rename to published/202012/20201222 4 reasons businesses adopted open source in 2020.md diff --git a/published/20201222 Font Manager- A Simple Open-Source App for GTK- Desktop.md b/published/202012/20201222 Font Manager- A Simple Open-Source App for GTK- Desktop.md similarity index 100% rename from published/20201222 Font Manager- A Simple Open-Source App for GTK- Desktop.md rename to published/202012/20201222 Font Manager- A Simple Open-Source App for GTK- Desktop.md