Python- How to define function on command line
In normal cases we use Python CLI as just test for one liner commands and its output but there may…
Read MoreIn normal cases we use Python CLI as just test for one liner commands and its output but there may…
Read MoreHere requirement is that, I want to process a file from row number N to row number N+X One solution…
Read MoreGot following error after import turicreate /home/prod/anj/learn/ml/mlvenv/lib/python3.7/site-packages/pandas/compat/__init__.py:117: UserWarning: Could not import the lzma module. Your installed Python is incomplete. Attempting…
Read MoreMy default python is 2.7 and I want python 3.7 along with it: Go to opt directory $ cd /opt…
Read MoreI have Ubuntu and it has python 2.7 as default. Along with it I have configured python3 as well. To…
Read MoreTop command is used to check server processes in Linux. Top command shows all running processes in current host. It…
Read More# To check size of partition df -h # To check size of directory du -s -h /var/log/ #To check…
Read MoreError c/_cffi_backend.c:2:20: fatal error: Python.h: No such file or directory #include ^ compilation terminated. Traceback (most recent call last): File…
Read Moreconfigure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+. Try the –with-gmp, –with-mpfr and/or –with-mpc options to…
Read MoreSometimes we want to work in detached mode to prevent connection loss during long running processes. The ‘screen‘ command detach…
Read More