On Apr 1, 3:34 am, Wayne wrote:
> My town office uses Microsoft operating system. They have a proprietary
> accounting system that uses excel for their accounting reports.
> I would like to read these report and reproduce the report so that
> the report can be seen on the web. I was thinking about
> Django will probably get you where you want to go the fastest:
>
> http://www.djangoproject.com/
>
> In particular, its admin interface will probably automatically generate a
> usable
> UI for you without your having to write many templates at all.
Robert,
Thank you very very much. I had a
Hi there,
Years ago I wrote a LAMP app using python. I find I need a simple web
data entry tool to store records (stock research) and when I enter a
stock ticker, to pull up all the past research I have done. I am
imagining fields like ticker, date, pulldown menus for various
options, long text fo
On Mar 28, 10:59 pm, "Dieter Verfaillie"
wrote:
> Quoting KB :
>
> > I am getting an error from the IDE saying it does not recognise
> > CoInitialize():
>
> >
> > import pythoncom
>
> > pythoncom.CoInitialize()
> > pythoncom.CoUnin
On Mar 28, 8:16 pm, Jason Scheirer wrote:
> On Mar 28, 7:14 pm, KB wrote:
>
>
>
> > Hi there,
>
> > I have in the past used PythonWin to write python for COM, and
> > switched to Eclipse.
>
> > I am getting an error from the IDE say
Hi there,
I have in the past used PythonWin to write python for COM, and
switched to Eclipse.
I am getting an error from the IDE saying it does not recognise
CoInitialize():
import pythoncom
pythoncom.CoInitialize()
pythoncom.CoUninitialize()
(red X next to the two bottom lines sayin
> On Sat, 30 Jan 2010 06:21:01 -0800, KB wrote:
> > I have a service I subscribe to that uses javascript to stream news.
> There's a Python interface to SpiderMonkey (Mozilla's JavaScript
> interpreter):
>
> http://pypi.python.org/pypi/python-spidermonkey
Than
Hi there,
I have a service I subscribe to that uses javascript to stream news.
Ideally I would like to use python to parse the information for me.
Note there is an option to take a static snapshot of the current
stream but that is still done via Javascript. (I can reference the
snapshot with a uni
Hmmm, XML is an interesting angle... I'll noodle it...
--
http://mail.python.org/mailman/listinfo/python-list
Hi there,
I have an application that only publishes a Java API. I can use jython
to access java classes, but jython currently (to the best of my
knowledge) does not support numpy/scipy.
Ideally I would like to have jython call a "native" python routine
where I have the numpy/scipy procedures alre
Kutlu,
I already have a first born, else I would name her after you.
You are brilliant. That's what it was. Kudos.
For future ref for fellow boneheads like me, in Eclipse, under Project
properties, Jython Class Path, Add External JAR...
Thanks a million!
--
http://mail.python.org/mailman/listi
Hmmm, for some reason my follow up post didn't make it.
Modified jython script to:
# Eclipse package name for java application
import krbtest
import java.lang as lang
from java.lang import String
from jarray import array
myargs=array([],String)
krbtest.SimpleHistoricTutorial().main(myargs)
**
Hi there,
Apologies if this is on the wrong group, this is a jython question.
Please redirect me to the correct group if this is in error.
I have a java application that takes no arguements. When I run it, it
spits out output, and finishes.
I am trying to run this java application from jython 2.
Excuse the top-post, but thanks to all, the tuple was the way to go.
On Oct 22, 2:16 pm, KB wrote:
> Hi,
>
> I have to pass over 150 parameters to a print statement ala:
>
> print "%s %s %s <150'th unique text> %s" % (v
> [0], v[1], ... v[150])
>
Hi,
I have to pass over 150 parameters to a print statement ala:
print "%s %s %s <150'th unique text> %s" % (v
[0], v[1], ... v[150])
I can't use a for loop like I normally would over the list "v" due to
the different text fragments between each var.
Is there a lambda function I can use i
On Aug 3, 3:54 pm, KB wrote:
> Hi,
>
> I am trying to download from a URL, a CSV using the following:
>
> import re
> import urllib, urllib2, cookielib
> import mechanize
> import csv
> import numpy
> import os
>
> def return_ranking():
>
> c
Hi,
I am trying to download from a URL, a CSV using the following:
import re
import urllib, urllib2, cookielib
import mechanize
import csv
import numpy
import os
def return_ranking():
cj = mechanize.MSIECookieJar(delayload=True)
cj.load_from_registry() # finds cookie index fil
Winner, winner, chicken dinner... resolved.
http://wwwsearch.sourceforge.net/mechanize/doc.html
import mechanize
cj = mechanize.MSIECookieJar(delayload=True)
cj.load_from_registry() # finds cookie index file from registry
Thanks Mr Lee!
--
http://mail.python.org/mailman/listinfo/python-list
On Jul 30, 9:23 am, "Diez B. Roggisch" wrote:
> KB wrote:
>
> >> What does you full example look like, including the
> >> cookie-acquisition-stuff?
>
> >> Diez
>
> > I ran them seperately, hoping for a clue as to what my "co
> What does you full example look like, including the
> cookie-acquisition-stuff?
>
> Diez
I ran them seperately, hoping for a clue as to what my "cookiejar"
was.
The cookie-acquisition stuff returns "screener.ashx?v=151" when I
search with my domain I am interested in. I have tried
urllib2.HTTP
> > Using:http://code.activestate.com/recipes/80443/
>
Thanks for the prompt reply, Diez! Using the above I have found the
name of the cookie (I did google how to use IE cookies in python and
that was the best match) but it only tells me the name of the cookie,
not how to use it.
Any clues?
TIA
Hi there,
Relevant versions: Python 2.5, Vista Home, IE7
I am trying to scrape a website I have browsed manually in the past,
and also manually selected my options, and now want python to use my
existing cookie from the manual browse when downloading data.
Using: http://code.activestate.com/reci
Of course, I downloaded the source of 'SendKeys' and installed it under
both Cygwin and Python Windows with
$ python setup.py install
although this did not help me.
KB
--
http://mail.python.org/mailman/listinfo/python-list
time if I do not know the
execution
time of an application?
Thanks in advance.
KB
--
http://mail.python.org/mailman/listinfo/python-list
e program finishes
normal execution?
Thanks,
KB
--
http://mail.python.org/mailman/listinfo/python-list
> The leading zero only exists in a particular string
> representation. os.chmod() needs an integer, not a string. 0777 == 511.
Thanks, Robert.
What you said is exactly what I did not understand clearly,
because I am just a beginner in Python programming.
KB
--
http://mail.python.org/m
Thanks, John.
But my point is how to keep the leading zero in 0777,
in order to be used in os.chmod('myfile', 0777)?
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
This may be a rudimentary question:
How to convert a string like '777' to an octal integer like 0777,
so that it can be used in os.chmod('myfile',0777)?
I know the leading zero is important in os.chmod.
KB
--
http://mail.python.org/mailman/listinfo/python-list
28 matches
Mail list logo