Arnab Chakraborty has Published 34 Articles

Count spaces, uppercase and lowercase in a sentence using C

Arnab Chakraborty

Arnab Chakraborty

Updated on 27-Jan-2020 12:45:05

651 Views

#include int main() {    char str[100],i;    int upper = 0, lower = 0, number = 0, special = 0,whitesp=0;    printf("enter string");    gets(str);    for (i = 0; i < str[i]!='\0'; i++) {       if (str[i] >= 'A' && str[i] = 'a' && str[i] = '0' && str[i]

How to execute Python CGI Script on Apache Server?

Arnab Chakraborty

Arnab Chakraborty

Updated on 30-Jul-2019 22:30:22

416 Views

in apache server normally python script will not run. SO you have to go httpd.conf file in apache server, inside that you will find some .php, .asp etc in a property called AddHandler, you have to put there .py. save the file and restart the server. then run your python ... Read More

How to write Python CGI program to interact with MySQL?

Arnab Chakraborty

Arnab Chakraborty

Updated on 30-Jul-2019 22:30:22

901 Views

suppose you want to login into you account using Python CGi script, below is the details login.html email: ... Read More

How to use R in Java-8 regex.

Arnab Chakraborty

Arnab Chakraborty

Updated on 30-Jul-2019 22:30:22

368 Views

\R matches any line break as defined by the Unicode standardPattern p = Pattern.compile("\R");Unicode line-break sequence is equivalent to \u000D\u000A|[\u000A\u000B\u000C\u000D\u0085\u2028\u2029]

Advertisements