Simple Python Logging Class :
import logging
import sys
import math
#create logger
logger = logging.getLogger(”simple_example”)
logger.setLevel(logging.DEBUG)
#create console handler and set level to debug
ch =...
Continue reading this article ...
2 Star It
0 Comments
0 Comments
–Dumping the Database –
You can dump the database in the server, in sql format using ‘mysqldump’
Syntax:
mysqldump -u root -p demo_db > dump.sql
Here ‘demo_db’ is the name of the database and dump.sql is the name...
Continue reading this article ...
SHOW TABLE STATUS works likes SHOW TABLES, but provides a lot of information about each table. You can also get this list using the mysqlshow –status db_name command. The LIKE clause, if present, indicates which table names to match. The WHERE...
Continue reading this article ...
Python script for read multiple files from a folder and write it in a separate single file.
Source Code:
import sys,os
path = “/home/jayapal/Desktop/route/”
fn = ‘/home/jayapal/Desktop/mapping/dem.txt’
target =open(fn,...
Continue reading this article ...
Comet is a World Wide Web application architecture in which a web server sends data to a client program (normally a web browser) asynchronously without any need for the client to explicitly request it. It allows creation of event-driven web...
Continue reading this article ...
You will need to uncomment cURL function all of the following files in order for XAMPP to accept the Apache configuration setting for PHP.
D.Jayapal
Continue reading this article ...
How can i download YouTube Videos to my system. ? Everybody have this question. YouTube uses flash player for playing video files.
The advantage of flash player is , most of the web browsers now support swf files. The format of the video is FLV. So if...
Continue reading this article ...
Home

RSS

