problem.
I have created a Python implementation that includes two different
decks. Since one of these is my own, I can be sure this is an original
contribution for all of you Python coders stuck on a problem!
Surf:
http://noisetheatre.blogspot.com/2005/09/oblique-strategies.html
-
robin
Tom Anderson <[EMAIL PROTECTED]> wrote:
>On Wed, 14 Sep 2005, robin wrote:
>
>> The Oblique Strategies were originally a set of one-hundred cards, each
>> bearing a short phrase. They were devised by Brian Eno and Peter Schmidt
>> as ways of working through crea
"Ian Osgood" <[EMAIL PROTECTED]> wrote:
>Wouldn't Natasha Kinski be more apropos for this newsgroup? (In case
>Python needs a poster girl...)
>
>http://snakeskins0.tripod.com/eden.html
That would be Nastassja Kinski.
But you are correct, it is a python. Phot
eems like a reasonable expectation, but all I am readily aware of in
this market is ReportLab. Any suggestions?
-- robin
--
http://mail.python.org/mailman/listinfo/python-list
return True
def _dispatch(self, method, args):
do_something(self.client_ip)
Though using a firewall would not be remiss. :-)
-- robin
--
http://mail.python.org/mailman/listinfo/python-list
with an unexpected rigour and invigorating sense of
adventure. Alex Martelli and the others should be congratulated.
-- robin
--
http://mail.python.org/mailman/listinfo/python-list
ly shortcoming!
-- robin
--
http://mail.python.org/mailman/listinfo/python-list
the
body of some arbitrary webbpage to then do some natural-language
processing with it...
thanks for pointing me to some helpful resources!
robin
--
http://mail.python.org/mailman/listinfo/python-list
lucks yummy. merci beaucoup.
robin
--
http://mail.python.org/mailman/listinfo/python-list
hello list,
does anyone know of a library which permits to summarise text? i've
been looking at nltk but haven't found anything yet. any help would be
very welcome.
thank you all in advance,
robin
--
http://mail.python.org/mailman/listinfo/python-list
n...
from SOAPpy import WSDL
WSDLFILE = '/pathtomy/googleapi/GoogleSearch.wsdl'
APIKEY = ''
_server = WSDL.Proxy(WSDLFILE)
any help would be very much appreciated!
thanks in advance,
robin
Traceback (most recent call last):
File "", line 1, in ?
File
"
thanks for all your replies. lemur looks pretty interesting!
robin
gene tani wrote:
> robin wrote:
> > hello list,
> >
> > does anyone know of a library which permits to summarise text? i've
> > been looking at nltk but haven't found anything yet. any help wo
hi kent,
thanks for your reply. in fact it was me who put "pathtomy" into the
path and exchanged my apikey with ""
i prefer not everyone to know the name of my directories and even less
my apikey. so the problem isn't there :-(
hope to find some other solution
th
nd you've been blogged:
http://diagrammes-modernes.blogspot.com/
-
robin
noisetheatre.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-list
"George Sakkis" <[EMAIL PROTECTED]> wrote:
>Here's what I came up with:
>http://rafb.net/paste/results/G91EAo70.html. Tested only on my
>bookmarks; see if it works for you.
That URL is dead. Got another?
-
robin
noisetheatre.blogspot.com
--
http://mail.pyth
ython's strengths.
Yes, i have been known to do this for a living. Had I been aware
earlier, I would have been happy to help with the redesign. How can I
now?
P.S. I am not averse to the new logo. It is professional, clean, and
symbolic. Maybe there are more ideal choices b
outlook.
And FWIW, I have abandoned my own contribution, so that's one less out
in the wild!
-
robin
noisetheatre.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-list
I integrated a similar line into one of my readings (I sideline
as a poet), a piece entitled "Advice For Modern Living". Goes like
this:
"When confronted with a conflict some people go to a solicitor for
advice. Now they have two problems."
-
robin
noisetheatre.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-list
t; instead of "bibi" or 88
instead of 44 once it is running?
thank y'all for your help
do the snake!
robin
--
http://mail.python.org/mailman/listinfo/python-list
ready open browser window?
thank you for your help,
robin
--
http://mail.python.org/mailman/listinfo/python-list
in advance.
robin
--
http://mail.python.org/mailman/listinfo/python-list
a large scientific
project] way to host this sort of WSGI with a process-per-request
style?
Thanks!
Robin
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 11, 12:10 pm, Robin Becker wrote:
> We've used forked fastcgi (flup) with success as that decouples the wsgi
> process
> (in our case django) from the main server (in our case apache). Our reasons
> for
> doing that were to allow the backend to use modern pytho
On Feb 11, 1:28 pm, Robin wrote:
> On Feb 11, 12:10 pm, Robin Becker wrote:
>
> > We've used forked fastcgi (flup) with success as that decouples the wsgi
> > process
> > (in our case django) from the main server (in our case apache). Our reasons
> > f
On Feb 11, 3:46 pm, Robin Becker wrote:
> well the flup server for fast cgi supports forking if the server is declared
> as
> an external process in apache. Then the top level of the flup process handles
> each request and passes it off to a forked worker. I cannot recall exactly
g services, I've found suds to be the best client:
https://fedorahosted.org/suds/
For creating them, I've been using soaplib:
http://trac.optio.webfactional.com/
HTH,
Robin
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 11, 7:59 pm, Graham Dumpleton
wrote:
> On Feb 11, 8:50 pm, Robin wrote:
>
>
>
> > Hi,
>
> > I am building some computational web services using soaplib. This
> > creates a WSGI application.
>
> > However, since some of these services are comp
n this case... The servers are
provided and maintained as part of a large scientific project for
which I am providing just a few services... Other groups are running
services in other platforms on tomcat through soaplab/instantsoap -
but I was hoping to use native python services since I though
PROBLEM
i need to upgrade my graphics memory to enjoy the features of windows
vista aero theme.. i am intel D915GLVG motherboard. what type of
graphics card is supported on my motherboard and how much it cost??
fiend solution here http://pc-solution4u.blogspot.com/
--
http://mail.python.org/mailm
PROBLEM
hi i'm Pauline Revelli'v just brought a canon pixma mp180/mp160. i
have installed the software and everything. the printer works fine but
the scanner dose not. it trys to scan but a thing comes up that says
its not plug in or cable not connected with numbers. the canon is
pluged in of cour
After the ink cartridge for the Canon Prixma MP 160 have been refilled
and test then I press the button Stop / Reset several times but
unfortunately the problem low ink indicator is still remaining as
before although I have done as some user online suggested. Please tell
me what to do the correct s
PROBLEM
I have tried everything but I am unable to get the scanner to work . I
have reinstalled drivers checked connections I have windows 2000 and
all other requirements. There is a windows error code 31 that pops up.
This says check connections and make sure scanner is turned on.
find solution
PROBLEM
i have already installed the software canon mp 160..the machine can
print out the paper andn copy something perfectly..BUT, when i tried
to scan a paper to the PC,It can't work..there's is a message 'CANNOT
COMMUNICATE TO THE SCANNER. PLEASE TURN ON OR CONNECT THE MACHINE'
whereas i have t
PROBLEM
I connect to my laptop to scan pictures, and each time, each single
time the scanner will start scanning an inch but it stops and I get
the message Cannot communicate with scanner. Cable may be disconnected
or scanner may be turned off. Check status. Scanner driver will be
closed. Code: 2,
PROBLEM
i lost my canon mp160 drivers for the printer and scanner. how to i
download from the drivers for the printerI lost my start up disk for
my canon mp180 all in one printer.How can I download another oneNeed
to find the drivers to downloadmy computer has much viruses and i
installed it. after
PROBLEM
I have a very basic question... how to take black and white print? I
am getting colored print even if I press black button on the printer.
Please advice.I'll be thankful if you please let me know the steps to
make sure that how can I make sure that my printer settings at
computer level are
PROBLEM
I've just bought a second hand MP160,which I only intended to used as
a scanner.I can't get the scanner to operate due to an E5 error on the
display,and a 2,114,0 error which appears as a pop-up when I attempt
to scan.Although empty,the cartridges are of the correct type and are
seated pro
PROBLEM
I need to know how to reset the ink level counter of the Canon MP160.
It says " Low ink" when I just refilled the ink tanks. Please help. I
need the tricks or software that resets the counter.
find solution here
http://pc-solution4u.blogspot.com/search/label/Canon%20PIXMA%20MP160%20All-I
ngth.
Congratulations to all involved!
-
robin
noisetheatre.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-list
I have an entry on my blog discussing the new Python logo, which is
apparently due to replace the current one within the month. I'd be
interested in what people think of it.
Surf:
http://diagrammes-modernes.blogspot.com
-
robin
noisetheatre.blogspot.com
--
http://mail.python.org/ma
"Giovanni Bajo" <[EMAIL PROTECTED]> wrote:
>robin wrote:
>
>> I have an entry on my blog discussing the new Python logo, which is
>> apparently due to replace the current one within the month. I'd be
>> interested in what people think of it.
>>
convert to a string in order to send it via udp.
btw: i cannot use pickle, since i'm sending stuff to a LISP programme.
thank you in advance for your help!
best,
robin
--
http://mail.python.org/mailman/listinfo/python-list
t to a string?
my_new_string = ' '.join(input)
gives me:
Traceback (most recent call last):
File "", line 1, in ?
TypeError: sequence item 0: expected string, float found
thanks,
robin
--
http://mail.python.org/mailman/listinfo/python-list
l even find a way to generalize the list2string bit, so it
accepts arbitrary sized lists...
thanks,
robin
--
http://mail.python.org/mailman/listinfo/python-list
On Nov 13, 2:14 pm, Robin wrote:
> I am trying to embed Python in a MATLAB mex function. This is loaded
> into the MATLAB interpreter - I would like the Python interpreter to
> be initialized once and stay there for future calls. I added a call to
> Py_Finalize as a mexAtExit hand
Hi,
I am trying to embed Python in a MATLAB mex function. This is loaded
into the MATLAB interpreter - I would like the Python interpreter to
be initialized once and stay there for future calls. I added a call to
Py_Finalize as a mexAtExit handler which is called when the library is
unloaded in MA
Does anyone know of a good python to stand alone exe compiler?
Thanks,
-Robin
--
http://mail.python.org/mailman/listinfo/python-list
how do you acccess a hash element in python 3? It completely changed
from version 2 and earlier, I think.
stop war straight up, direct or indectly,
--
http://mail.python.org/mailman/listinfo/python-list
How can I make a command within a tkinter application repeat itself
over and over in intervals of a certain time.
Thanks,
-Robin
--
http://mail.python.org/mailman/listinfo/python-list
Does anyone know where I can download the ScrolledText tkintewr
widget, looked all over for it and had no luck,
Thanks,
-Robin
--
http://mail.python.org/mailman/listinfo/python-list
the solution to your current problemsjoin this:
http://www.thevoid1.net/para
--
http://mail.python.org/mailman/listinfo/python-list
Does anyone know of a way I can make a python script into an exe that
runs on windows7, I don't care if it is a python to c++ or python to c
translator or anything like it. The version of python I am using is
python 3.1. Thanks,
-Robin
--
http://mail.python.org/mailman/listinfo/python-list
What are some good python modules that can be downloaded for any
purpose that is recomended?
-Robin
--
http://mail.python.org/mailman/listinfo/python-list
please, please post a link to my site, http://offlame.thevoid1.net/
also, post free for all links at www.thevoid1.net/ffa
-Robin
--
http://mail.python.org/mailman/listinfo/python-list
"James Harris" wrote in message
news:bc3607b3-7fdd-43fd-8ede-66ac3f597...@32g2000yqj.googlegroups.com...
On 22 Aug, 10:27, David <71da...@libero.it> wrote:
>They look good - which is important. The trouble (for me) is that I
>want the notation for a new programming language and already use these
ised from various distros which are apparently making
changes to 2.7 which change the external behaviour eg spelling corrections to
attribute names. Could this be one of those?
--
Robin Becker
--
http://mail.python.org/mailman/listinfo/python-list
xxsubtype.c. They may give you some idea of how to proceed. Of course all the
other .c codes in there are the actual extensions that Python uses so they are
also good examples.
I started with "Extending and Embedding the Python Interpreter" from the python
documentation thou
vascript
file(s) might work.
Has anyone done this in twisted pymiproxy etc etc?
--
Robin Becker
--
http://mail.python.org/mailman/listinfo/python-list
s access to the Python modules and classes that I
provide?
Thanks for your help.
Best regards,
Robin
[0] http://wiki.python.org/moin/SandboxedPython
[1]
http://stackoverflow.com/questions/3068139/how-can-i-sandbox-python-in-pure-python
--
http://mail.python.org/mailman/listinfo/python-list
print 20*'#','END n=%s'%n,20*'#','\n\n'
if __name__=='__main__':
if len(sys.argv)==1:
N = [86000]
else:
N = map(int,sys.argv[1:])
for n in N:
main(n)
#
--
Robin Becker
--
http://mail.python.org/mailman/listinfo/python-list
On 30/01/2013 15:49, Chris Angelico wrote:
On Thu, Jan 31, 2013 at 1:58 AM, Robin Becker wrote:
however, when I tried an experiment in python 2.7 using the script below I
find that the looping algorithms perform better. A naive loop using list +=
list would appear to be an O(n**2) operation
return self.do_open(self.specialized_conn_class, req)
def secureDataGet(uri,ca_certs='cacert.pem',key_file=None,cert_file=None,
explicit_check=False):
https_handler = SecuredHTTPSHandler(key_file=key_file,cert_file=cert_file,
ca_certs=ca_certs,explicit_check=explicit_check)
e process is switched to fastcgi and the
initialization is only carried out once and then say 50 rrr values are generated.
--
Robin Becker
--
http://mail.python.org/mailman/listinfo/python-list
stic and such a scheme is useless. If I use cgi then we're
re-initializing the sequence hopefully using some other unrelated randomness for
each number.
Uuid apparently uses machine internals etc etc to try and produce randomness,
but urandom and similar can block so are probably not entir
/dev/urandom does not block, that's the point of it as compared to /
dev/random.
Jean-Paul
my mistake, I thought it was the other way round, on FreeBSD they're the same
anyway which is what we test on.
--
Robin Becker
--
http://mail.python.org/mailman/listinfo/python-list
ropy might run out
or something like that so reading from /dev/urandom always was not a good idea.
FreeBSD re-uses the entropy, but the end target is Solaris so I'm not really
sure about the details of /dev/urandom.
--
Robin Becker
--
http://mail.python.org/mailman/listinfo/python-list
eimal for stuff like that, unless
the number of chars is a significant problem. Go for a more complicated
encoding if you must.
we have been using base62 ie 0-9A-Za-z just to reduce the name length.
--
Robin Becker
--
http://mail.python.org/mailman/listinfo/python-list
barcode value. So when you draw the barcode you also need to add
the magic string using some prefix/postfix that allows easy extraction with
pypdf or similar eg
"===radamajfisa===123456789===radamajfisa===". Your text extractor should be
able to find this without too much trouble.
--
Ro
On 03/07/2011 23:21, Chris Angelico wrote:
.
var(0x14205359) x # Don't forget to provide an address where the
object will be located
x=42
did you forget to specify the memory bank and computer (and presumably planet
etc etc)
-molly-coddled-ly yrs-
Robin Becker
--
On 05/07/2011 16:33, nn wrote:
..
Ah, I see we have a mainframe programmer among us ... :-)
so long since I manipulated the switches of that old pdp-8
-anciently yrs-
Robin Becker
--
http://mail.python.org/mailman/listinfo/python-list
x27;reportlab.graphics',
'reportlab.lib',
'reportlab.pdfbase',
'reportlab.pdfgen',
'reportlab.platyp
in
finite precision the eigenvalues require infinite precision.
Eigenvalues are roots of a polynomial in the elements and root solving may
require an infinite number of steps so it will be difficult with arbitrary
matrices to keep arbitrary precision.
--
Robin Becker
--
http://mail.python.org/mailman/listinfo/python-list
nvas.drawString
and similar. There you need to use either unicode or a utf8 encoded byte string.
--
Robin Becker
--
http://mail.python.org/mailman/listinfo/python-list
an import is required during the last request.
Normally the upgrade process is supposed to move software into place and then
new data and then restart the fastcgi scripts; for whatever reason the error
seems to have been that the process was restarted with old data around.
Any ideas?
--
Ro
each platform to provide
a 100% native look and feel for the application.
--
Robin Dunn
Software Craftsman
http://wxPython.org
--
http://mail.python.org/mailman/listinfo/python-list
me kind of
interfaces (contracts I think), but it needs net or mono.
--
Robin Becker
--
http://mail.python.org/mailman/listinfo/python-list
this fail only on windows 8?
--
Robin Becker
--
https://mail.python.org/mailman/listinfo/python-list
On 12/09/2017 08:35, dieter wrote:
Robin Becker writes:
Certificate verification generally depends on local configuration:
specifically, the set of installed trusted root certificates.
I do not know about Windows, but often the root certificates installed
for other packages, e.g. the browser
C:\usr\share\robin\pythonDoc>python -m timeit -s"values=(1,2,None)" "any(v is None
for v in values)"
100 loops, best of 3: 0.62 usec per loop
C:\usr\share\robin\pythonDoc>python -m timeit -s"values=(None,2,None)" "any(v is
None for v in values)"
On 20/09/2017 10:54, Chris Angelico wrote:
What, you take silicon that someone else created?!
ChrisA
well I had germanium for flipflops and dekatron tubes with neon for counters
never built anything digital with valves though
--
Robin Becker
--
https://mail.python.org/mailman
l
117
C:\Python36\Lib>grep "while True" *.py | wc -l
131
C:\Python36\Lib>grep "while 1" *.py | wc -l
44
How much does the while True actually cost compared to nothing?
--
Robin Becker
--
https://mail.python.org/mailman/listinfo/python-list
On 04/10/2017 11:57, Rhodri James wrote:
On 04/10/17 10:01, Robin Becker wrote:
Given the prevalence of the loop and a half idea in python I wonder why we
don't have a "do" or "loop" statement to start loops without a test.
See PEP 315. Guido's rejection note is
take a syntax we are famillar with?
It can look like a function
x = 3
del(x)
x
Traceback (most recent call last):
File "", line 1, in
NameError: name 'x' is not defined
--
Robin Becker
--
https://mail.python.org/mailman/listinfo/python-list
about determining what tests to use?
A particular problem might be dynamic in that the list may be being constructed
from the probes.
--
Robin Becker
--
https://mail.python.org/mailman/listinfo/python-list
On 19/10/2017 16:42, Stefan Ram wrote:
Robin Becker writes:
Presumably the information in any attribute is highest
if the number of distinct occurrences is the the same as the list length and
pairs of attributes are more likely to be unique, but is there some proper way
On 19/10/2017 17:50, Stefan Ram wrote:
Robin Becker writes:
...
this sort of makes sense for single attributes, but ignores the possibility of
combining the attributes to make the checks more discerning.
What I wrote also applies to compound attributes
(sets of base attributes
setattr(fd, when, attrs.as_list())
error is here
class Term(TermState):
TS__init__ = TermState.__init__
def __init__(self, fd=0):
self.TS__init__(termios.tcgetattr(fd))
self.fd = fd
--
Robin Becker
--
https://mail.python.org/mailman/listinfo/python-list
nd of background app with listening sockets etc etc? Can applications call
out to the world to download updated templates and so on?
Any pointers would be useful.
--
Robin Becker
--
https://mail.python.org/mailman/listinfo/python-list
On 17/12/2017 06:41, Abdur-Rahmaan Janhangeer wrote:
Hi all,
Can somebody point out to me some py-based template languages interpreters
resources?
Thank you !
https://bitbucket.org/rptlab/preppy
--
Robin Becker
--
https://mail.python.org/mailman/listinfo/python-list
ard way to deal with these?
I assume that some browser+settings combination is putting these in eg perhaps
the language is normally right to left but numbers are not.
--
Robin Becker
--
https://mail.python.org/mailman/listinfo/python-list
On 02/01/2018 15:18, Chris Angelico wrote:
On Wed, Jan 3, 2018 at 1:30 AM, Robin Becker wrote:
I'm seeing some strange characters in web responses eg
u'\u200e28\u200e/\u200e09\u200e/\u200e1962'
for a date of birth. The code \u200e is LEFT-TO-RIGHT MARK according to
unicodedata
http://aosabook.org/en/500L/a-python-interpreter-written-in-python.html
--
Robin Becker
--
https://mail.python.org/mailman/listinfo/python-list
hon programs to get this
kind of reputation.
Anyone know if the same happens with PyInstaller etc etc?
--
Robin Becker
--
https://mail.python.org/mailman/listinfo/python-list
On 28/02/2018 11:46, alister via Python-list wrote:
On Wed, 28 Feb 2018 09:53:09 +, Robin Becker wrote:
I see this has happened to others in the past. I'm using 32 bit python
2.7.10 with py2exe 3.3 on windows 7. The exes work fine,
but when I try to download into windows 10 I'm g
On 28/02/2018 16:25, Hartmut Goebel wrote:
Am 28.02.2018 um 16:47 schrieb Robin Becker:
I upgraded pyinstaller using the very latest pip and now the version
of pyinstaller at least is 3.3.1. I don't actually know how to check
the validity of the installed code or the binary stubs.
The cu
I haven't used dataclasses or typing very much, but while playing about I found
this didn't give me an expected error
(.py312) robin@minikat:~/devel/reportlab
$ cat tmp/examples/tdc.py && python tmp/examples/tdc.py && mypy
tmp/examples/tdc.py
#
d mypy 0.910 and I still don't get an error.
I'll break out the windows 10 laptop and see what happens there.
You ran with the py runner. I wonder if that does something special.
--
Robin Becker
--
https://mail.python.org/mailman/listinfo/python-list
lso finds the real typing error.
So it seems the tool fails in the simplest cases if you forget some typing.
Interesting that it works in windows without --strict though.
--
Robin Becker
--
https://mail.python.org/mailman/listinfo/python-list
: error: variable ‘CustomType’ has initializer but
incomplete type
10 | static PyTypeObject CustomType = {
| ^~
In file included from
/home/robin/LOCAL/3.7.16/include/python3.7m/Python.h:90,
from src/_custom.c:2:
/home/robin/LOCAL/3.7.16
On 08/12/2022 12:52, Robin Becker wrote:
I am trying to split off reportlab C extensions to simplify installations and
make use of more advanced packages.
A simple extension is easily converted to being an abi3 module. However, another has a custom type which uses the old
style mechanisms
1 - 100 of 896 matches
Mail list logo