Save info   Get password
Home Submit your blog Edit Account Rules RSS-Archive Contact


How to put SLAX in our pocket
2008-05-27 06:31:00
We need (i) USB Drive with or without chain (ii) A pocket whether sleeve or a jeans --------------------------------------------------------------------------------------------------- How to put Slax to USB drive or diskSlax for USB is a Slax distribution in TAR format, designed to be unpacked to a writable disk. If you don't know what TAR format is, you may imagine it as a ZIP archive. Extract


LINUX in our pocket
2008-05-27 06:15:00
Slax is a modern, portable, small and fast Linux operating system with a modular approach and outstanding design. Despite its small size, Slax provides a wide collection of pre-installed software for daily use, including a well organised graphical user interface and useful recovery tools for system administrators. The modular approach gives you the ability to include any other software in


How to install and configure Webalizer on Ubuntu
2008-05-22 19:55:00
OS: Ubuntu 7.04 Webalizer is a nice web analysis tool for your server. To install Webalizer open up a terminal and enter the following commands: $ sudo aptitude update $ sudo aptitude install webalizer Webalizer didn't work right away, so I found a fix for it. Edit webalizer.conf with your favorite editor: $ vi /etc/webalizer/webalizer.conf Find the following: LogFile /
Read more: configure

Install Apache2 in ubuntu
2008-05-22 19:53:00
Install Apache Web Server on Ubuntu This step-by-step howto shows a basic setup for Apache 2 web server. Apache is installed on Ubuntu 6.06 LTS Dapper, but instructions will probably work on any Ubuntu. This document is a work in progress, initially only required commands are listed without troughout explanations.<!--xhtmlphpterodebug--> © 2006 Tero Karvinen. GNU General Public Licens


Database Manager : SQLiteSpy
2008-04-30 07:29:00
SQLiteSpy is a fast and compact GUI database manager for SQLite. It reads SQLite3 files and executes SQL against them. Its graphical user interface makes it very easy to explore, analyze, and manipulate SQLite3 databases. readmore A simple SQLite Database with GUI, easy to manage, create and save SQL. Able to retrieve 500,000 rows within 5 minutes.


SQLite- Fetch
2008-04-23 09:43:00
Fetch is a SQlite function, it writes in fetch( ). The purpose of this function is to Return a result record of the query For example: fetchall( ) - return all as a tuple for row in cur.fetchall( ): print "name",row[0], "address",row[1] 2. fetchone( ) - return first row for row in cur.fetchone( ): print "...
Read more: Fetch

GoogleTalk on Python
2008-04-19 16:36:00

Read more: Python

Getting with Python Module
2008-04-19 16:01:00

Read more: Python , Module

Introduction and Installation
2008-04-19 15:58:00

Read more: Introduction , Installation

5 minutes python
2008-04-19 15:55:00

Read more: minutes

How To Create VIEW
2008-04-19 06:02:00
In Database, VIEW is a virtual table / derived TABLE.The CREATE VIEW command assigns a name to a pre-packaged SELECT statement. Once the view is created, it can be used in the FROM clause of another SELECT in place of a table name. sql-command ::= CREATE [TEMP | TEMPORARY] VIEW [IF NOT EXISTS] [database-name.] view-name AS select-statement On the other hand VIEW is a TABLE from MASTER TABLE


How to print database into a table using pysqlite
2008-04-18 05:54:00
from pysqlite2 import dbapi2 as sqlite FIELD_MAX_WIDTH = 20 TABLE_NAME = 'people' SELECT = 'select * from %s order by age, name_last' % TABLE_NAME con = sqlite.connect("mydb") cur = con.cursor() cur.execute(SELECT) # Print a header. for fieldDesc in cur.description: print fieldDesc[0].ljust(FIELD_MAX_WIDTH) , print # Finish the header with a newline. print '-' * 78 # For each ro


Find and delete string in text file
2008-04-17 10:41:00
import sys # input a original file inp = open("december.txt","r") #write to a new file outp = open("newDecember.txt","w") #declare global lines = inp.readlines() for line in lines: #find the string if(line.find("asfgsfhhshas")!=-1): ## print line #write to a new file sys.stdout.write(line) outp.write(line) inp = open("december.txt&q
Read more: delete

Working With Database
2008-04-14 16:08:00
Database driven applications account for a large part of all applications ever developed. And they will definitely in the future as well. Most of them are business applications. Companies work with large amount of data and they naturally need software for that. Well, you know, we live in a era called information revolution after all. Database is a structured collection of data that is stored
Read more: Database

Executing a Python Source Code File
2008-04-12 04:21:00
Note: filename means you must replace the text filename with the name of the file including extension that you are using. C:\Python 23 is an example; replace C:\Python23 with the actual drive letter and directory where your Python is installed. Command Line Open a Windows Console. Navigate to the drive and working directory of your choice. Enter one of the following
Read more: Source

Python Interpreter
2008-04-12 04:16:00
Using Command PromptThe windows command prompt can be accessed via START/RUN/CMD The phrase "Enter the command ..." means type the command at the prompt and press the Enter key. C:\Python 25 is an example; replace C:\Python25 with the actual drive letter and directory where your Python is installed. Open a Windows Console (a.k.a.. "DOS Window"; "Command Prompt Window&


Python.... what it is ?
2008-04-12 04:14:00
Python is an interpreted language, even though there is a compile step in the translation from ASCII text source code to binary machine language. However, because the source code is interpreted the compile step occurs each time you execute a Python program, and no compiled machine-readable object file is created. Python is a command line application; on Windows operating systems it runs in a
Read more: Python

variable
2008-04-08 23:54:00
first_string = “This is a string”second_string = “This is another string”>>> first_number = 4 second_number = 5> print “The first variables are %s, %s, %d, %d” % (first_string, second_string,first_number, second_number)The first variables are This is a string, This is another string, 4, 5


test! yes it works
2008-04-08 22:51:00
minact, rest, thresh, decay, maxact = -0.2, -0.1, 0.0, 0.1, 1.0 alpha, gamma, estr = 0.1, 0.1, 0.4 units = [] pools = [] unitbyname = {} class Unit(object): __slots__ = ['name', 'pool', 'extinp', 'activation', 'output', 'exciters', 'newact'] def __init__(self, name, pool): self.name = name self.pool = pool self.reset() self.exciters = []


python
2008-06-11 07:06:00
python comic


Page 1 of 1 « < 1 > »
eXTReMe Tracker