trying to install zoner.
Needs
<http://www.psychofx.com/TGBooleanFormWidget/>http://www.psychofx.com/TGBooleanFormWidget/
but that's giving "502 Bad Gateway"
can't find TGBooleanFormWidget anywhere else.
Suggestions?
Thanks
Len
--
https://mail.python.org/mailman/listinfo/python-list
http://www.dabeaz.com/pythonmaster.html
-- Original Message --
From: Emile van Sebille
Date: Thu, 03 Nov 2011 14:25:03 -0700
>On 11/3/2011 11:13 AM Behnam said...
>> Anybody is aware of any advanced course in Python preferably in north
>> america?
>>
>>
give me a little direction in this?
Thanks
Len
--
http://mail.python.org/mailman/listinfo/python-list
much.
Len
On Nov 17, 8:01 am, Paul McGuire <[EMAIL PROTECTED]> wrote:
> On Nov 16, 12:53 pm, len <[EMAIL PROTECTED]> wrote:
>
> > On Nov 16, 12:40 pm, "Mark Tolonen" <[EMAIL PROTECTED]> wrote:
>
> > > You might want to check out the pyparsing lib
On Nov 16, 9:57 pm, Lawrence D'Oliveiro <[EMAIL PROTECTED]
central.gen.new_zealand> wrote:
> len wrote:
> > if fieldline.count('COMP.') > 0:
>
> I take it you're only handling a particular subset of COBOL constructs: thus,
> "COMP" is
("field4", 17, lambda s: s.strip().upper() ),
> # stacks more
> ]
>
> def splitter(s, field_lens):
> pieces = {}
> offset = 0
> for name, length, fn in field_lens:
> pieces[name] = fn(s[offset:offset+length])
> offset += length
> return pieces
>
> bits = splitter(line), field_lens)
> # do addition of int+float rather than string concat
> print bits["field2"] + bits["field3"]
>
> -tkc
Thank for your reply. I will have to study your code and
see if I can inprove mine.
Len
--
http://mail.python.org/mailman/listinfo/python-list
On Nov 17, 3:24 am, Lawrence D'Oliveiro <[EMAIL PROTECTED]
central.gen.new_zealand> wrote:
> len wrote:
> > Files are fixed format no field delimiters, fields are position and
> > length records are terminated by newline.
>
> Assuming no COMPUTATIONAL fields, it sho
On Nov 17, 3:24 am, Lawrence D'Oliveiro <[EMAIL PROTECTED]
central.gen.new_zealand> wrote:
> len wrote:
> > Files are fixed format no field delimiters, fields are position and
> > length records are terminated by newline.
>
> Assuming no COMPUTATIONAL fields, it sho
On Nov 16, 12:40 pm, "Mark Tolonen" <[EMAIL PROTECTED]> wrote:
> "len" <[EMAIL PROTECTED]> wrote in message
>
> news:[EMAIL PROTECTED]
>
>
>
>
>
> >I have created the following program to read a text file which happens
> >
7;COMP.') > 0:
left = fieldline[3].find('(') + 1
right = fieldline[3].find(')')
num = fieldline[3][left:right].lstrip()
if fieldline[3].count('V'):
left = fieldline[3].find('V') + 1
dec = int(len(fieldl
On Nov 15, 4:41 pm, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
> On Sat, 15 Nov 2008 11:41:17 -0800, Ethan Furman <[EMAIL PROTECTED]>
> declaimed the following in comp.lang.python:
>
>
>
> > len wrote:
>
>
> > > Files are fixed for
in the list is a fieldname
record written to file looks like this, no quotes
(customer_no, X(6).),
(customer_name, X(30).),
(customer_street_1, X(30).),
(customer_street_2, X(30).),
(customer_city, X(15).),
Why quotes in the first case and not the second and how do I get
On Nov 14, 4:19 am, Bruno Desthuilliers wrote:
> len a écrit :
>
>
>
>
>
> > Hi all;
>
> > I am looking for a little direction in moving from novice python MySQL
> > to real world processing.
>
> > I can connect to MySQL databases and have performe
On Nov 13, 7:32 pm, Ethan Furman <[EMAIL PROTECTED]> wrote:
> len wrote:
> > Hi all;
>
> [snip]
>
> > Here is my problem. I need to start doing this in the really world at
> > my company converting some older cobol system and data to python
> > prog
o make all of this less verbose using
classes and such but I need some direction.
Could someone recommend either books, website, or free package whose
code I could look at to move from the student type programs to gee I
work in the real world now programs.
Thanks Len
--
http://mail.python.org/mailman/listinfo/python-list
print datetime.datetime.now().time()
os._exit()
print "insert into mysql completed"
i get the following error on insert;
raise errorclass, errorvalue
TypeError: not all arguments converted during string formatting
Script terminated.
Do I have
ease understand I have the majority of the code for this program
working so I am not looking for
coding help as much as real world advice, examples etc, I just feel
there is a better/easier way
then what I am doing now.
I am providing a listing of the code below which may be more
informative b
> I have a dictionary with million keys. Each value in the
> dictionary has a list with up to thousand integers.
> Follow is a simple example with 5 keys.
>
> dict = {1: [1, 2, 3, 4, 5],
>2: [10, 11, 12],
>90: [100, 101, 102, 103, 104, 105],
>91: [20, 21, 22],
>99: [15,
> I'm writing a game that uses two functions to check and see if a file
> called highScoresList.txt exists in the main dir of the game program.
> If it doesn, it creates one. That part is working fine. The problem is
> arising when it goes to read in the high scores from the file when I
> Your regex is not working correctly I guess, I don't even know why you
> are using a regex, something like this would work just fine:
>
> import sys
> nums = [float(line.split(' -')[1]) for line in open(sys.argv[1])]
> print 'min=', min(nums), 'max=', max(nums)
Sorry, that should be line.split
> Hi, I have a text file like this;
>
> 1 -33.453579
> 2 -148.487125
>
>
> So I want to write a program in python that reads each line and
> detects which numbers of the second column are the maximum and the
> minimum.
>
> I tried with;
>
> import os, sys,re,string
>
> # first parameter is the
On Tue, 27 Nov 2007 20:37:19 +0200, <[EMAIL PROTECTED]> wrote:
>
> There's a government website which shows public data for banks. We'd
> like to pull the data down programmatically but the data is "hidden"
> behind .aspx...
>
> Is there anyway in Python to hook in directly to a browser (firefox o
Sorry for the stupid question. I was fixated on the SQL.
Thanks
Len Sumnler
Peter Otten wrote:
> len wrote:
>
>
> > Have the following code:
>
> Short variable names increase the likelihood of name clashes:
>
> > c = db.cursor()
>
> >
orec = orec + ',' + rec[4]
elif rec[1] == 'Address2':
orec = orec + ',' + rec[4]
elif rec[1] == 'City, State, ZIP':
csz = matchstr.sub('', rec[4]).split()
if len(csz) == 0:
that this
technique used on large files may cause problem. I really just want to
get what is the last record in the database to get the last ID used.
Is there a better way. I realize this may be more of an SQL question
but I figured I would try here first.
Len Sumnler
--
http://mail.python.o
t)
print sql
c.execute(sql)
I copied this code off of ASP and I sure it worked for his particular
circumstance but I need to format up the VALUE clause just a bit
different.
I will be working from a dictionary which will be continualy update in
another part of the program and this code is working.
Len Sumnler
--
http://mail.python.org/mailman/listinfo/python-list
very introductory approach.
Any recommendation would be appreciated.
Len Sumnler
--
http://mail.python.org/mailman/listinfo/python-list
#x27;idxtpsname'] and then use it as a field label on the left
side of the assignment statement because in the compiled language the
left side must be a label and NOT and expression.
Just strengthens my commitment to learn Python.
I would like to thank every one for their help, advice and patie
quot;
"address2","POL1","bnd.addr2"
"appartmentnumber","POL1","bnd.apptno"
etc
3. Binder - This is the primary Policy header file and is in MySQL
this file contains information such as;
bnd.policyno
bnd.last
bnd.first
bnd.addr1
bnd.ad
which I then took and create a crossreference
file with three fields:
xreffile
tagname (key)
scopy
SQL_fieldname
The program I am writing is nothing more than a conversion program to
take the value out of the CSV file and map it into the appropriate
field in my SQL files. Rather than cr
d change through each iteration ***
myfirst = value
*** next iteration
mylast = value
*** next iteration
mybirth = value
etc
I hope this make sense. I remember seeing something like this
somewhere.
Any help appreciated.
Len Sumnler
Unique Insurance
--
http://mail.python.org/mailman/listinfo/python-list
I have created a python program that takes a flat file and changes some
of the data and create a new flat file with the changes. Part of this
process requires that I try to find a particular model car in an MS Sql
table. This part of the program is now working great.
It has come to my attention
Thanks everyone for your help.
I took the option of f1.lower().startswith("unq").
Len Sumnler
--
http://mail.python.org/mailman/listinfo/python-list
y4223.dat
myfile.dat
UNQxyc123489-24.dat
only unq123abc.dat and UNQxyc123489-24.dat would be selected
I have read through the documentation and I am now so
confussedd!!
Len Sumnler
--
http://mail.python.org/mailman/listinfo/python-list
Thanks
I will do that.
Len Sumnler
--
http://mail.python.org/mailman/listinfo/python-list
and I am a newbie to boot.
I only have need to read the Sybase tables and will not be updating or
appending to these tables.
Len Sumnler
--
http://mail.python.org/mailman/listinfo/python-list
Thanks
You are correct. That was the problem.
--
http://mail.python.org/mailman/listinfo/python-list
Using Python on WinXP going against MS SQL 2000 server. Connection is
fine and I have executed several queries successfully. The following
SQL statement however gives me an error and I have tried it several
different ways:
"SELECT
VA_MK_YEAR,VA_MK_DESCRIP,VO_VIN_NO,VO_MODEL,VO_BODY,VO_DESCRIPTIO
Thanks for the reply
Everyone seems to be saying the same thing which is jump into some
RDBM.
Len Sumnler
--
http://mail.python.org/mailman/listinfo/python-list
Thanks for the reply
I think you might be right. I have been playing around with Linux at
home. What I may have to do in switch my mindset from IBM/Microsoft to
a more Unix way of thinking.
Also thanks for the code samples.
Len Sumnler
--
http://mail.python.org/mailman/listinfo/python-list
Thanks for the reply.
I just read your response and will be taking your suggestion immediatly
Len Sumnler
--
http://mail.python.org/mailman/listinfo/python-list
de, online tutorial, or book that might
address this file processing/database would be appreciated
Thanks
Len
--
http://mail.python.org/mailman/listinfo/python-list
42 matches
Mail list logo