What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2022-02-18 03:30:03
update python debian
# check python version python3 --version #output: Python 3.7.3 # Open the /etc/apt/sources.list file with the following command: sudo nano /etc/apt/sources.list # Add the official testing repository. Append the following line of text to # the end of ... Add solution -
Python 2021-11-03 21:08:13
how to install python 3.9 on ubuntu 18.04
Install the dependencies files to build Python. ... Download the latest Python stable source code. ... Extract the Python 3.9. ... Run the configure script. ... Build the Python 3.9.1. ... Install the Python 3.9.1. ... Verify the Python 3.9 Add solution -
Python 2021-10-22 04:03:04
python concatenate dictionaries
z = {**x, **y} #python 3.5 and above z = x | y #python 3.9+ ONLY def merge_two_dicts(x, y): # python 3.4 or lower z = x.copy() # start with x's keys and values z.update(y) # modifies z with y's keys and values & returns None ... Add solution