Search Results

Showing results 1 to 18 of 18
Search took 0.01 seconds.
Search: Posts Made By: sharma_vivek82
Forum: Python Oct 3rd, 2007
Replies: 4
Views: 1,968
Posted By sharma_vivek82
hi, i have used the method explaned in following link, and this helped me a lot, i am sure that this also ll help you..
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52250
Forum: Python Sep 3rd, 2007
Replies: 3
Views: 4,127
Posted By sharma_vivek82
i think you are working with zope/plone environment, so my suggession is to use external method.
Forum: Python Sep 3rd, 2007
Replies: 9
Views: 3,329
Posted By sharma_vivek82
the solution, i got from your problem as explained is to construct another class which inherit SubDevice. And this ll make you to call your function as your wish.
Forum: Python Jul 3rd, 2007
Replies: 1
Views: 1,090
Posted By sharma_vivek82
Hi, i am a newbie in python, can any one tell me about synchrinization in python, i have googled about it, but could not get much clear idea..
Thanks in advance.....
:)
Forum: Python Apr 11th, 2007
Replies: 3
Views: 5,791
Posted By sharma_vivek82
for better maching of word , go through re module of python, you must find some interesting thing there..
:)
Forum: Python Apr 11th, 2007
Replies: 1
Views: 2,904
Posted By sharma_vivek82
hi,
as i got you , i think the better way you can use is :

qry = "select %s from %s where %s" %(name,table,filter)

and then you can create your own method to run sql

-VS
Forum: Python Jan 17th, 2007
Replies: 1
Views: 1,795
Posted By sharma_vivek82
[code]

result=[]
list = int(raw_input("enter the length of list:"))
size_of_batch=int(raw_input("enter the size of batch:"))

def createBatch(lst):
lenLst = len(lst)
if lenLst >...
Forum: Python Jan 17th, 2007
Replies: 1
Views: 1,088
Posted By sharma_vivek82
[code]
def WeekFinderFromYear(year):
""" will return all the week from selected year """
import datetime

WEEK =...
Forum: Python Jan 17th, 2007
Replies: 1
Views: 1,982
Posted By sharma_vivek82
[code]

import wx
import os
from wxPython.wx import *
import wx.html

class MyHtmlFrame(wx.Frame):

def __init__(self, parent, title):
Forum: Python Jan 17th, 2007
Replies: 2
Views: 3,002
Posted By sharma_vivek82
#Auther : vivek sharma
#date : 06-11-2006
#Description : This script is used to get the list of week in given year, user have to input the year ,


def WeekFinderFromYear(year):
"""...
Forum: Python Jan 17th, 2007
Replies: 2
Views: 3,059
Posted By sharma_vivek82
code:
you can change this code as you like


import wx
import os
from wxPython.wx import *
import wx.html

class MyHtmlFrame(wx.Frame):
Forum: Python Apr 21st, 2006
Replies: 3
Views: 1,863
Posted By sharma_vivek82
i think this will help you out, this is not the exact solution of your problem, but now you can find yourself.please indent it yourself, i am unable to indent in message box.
code:
import os
def...
Forum: Python Apr 20th, 2006
Replies: 7
Views: 4,067
Posted By sharma_vivek82
hey, why i am getting this error..
can anyone explain me
Traceback (most recent call last):
File "popmail.py", line 14, in ?
rx_headers = re.compile('|'.join(headers), re.IGNORECASE)...
Forum: Python Apr 20th, 2006
Replies: 2
Views: 1,058
Posted By sharma_vivek82
import posix
import string
uid = `posix.getuid()`
passwd = open('/etc/passwd')
for line in passwd.readlines():
rec = string.splitfields(line, ':')
if rec[2] == uid:
print 'hello',...
Forum: Python Apr 20th, 2006
Replies: 1
Views: 1,809
Posted By sharma_vivek82
import urllib
f = urllib.urlopen("http://www.mahiti.in")
word = "Software"
for line in f:
if word in line:
print line

:cheesy:
Forum: Python Mar 9th, 2006
Replies: 4
Views: 4,735
Posted By sharma_vivek82
simple code for creating dropdown box using javascript.
the html code for this, is
<html>
<head>
<title></title>
<script language="javascript" src="list.js"></script>
</head>

<body...
Forum: Python Mar 9th, 2006
Replies: 4
Views: 4,735
Posted By sharma_vivek82
i am working in ubuntu linux. and using python 2.4.2.
Forum: Python Mar 8th, 2006
Replies: 4
Views: 4,735
Posted By sharma_vivek82
hi, i am very new in python. can anyone tell me that how to create dynamic dropdown box in python scripting.(triple dropdown box)
Showing results 1 to 18 of 18

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC