for later re-use.
If you want, you can automate this process using Python
COM+ interface to Excel.
Larry Bates
Robert Hicks wrote:
> I need to pull data out of Oracle and stuff it into an Excel
> spreadsheet. What modules have you used to interface with Excel and
> would you rec
Can you give us an example. I don't know what two bit
hex means (takes at least 4 bits to make a hex digit).
Now I'm going to try to guess:
If the data is binary then all you need to do is to
use the struct.unpack module to convert to integer.
Larry Bates
Madhusudan Singh wrote:
&
.
Example:
import struct
s='\x64'
values=struct.unpack('b',s)
print "values=",values
value=(100,)
Note: struct.unpack returns a tuple of values. Just get
values[0] to get the first one.
Larry
Madhusudan Singh wrote:
> Larry Bates wrote:
>
>
>>
If you want you can also take a look at something I wrote a while
ago (before ctypes was really well known). It has worked for me
with .DLLS form Castelle and Expervision that both have extensive
APIs. It is located here:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/146847
Larry
word, restwords=s.split(' ',1)
newstring="/%s/ %s" % (firstword, restwords)
I'm sure the regular expression gurus here can come
up with something if it can be followed by other than
a space.
-Larry Bates
[EMAIL PROTECTED] wrote:
> I am looking for the best and eff
27;
def __init__(self, RS):
self.id = 'self.id srfBase'
self.RS=RS
return
def isBrep(self):
return self.RS.IsBrep(self.id)
def isPointInSurface(self, coord):
return self.RS.IsPointInSurface(self.id, coord)
This is how most of wxWindows
observations
each 10 minutes apart then one an hour later, you will need to
insert 5 empty observations in the list before the last
observation.
Example:
1:00
1:10
1:20
2:20
1:00
1:10
1:20
1:30
1:40
1:50
2:00
2:10
2:20
Maybe this will be of some help and I'm sure there are other ways.
-
with lots of tools.
Larry Bates
[EMAIL PROTECTED] wrote:
> hey tim -
>
> Thanks for you input. I'm looking at it from the Windows perspective
> of needing to push a python interpreter out to multiple machines. I'll
> check out Moveable Python as you suggested.
>
&
e it can't
know about dynamic imports which happen at
runtime.
-Larry Bates
Chris wrote:
> I've just completed a project using the following (Windows XP, python
> 2.4.1, wxpython 2.6, and pymssql 0.7.3). The program runs great, but
> after I convert it to an exe (required f
3
html pages to your webserver as to write this entire
application.
-Larry Bates
[EMAIL PROTECTED] wrote:
> I have a problem that I have to solve programmatically and since HTML
> is pretty much the only code I have been exposed to I need an advice on
> how to develop the programma
rd=test
Then you can do the following to change:
import ConfigParser
INI=ConfigParser.ConfigParser()
INI.read(r'C:\program.ini')
INI.set('service_A','username','newusername')
fp=open(r'c:\program.ini','w')
INI.write(fp)
fp.close()
Larry Bates
--
http://mail.python.org/mailman/listinfo/python-list
import time
#
# 120 days, 24 hours, 60 monutes, 60 seconds
#
fourmonthsago=time.time()-(120*24*60*60)
Compare fourmonthsago value to modified date of files.
Delete those that are less.
Larry Bates
elake wrote:
> I have an application that creates a lot of large log files. I only
> want t
We are running 64 bit compiled python on Red Hat Fedora Core 3.
Hardware is 64 bit on Dual Opteron HP servers running SMP.
FYI, Larry
[EMAIL PROTECTED] wrote:
> Does anyone have any information about 64 bit python support for Xeon
> and Opteron architectures on Windows platforms? If anyo
> Thanks
>
Google turns up the following:
Yet Another Python SNMP module - http://yapsnmp.sourceforge.net/intro.html
Python SNMP framework - http://pysnmp.sourceforge.net/
Larry Bates
--
http://mail.python.org/mailman/listinfo/python-list
native approach to the idea in the code fragment above?
>
> Jo
I think what you want is something like:
self.dllAdjust=[]
for i in range(32):
sv=StringVar()
sv.set('000')
self.dllAdjust.append(sv)
(not tested)
Larry Bates
--
http://mail.python.org/mailman/listinfo/python-list
You can certainly have more than one version loaded. You may
find it easier to fall back to Python 2.3. Unless you are
using 2.4 specific features, it won't cost you much. You have
to mess with path, associations, etc. in Windows registry to
switch between the two.
-Larry Bates
clinton B
Not tested:
import glob
import os
path=r'C:\datafiles\'
for fileName in glob.glob(os.path.join(path,'*.DAT')):
dataFile=open(fileName, 'r').readlines()
.
. Continue yur code here
.
-Larry Bates
hungbichvo wrote:
> Dear All,
>
> My pyt
rsection.split('_')[1]
#
# Code to operate on the servers here
#
Larry Bates
[EMAIL PROTECTED] wrote:
> hi
> i used ConfigParser to read a config file. I need the config file to
> have identical sections. ie :
>
> [server]
> blah = "some server&q
Not elegant but this works:
import os
os.system(r'start explorer.exe "C:\temp"')
-Larry Bates
Bell, Kevin wrote:
> I'd love to be able to open up a windows folder, like c:\temp, so that
> it pops up visually. I know how to drill down into a directory, but I
>
'64s', calcsize=64, sumofcalcsize=321, calcsize=322
fmt='32s', calcsize=32, sumofcalcsize=353, calcsize=354
fmt='32s', calcsize=32, sumofcalcsize=385, calcsize=386
fmt='64s', calcsize=64, sumofcalcsize=449, calcsize=450
fmt='L', calcsize=4, sumofcalcsize=453, calcsize=456 <
fmt='L', calcsize=4, sumofcalcsize=457, calcsize=460
fmt='B', calcsize=1, sumofcalcsize=458, calcsize=461
fmt='B', calcsize=1, sumofcalcsize=459, calcsize=462
fmt='B', calcsize=1, sumofcalcsize=460, calcsize=463
fmt='B', calcsize=1, sumofcalcsize=461, calcsize=464
fmt='B', calcsize=1, sumofcalcsize=462, calcsize=465
fmt='64s', calcsize=64, sumofcalcsize=526, calcsize=529
fmt='64s', calcsize=64, sumofcalcsize=590, calcsize=593
Larry Bates
--
http://mail.python.org/mailman/listinfo/python-list
(**kwargs)
return
#
# Define base methods
#
class mp3player(audioBase):
def __init__(self, **kwargs):
audioBase.__init__(self, **kwargs)
return
#
# Define mp3player specific methods
#
# Main program
#
obj=mp3Player(file='abc.mp3', )
-Larry Bates
--
http://mail.python.org/mailman/listinfo/python-list
ust a thought
since you have spent days on this.
-Larry Bates
[EMAIL PROTECTED] wrote:
> Hi all,
>
> Am trying to read a email ids which will be in the form of links ( on
> which if we click, they will redirect to outlook with their respective
> email ids).
>
> And these l
ple and put them in a list or something. Any
> suggestions...besides doing data.index("name")...over and over?
>
> thanks!
>
Something like this works if line spacing can be depended on.
Also a good way to hide the actual format of the string from your
main program.
Larry
hat you are describing and
found this product to fit the bill nicely.
http://www.apexsql.com/sql_tools_diff.asp
Sometimes I find it better to buy than to write ;-).
Larry Bates
--
http://mail.python.org/mailman/listinfo/python-list
= f.readlines()
start_time=time.time()
countDict=create_words(lines)
stop_time=time.time()
elapsed_time=stop_time-start_time
wordlist = countDict.keys()
wordlist.sort()
for word in wordlist:
print "word=%s count=%i" % (word, countDict[word])
print "Elapsed time in create_words function=%.2f seconds" % elapsed_time
I ran this against a 551K text file and it runs in 0.11 seconds
on my machine (3.0Ghz P4).
Larry Bates
--
http://mail.python.org/mailman/listinfo/python-list
This is something I wrote that might help.
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/299207
-Larry Bates
JD wrote:
> Hello,
>
> When reading a large datafile, I want to print a '.' to show the
> progress. This fails, I get the series of '.'s af
What you want are attributes of sys object.
import sys
print sys.version
-Larry Bates
James Colannino wrote:
> Hey everyone. I hope I have my terminology right, because I'm not quite
> sure what to call them. I was just wondering how I can find information
> in internal variable
Zope has WebDAV support and is written in Python. You could
use Zope or perhaps use "parts" of it (since it is open source).
-Larry Bates
Damjan wrote:
> Apache2 comes with builtin Web-dav support, but authorization is limited to
> Apache's methods, which are not very fl
The ones that were best for me:
-Python 2.1 Bible (Dave Brueck and Stephen Tanner)
(dated but good to learn)
-Python Cookbook (Alex Martelli, Anna Martelli
Ravenscroft & David Ascher)
If you write for Windows:
Python Programming on Win32 (Mark Hammond & Andy
Robinson)
Larry Bate
d. I entered python ftplib example
and turned up several examples like:
http://postneo.com/stories/2003/01/01/beyondTheBasicPythonFtplibExample.html
-Larry Bates
QuadriKev wrote:
> I am fairly new to programming in Python. There are a number of cases
> where I would like to see examples
stead.
>
> Any insights to be shared?
>
> Cheers,
> Roger
Take a look at this kit:
http://www.mochikit.com/
It seems that this is a python programmer that has created JavaScript
functions that "feel" a lot like Python. May just be a transitional
way to go, but I thought it was interesting anyway.
-Larry Bates
--
http://mail.python.org/mailman/listinfo/python-list
The backslashes in your path are being interpreted
as escape characters (e.g. \n is a newline).
Try instead:
os.spawnl(os.P_NOWAIT,r'c:\windows\notepad.exe')
or
os.spawnl(os.P_NOWAIT,'c:\\windows\\notepad.exe')
-Larry Bates
Salvatore wrote:
> Hello,
>
> Does so
s
in the same directory as the class with an entry in it that points me
to where the .txt file lives.
Hope this helps.
-Larry Bates
Steven Bethard wrote:
> Ok, so I have a module that is basically a Python wrapper around a big
> lookup table stored in a text file[1]. The modul
bSphere or WebLogic.
You may want to take a look at:
http://karrigell.sourceforge.net/
This DOES seem to do what you want, but I have not direct
experience (just have seen the website).
-Larry Bates
Steve wrote:
> We are building a web app and the our backend is currently using python
> wi
Python Imaging Library (PIL) can size bitmaps. I use
it to create thumbnails or to size bitmaps quite often.
There may be a "wxPython" built-in for this also, but
I don't know what it would be.
-Larry Bates
David Poundall wrote:
> Is it possible to import a bitmap and s
The client software can be written in JavaScript that makes
xmlrpc calls to the server (AJAX). That way there is no
installation required.
But there are loads of free, debugged mailing list programs
out there that use email as the interface. You should take
a look there first.
-Larry Bates
You should actually explain what you mean by "export".
Excel has a Save As HTML that would save everything out to HTML
or you can do Save As .CSV. Hard to tell what you want.
I suspect that to get to the cell comments you will need to
go through COM interface to Excel.
-Larry Bat
In addition to what Philippe suggested, take a look at the
subprocess module as well (if you are on Python 2.4 or
greater).
-Larry Bates
ash wrote:
> hi,
> i want to know is there a way to run/control an external program form
> within a python program?
> thanks in advance for
There is a python iterface to imagemagik that might work. I haven't
used it, just read about it.
-Larry Bates
John Henry wrote:
> I am looking for a Python tookit that will enable me to cut section of
> a picture out from an EPS file and create another EPS file.
>
> I am us
works best if the files are text files.
3) do something custom to compare the files, but I would
try 1) and 2) first.
Larry Bates
--
http://mail.python.org/mailman/listinfo/python-list
ons(myChecksum) & 0x
else:
myChecksum = socket.htons(myChecksum)
You also must import the following modules:
import socket
import os
import sys
import struct
import time
import select
-Larry Bates
dwelch wrote:
> Nico Grubert wrote:
>
>> Hi there,
>>
>
I think py2exe can do this (most recent version), but you
would be much better off creating a COM object and calling
that from your other application. I KNOW that works quite
well.
-Larry Bates
Ervin J. Obando wrote:
> Hi everyone,
>
> Apologies if my question is a bit novice-i
have to do anything to pythonpath
or to site packages.
-Larry
Guy Robinson wrote:
> Target audience is little or no programming experience.
>
> I have a win32 only library I need to write an installer for. As part of
> the installation it must:
> 1.. find where a program is in
Peter A. Schott wrote:
> I know there's got to be an easy way to do this - I want a way to catch the
> error text that would normally be shown in an interactive session and put that
> value into a string I can use later. I've tried just using a catch statement
> and trying to convert the output t
bit result from binascii.crc32?
Output snip from test on three files:
binascii.crc32=-1412119273, oldcrc32= 2221277246
binascii.crc32=-647246320, oldcrc32=73793598
binascii.crc32=-1391482316, oldcrc32=79075810
Thanks in advance,
Regards,
Larry Bates
--
http://mail.python.org/mailman/listinfo/python-list
Peter Hansen wrote:
> Larry Bates wrote:
>
>> I'm trying to get the results of binascii.crc32
>> to match the results of another utility that produces
>> 32 bit unsigned CRCs.
>
>
> What other utility? As Tim says, there are many CRC32s... the
> backg
PIL doesn't support compressed TIF files. You must
uncompress them prior to trying to place them. I
use tiffcp utility via os.system call to uncompress
TIF files, then place them into my .PDF file.
Larry Bates
Syscon, Inc.
Jason Koch wrote:
Hello,
I am trying to produce pdf files from tiff
y.
Regards,
Larry Bates
rzed wrote:
I am working with PythonCard in one of my apps. For its purposes, it
uses an .ini file that is passed to ConfigParser. For my app, I also
need configuration information, but for various reasons, I'd rather
use a syntax that ConfigParser can't handle.
I
e.net). It
provides you with Python SQL-like database and may be
better solution if data is basically static and you
do lots of processing.
All depends on how you use the data.
Regards,
Larry Bates
Syscon, Inc.
Chris Lasher wrote:
Hello,
I have a rather large (100+ MB) FASTA file from which I ne
You should probably take a look at:
http://www.amk.ca/python/code/medusa
Larry Bates
Syscon, Inc.
Venkat B wrote:
Hi folks,
I'm looking build a CGI-capable SSL-enabled web-server around Python 2.4 on
Linux.
It is to handle ~25 hits possibly arriving "at once". Content is non-stat
You really need to ask one/several specific questions.
Python works with MSSQL. You can go through ODBC, ADO,
etc. to work with data in MSSQL database.
Hope info helps,
Larry Bates
Brane wrote:
can someone please give me some info regarding subject
please advice
regards
brane
--
http
You have name clashing between Python's built in list function
and the variable called list that you pass into the function.
Change the passed in variable name to something else.
Larry Bates
Try something like (not tested):
def flatten(seq):
l = []
for elt in seq:
if isinstanc
I'm assuming the application will be run on Windows.
You can use ODBC or DAO.
An DAO solution that I wrote (and use) can be found
at:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/303349
For ODBC you would just use the standard library module.
Larry Bates
Syscon, Inc.
Jorge Luiz
What do you want put into the "missing" variables?
I'll assume None. Something like following
works:
values=line.split(':')
try: a=values.pop(0)
except IndexError: a=None
try: b=values.pop(0)
except IndexError: b=None
try: c=values.pop(0)
except IndexError: c=None
Larr
mbers/adytumsolutions/HowToLoveZODB_PartII/HowToLoveZODB_PartI
http://zope.org
Hope information helps.
Larry Bates
Jacob H wrote:
Hello list...
I'm developing an adventure game in Python (which of course is lots of
fun). One of the features is the ability to save games and restore the
saves
file with
a .EXE extension.
We could be of more help, if you would take the
time to explain a little about what you are trying
to do.
Larry Bates
rbt wrote:
Grant Edwards wrote:
On 2005-01-26, rbt <[EMAIL PROTECTED]> wrote:
Is there an easy way to exclude binary files (I'm working on
W
t via-javascript so it is very
fast.
Larry Bates
Gregor Horvath wrote:
Hi,
Before I reinvent the wheel I`d like to ask if someone has done this
before since I did not find an advice at Google.
The goal is to create a dynamic Tree View in HTML.
Say I have a data strucure like this:
structList =
{'
panel page.
Larry Bates
Chris wrote:
I've written some python scripts to handle different tasks on my Windows
network. I would like for them to be accessible via a single web page
(kind of like a dashboard) but have the scripts run on the web server
(also a Windows box).
Can anyone recommend
StopIteration
#
# Increment the index pointer for the next call
#
self.next_index+=1
return CATEGORY
I had one project where these were nested 5-6 deep
and the resultant code reads beautifully.
Larry Bates
mike wrote:
i have an Item which belongs to a Category, so
Sounds like you want a database (e.g. on disk storage
of keys and values that get accessed via the key).
Take a look at one of the databases for storing your
key/value pairs.
Larry Bates
Joh wrote:
Hello,
(first i'm sorry for my bad english...)
for a program, i need to have some kind of dicti
mport win32evtlogutil
class NTserviceBase:
'''
Written by: Larry A. Bates - Syscon, Inc. March 2004
This is a base class for creating new NTservices with Python.
It should be included when you are defining your class as follows:
class newNTservice(win32serviceu
l for me.
www.reportlab.org
Larry Bates
--
http://mail.python.org/mailman/listinfo/python-list
f.close()
#
dictlist=testdata.replace('\n','').split('{')
firstdictstr='{'+dictlist[2]
lastdictstr='{'+dictlist[-1]
firstdict=eval(firstdictstr)
lastdict=eval(lastdictstr)
print "firstdict=", firstdict
print "lastdict=", l
rts
#
sys.excepthook=excepthook
Larry Bates
Stefan Behnel wrote:
Hi!
I'm writing a parser using pyparsing and I would like to augment the
ParserException tracebacks with information about the actual error line
*in the parsed text*. Pyparsing provides me with everything I need
(parsed line and colum
#x27;global2':2, 'global3':3, 'global4':4}
C=c(1, 2, **globals)
you will have global1, global2, global3, and global4 attributs
in all classes. If you don't want the attributes, just access
to the values, delete the self.__dict__.update(kwargs) lines.
Larry Bates
ale
The data contains only references to variables in the
local namespace an not literal values. Since local
variable names cannot include '{' or '}' characters,
my solution does in fact meet the criteria outlined.
Larry Bates
Fuzzyman wrote:
Doesn't work if '{
Take a look at this recipe on ASPN:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/204297
I think it might help.
Larry Bates
Steven Bethard wrote:
I'm sorry, I assume this has been discussed somewhere already, but I
found only a few hits in Google Groups... If you know where ther
There is smbmount, but I don't know what type of
filesystem you are looking for.
http://redclay.altervista.org/
Larry Bates
Dan Stromberg wrote:
Is there a python module that can mount a filesystem?
More specifically, a loopback filesystem with a particular offset, under
linux?
Thanks!
--
You are most likely better off creating COM objects than
trying to create old .dll files. Good treatment of COM
object creation is in the book titled Python Programming
on Win32. Most other languages have no problem interfacing
with COM objects.
-Larry
Sabin wrote:
> How can i create dll fi
them
into a package.
-Larry
[EMAIL PROTECTED] wrote:
> Okay, so in my li'l python script I'm importing a few 3rd party modules
> that I have installed on my comp. I need to distribute this script to
> several other people, but I won't have access to install the modules
to: http://www.reportlab.org
Note: I'm assuming the photos are in .JPG, .TIF or some format that
PIL can recognize. If they are in some proprietary RAW format you
will need to convert them first.
-Larry Bates
Stephen Boulet wrote:
> Is there a python solution that someone could recom
You might want to take a look at the shelve module.
-Larry
Philipp H. Mohr wrote:
> Hello,
>
> I would like to store multiple dictionaries in a file, if possible one per
> line. My code currently produces a new dictionary every iteration and
> passes it on to another peace of co
mmit to learning one language extremely well instead of
jumping all over with different languages that you can remember only
poorly. When new version of Python ships, you just learn what is new.
If you try to keep up with C, C++, Visual Basic, ... it gets to be
impossible.
Hope information helps.
a='test string'
print a.split()[:-1]
I'm assuming that you want the last space separated word?
Larry Bates
paulm wrote:
> Hi,
> In perl I can do something like:
>
> $a = 'test string';
> $a =~ /test (\w+)/;
> $b = $1;
> print
Take a look at py2exe it provides a way to "collect" all
necessary files together for you. Add Inno Installer to
the mix and you can create setup.exe insallation programs
that don't require a Python install to distribute software.
-Larry Bates
Guillaume Hiron wrote:
>
ilable on my machine.
Thanks in advance for any assistance.
Larry Bates
--
http://mail.python.org/mailman/listinfo/python-list
t
and then it is fixed in 100's (or 1000's) of existing programs
that use it.
-Larry Bates
[EMAIL PROTECTED] wrote:
> I've been reading the beloved Paul Graham's "Hackers and Painters".
> He claims he developed a web app at light speed using Lisp and lots
> of
-"
t=raw_input("Press return to continue")
sys.exit(2)
#
# set sys.excepthook
#
sys.excepthook=Myexcepthook
#
# create an uncaught divide by zero exception
#
a=1/0
-Larry Bates
Giles Brown wrote:
> For my sins I'm a MS Windows user at work and apart
pywin32 and COM is good. Seems to work for me.
Other methods (services, sockets, pipes, etc.)
can also work well, but it depends on what you
want to do and how you wish to communicate between
the modules.
Larry Bates
Philippe C. Martin wrote:
> Hi,
>
> I am looking for the pros an
Anybody have a copy they can share?
Thanks in advance,
Larry Bates
--
http://mail.python.org/mailman/listinfo/python-list
Never mind. Seems that the standard distribution at
www.python.org has it included (I was using ActiveState).
FYI, Larry
Larry Bates wrote:
> Well I'm still on my "quest". I've been putting this
> off for quite some time because I KNEW it was going to
> be hard
While not "curses" based this class will update screen as you
want. You could use it as a basis upon which to do a curses
version with your cursor positioning.
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/299207
-Larry Bates
Mage wrote:
> Dear All,
>
"x=", x, " y=", y
return
def doanother(x, y, z):
print "x=", x, " y=", y, " z=", z
return
xdict={'dothat': dothat,
'doanother': doanother}
s='dothat'
t=(1,2)
xdict[s](*t)
results in:
x= 1
x27;)
#
# Strip out the punctuation characters
#
for line in ifp:
for punctuation in punctuations:
line=line.replace(punctuation,'')
ofp.write(line)
#
# I'll leave the other part for homework but
# you will need to use the .find method of the string
#
ifp.close()
ofp.c
seems to do any
good.
Has anyone else had this problem? Any ideas how I might fix
it?
Thanks in advance for your assistance.
Regards,
Larry Bates
--
http://mail.python.org/mailman/listinfo/python-list
When I add files to my .ZIP files using python zipfile module
the date/time that is stored in mine is the one that comes from
the file's attributes. I'm not sure I understand why you think
yours are not.
-Larry Bates
Tim Williams (gmail) wrote:
> Using zipfile.Zipfile
>
> H
lways better performing and
support more features because ODBC is basically a lowest common
denominator approach. The native API can provide access to all
the (even unique) features of the particular database
IMHO-For Python to MySQL on Linux use the native interface is
the way to go.
Larry Bates
[
First you need to pick up a copy of Python Programming for Win32
book. It is a good starting place for GUI as well as COM and
writing services. It was well worth the price to me.
-Larry
Ernesto wrote:
> Hi all,
>
> Would anyone know a good place to start for learning how to build
n(x)-len(y))*[None],y)
I would probably wrap into function:
def foo(x,y):
if len(x) > len(y):
return zip(x,y+(len(x)-len(y))*[None])
return zip(x+(len(x)-len(y))*[None],y)
Larry Bates
David Isaac wrote:
> Newbie question:
>
> I have been generally open to the
ymedia
to play such files.
Here are some links that might be of interest:
http://www.win32com.de/index.php?option=com_content&task=view&id=141&Itemid=259
http://pymedia.org/tut/
Larry Bates
Jay wrote:
> Well, im not no expert on the python programming language but i just
> want
I adapted some code from David Boddie into a Python class to write
directly to Linux print queues. I have used it in one project and
it worked just fine. I've attached a copy for your use. You are
free to use it as you wish, with no guarantees or warranties.
Hope it helps.
Larry Bates
Python has built in eval function and doesn't require
a library.
Larry Bates
Dark Cowherd wrote:
> http://www.ucalc.com/mathparser/index.html
>
> There is a great library called UCALC which allows you to set up an
> expression and evaluate it
> for e.g. you an define an exp
Try something like:
class ludzik:
#
# Define an __init__ method that gets called when
# you instantiate the class. Notice also that I've
# allowed you to set x, and y parameters if you like.
# If you don't pass them they default to 1 and 2 as
# in your example.
#
them back apart anyway so keeping them as individual files
is a benefit.
Larry Bates
GMane Python wrote:
> Hello All.
> I have a program that downloads 'gigabytes' of Axis NetCam photos per day.
> Right now, I set up the process to put the images into a queue, and every 30
&g
s/clements/clements.html
http://forge.novell.com/modules/xfmod/project/?jythonnwkit
http://www.novell.com/products/openenterpriseserver/
Larry Bates
GMane Python wrote:
> Hello all. Looking, I have not found a version of Python which runs on
> Netware by Novell. I wonder, since Java the
use os.stat docs are here:
http://docs.python.org/lib/module-stat.html
Larry Bates
David Fickbohm wrote:
> People,
>
> I am trying to determine the creation date of files in a folder.
> I am using the following code to find the folder and confirm that files
> exist in the fold
You should download source for spambayes plug-in for
Outlook (written in Python) located at:
http://spambayes.sourceforge.net/windows.html
You might finds LOTS of good information for your
project.
-Larry Bates
Subir wrote:
> Hi,
>
> I am new to this group. I am trying to
Before you do too much work you should probably check out:
http://spambayes.sourceforge.net/
There has already been a lot of work done on this project.
FYI, Larry
David MacQuigg wrote:
> Are you as mad about spam as I am? Are you frustrated with the
> pessimism and lack of progress thes
an it would be to do in WebLogic or WebSphere. With
flexibility comes complexity. For less complex needs there are other
more lightweight things like CherryPy.
Hope info helps.
Larry Bates
Robert wrote:
> Hi,
> I know general Python pretty well and interested in using Python for a
> w
empty list. You can then do things
like:
a.one.append(something)
a.three.append(something)
Larry Bates
BBands wrote:
> I have a list with some strings in in it, 'one', 'two' 'three' and so
> on. I would like to add lists to a class with those names. I have no
301 - 400 of 1904 matches
Mail list logo