What do you want to save?
Add Code snippet
New code examples
-
Python 2021-08-27 11:00:02
python tuple methods
# A tuple is a sequence of immutable Python objects. Tuples are # sequences, just like lists. The differences between tuples # and lists are, the tuples cannot be changed unlike lists and # tuples use parentheses, whereas lists use square brackets. tup1 =... Add solution -
Python 2021-08-27 08:41:02
uninstall older version of python
""" Python is installed on your computer just as any other program is installed too. If you wish to remove specific version of Python, just go to "Remove Programs" in Control Panel and search there for the Python version you want... Add solution -
Shell/Bash 2021-08-26 11:00:03
how to use virtualenvwrapper
# install Virtual Environment alternative to virtualenv pip install virtualenvwrapper # modify your .profile file # find out where virtualenvwrapper.sh file is by issuing which command # source it as shown below source /usr/local/bin/virtualenvwrapper.sh... Add solution -
Shell/Bash 2021-08-26 10:47:03
linux find text in files recursively -include
# look for airflow Variable usage recursively in it's homepath # include only python and sql files in the search grep --include=\*.{py,sql} -rnw /home/airflow -e 'Variable' # shows how to use exclude... it'll skip data or log files grep --exclude=\*.{dat... Add solution -
Shell/Bash 2021-08-26 10:47:02
install gitpython
# install GitPython (basic, if path is not set yet) py -m pip install GitPython # or set PATH to use pip: setx PATH "%PATH%;C:\<path\to\python\directory\>\Scripts" pip install GitPython # or pip3 install GitPython --upgrade # if "conn... Add solution