What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-10-04 08:03:02
how to host a discord bot on a raspberry pi
#how to create and host a Discord Bot on a rasberry pi 1. Navigate to the Discord Developer Console 2. Click "New App" 3. Give it a name, and then click "Create App" 4. Click "Create a Bot User" 5. Keep note of the Token, as... Add solution -
-
Python 2021-10-01 18:11:04
No matching distribution found for numpy.core._multiarray_umath
#No matching distribution found for numpy.core._multiarray_umath If you are using numpy version==1.20|1.19 and python version <3.7 #then you will get this type of error Sol:Need to change interpreter with python version >3.7(3.8|3.9) then your issue... Add solution -
Python 2021-09-30 13:08:04
macos youtube-dl unable to get local issuer certificate _ssl.c:1131
# If you're using macOS go to # Macintosh HD > Applications > Python3.6 folder (or whatever version of python you're using) # > double click on "Install Certificates.command" file. :D # If you installed python using homebrew, run the ... Add solution -
Shell/Bash 2021-09-28 23:49:06
run python script powershell
First confirm that you have a file that has some python code in it. I will assume that the file name is called file.py (for simplicity) Oh yeah, and this might not work if you have not added python to PATH when you first downloaded it. Run the script li... Add solution -
Python 2021-09-27 02:07:05
fatal error: Python.h: No such file or directory
For apt (Ubuntu, Debian...): sudo apt-get install python-dev # for python2.x installs sudo apt-get install python3-dev # for python3.x installs For yum (CentOS, RHEL...): sudo yum install python-devel # for python2.x installs sudo yum install pytho... Add solution -
Other 2021-09-22 14:54:04
difference between range and xrange in python
-- In Python 2.x: -- range() creates a list, so if you do range(1, 10000000) it creates a list in memory with 9999999 elements. This will become an expensive operation on very large ranges. xrange() is a sequence object that evaluates lazily. It is much... Add solution -
Python 2021-09-19 11:02:02
fatal error: Python.h: No such file or directory 45 | #include <Python.h> | ^~~~~~~~~~ compilation terminated. error: command 'gcc' failed with exit status 1
For apt (Ubuntu, Debian...): sudo apt-get install python-dev # for python2.x installs sudo apt-get install python3-dev # for python3.x installs For yum (CentOS, RHEL...): sudo yum install python-devel # for python2.x installs sudo yum install pytho... Add solution -
Python 2021-09-18 00:28:01
python set windows environment variable
To add Python to the Windows Path, follow these steps: 1. Start the Run box and enter sysdm.cpl 2. In the System Properties window go to the Advanced tab and click the Environment Variables button 3. In the System variable window, find the Path varia... Add solution