The following error might come in python when working with strings that have a "\" in it.
This error is generally because of the use of the backslash in a string operation.
For example , consider the string
If we want to split the string using "\" as the seperator, we can not use
The above split command will throw the EOL error. To get around this, we need the escape the special meaning of the "\" by using another "\" preceding it.
Using split function by prefixing a "\" with another "\" will ensure that we do not get the EOL error
Pages
▼
VMplayer : make: *** [Makefile:117: vmnet.ko] Error 2 Unable to install all modules. See log for details.
A recent update on VMplayer16 version attempted to install the module for vmnet but it was unable to do so broke the vmplayer, with the error message
The log showed an error indicating some issue with the compilation of the vmnet module and was not able to generate the module for it.
The issue was in the vmplayer version 16.0, the simplest workaround for this is to download the vmplayer 16.1.2 from the site or any newer version avaialble and install the same. This issue has been fixed in the newer versions, and the vmplayer is able to lauch successfully.
The log showed an error indicating some issue with the compilation of the vmnet module and was not able to generate the module for it.
The issue was in the vmplayer version 16.0, the simplest workaround for this is to download the vmplayer 16.1.2 from the site or any newer version avaialble and install the same. This issue has been fixed in the newer versions, and the vmplayer is able to lauch successfully.
Generate Indian Flag on the Linux Terminal
Here is a script to generate something close to India Flag on the linux Terminal. The output looks as shown in he figure below .
Save the file as the flag.sh and run it in the terminal, with terminal in the full screen.
Save the file as the flag.sh and run it in the terminal, with terminal in the full screen.
Record Sound or Voice in Ubuntu
To record sound using linux/ubuntu we don't need and special softwares, a simple command line tool is available called arecord. One of the simple way to use the command in the terminal as follows.
The recording is continued as long as Cntrl+C is not pressed, recording infinitely. The recording will get saved in the file named filename.wav
If the recording needs to be stopped after a specific interval we can use the option -d
The recording is continued as long as Cntrl+C is not pressed, recording infinitely. The recording will get saved in the file named filename.wav
If the recording needs to be stopped after a specific interval we can use the option -d