Oblique Strategies

2005-09-14 Thread robin
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

Re: Oblique Strategies

2005-09-15 Thread 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

Re: Britney Spears nude

2005-09-17 Thread robin
"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

wanted: visual report templating system

2005-03-22 Thread robin
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

Re: SimpleRPCServer

2005-04-03 Thread robin
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

Re: Python Cookbook, 2'nd. Edition is published

2005-04-04 Thread robin
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

Re: TOC of Python Cookbook now online (was Re: author index for Python Cookbook 2?)

2005-04-04 Thread robin
ly shortcoming! -- robin -- http://mail.python.org/mailman/listinfo/python-list

html 2 plain text

2006-05-28 Thread robin
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

Re: html 2 plain text

2006-05-28 Thread robin
lucks yummy. merci beaucoup. robin -- http://mail.python.org/mailman/listinfo/python-list

summarize text

2006-05-29 Thread robin
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

problem with google api / xml

2006-05-31 Thread robin
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 "

Re: summarize text

2006-05-31 Thread robin
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

Re: problem with google api / xml

2006-05-31 Thread robin
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

Re: ANN: Pocoo (bulletin board software) 0.1 beta released

2006-09-21 Thread robin
nd you've been blogged: http://diagrammes-modernes.blogspot.com/ - robin noisetheatre.blogspot.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Using Beautiful Soup to entangle bookmarks.html

2006-09-21 Thread robin
"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

Re: beta.python.org content

2006-01-30 Thread robin
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

Re: How many web framework for python ?

2006-02-27 Thread robin
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

Re: new wooden door step - fixing and finishing

2006-02-27 Thread robin
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

changing params in while loop

2006-02-27 Thread robin
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

module webbrowser - open link in same window - osx

2006-05-18 Thread robin
ready open browser window? thank you for your help, robin -- http://mail.python.org/mailman/listinfo/python-list

webbrowser module bug on os x?

2006-05-25 Thread robin
in advance. robin -- http://mail.python.org/mailman/listinfo/python-list

best way to serve wsgi with multiple processes

2009-02-11 Thread Robin
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

Re: best way to serve wsgi with multiple processes

2009-02-11 Thread Robin
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

Re: best way to serve wsgi with multiple processes

2009-02-11 Thread Robin
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

Re: best way to serve wsgi with multiple processes

2009-02-11 Thread Robin
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

Re: SOAP client

2009-02-11 Thread Robin
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

Re: best way to serve wsgi with multiple processes

2009-02-11 Thread Robin
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

Re: best way to serve wsgi with multiple processes

2009-02-11 Thread Robin
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

About upgrade my graphics memory

2008-10-09 Thread robin
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

Error code MP170

2008-10-11 Thread robin
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

Ink level monitor on Canon Prixma...

2008-10-11 Thread robin
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

I can't get the scanner to work on my mp160.

2008-10-11 Thread robin
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

sceanner connection to the pc

2008-10-11 Thread robin
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

Scanning error

2008-10-11 Thread robin
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,

Canon mp160 drivers

2008-10-11 Thread robin
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

Canon PIXMA MP160 All-In-One InkJet Printer

2008-10-11 Thread robin
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

E5 and 2,114,0 errors

2008-10-11 Thread robin
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

ink level reset

2008-10-11 Thread robin
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

Re: New python.org website

2006-03-13 Thread robin
ngth. Congratulations to all involved! - robin noisetheatre.blogspot.com -- http://mail.python.org/mailman/listinfo/python-list

New Python Logo Revealed

2006-04-01 Thread robin
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

Re: New Python Logo Revealed

2006-04-03 Thread robin
"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. >>

converting lists to strings to lists

2006-04-12 Thread robin
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

Re: converting lists to strings to lists

2006-04-12 Thread robin
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

Re: converting lists to strings to lists

2006-04-12 Thread robin
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

Re: bus error in Py_Finalize with ctypes imported

2009-11-13 Thread Robin
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

bus error in Py_Finalize with ctypes imported

2009-11-13 Thread Robin
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

python to exe

2010-03-12 Thread Robin
Does anyone know of a good python to stand alone exe compiler? Thanks, -Robin -- http://mail.python.org/mailman/listinfo/python-list

python question

2011-02-02 Thread Robin
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

repeat tkinter

2010-05-03 Thread Robin
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

scrolledtext download location

2010-05-04 Thread Robin
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 problems........join this: http://www.thevoid1.net/para

2010-05-05 Thread Robin
the solution to your current problemsjoin this: http://www.thevoid1.net/para -- http://mail.python.org/mailman/listinfo/python-list

python to exe

2010-05-09 Thread Robin
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?

2010-06-14 Thread Robin
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

do

2010-07-09 Thread Robin
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

Re: Numeric literals in other than base 10

2009-08-27 Thread robin
"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

unexpected syntax errors

2013-05-07 Thread Robin Becker
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

Re: Writing Extensions for Python 3 in C

2013-06-19 Thread Robin Becker
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

substituting proxy

2013-07-29 Thread Robin Becker
vascript file(s) might work. Has anyone done this in twisted pymiproxy etc etc? -- Robin Becker -- http://mail.python.org/mailman/listinfo/python-list

Executing untrusted scripts in a sandboxed environment

2012-10-05 Thread Robin Krahl
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

looping versus comprehension

2013-01-30 Thread Robin Becker
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

Re: looping versus comprehension

2013-01-30 Thread Robin Becker
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

client ssl verification

2012-03-15 Thread Robin Becker
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)

How good is security via hashing

2011-06-07 Thread Robin Becker
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

Re: How good is security via hashing

2011-06-07 Thread Robin Becker
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

Re: How good is security via hashing

2011-06-07 Thread Robin Becker
/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

Re: How good is security via hashing

2011-06-07 Thread Robin Becker
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

Re: How good is security via hashing

2011-06-08 Thread Robin Becker
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

Re: How to read barcoded value from PDF

2011-06-28 Thread Robin Becker
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

Re: Implicit initialization is EVIL!

2011-07-05 Thread Robin Becker
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 --

Re: Implicit initialization is EVIL!

2011-07-05 Thread 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

Re: reportlab import error after dundled using py2exe

2011-07-25 Thread Robin Becker
x27;reportlab.graphics', 'reportlab.lib', 'reportlab.pdfbase', 'reportlab.pdfgen', 'reportlab.platyp

Re: arbitrary precision linear algebra

2011-03-02 Thread Robin Becker
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

Re: Generate PDF with Tamil font problem

2011-03-08 Thread Robin Becker
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

full reload of fastcgi

2011-04-12 Thread Robin Becker
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

ANNOUNCE: wxPython 2.8.12.0

2011-04-19 Thread Robin Dunn
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

Re: Abandoning Python

2011-05-23 Thread Robin Becker
me kind of interfaces (contracts I think), but it needs net or mono. -- Robin Becker -- http://mail.python.org/mailman/listinfo/python-list

windows 8 versus urllib2 certificate verify

2017-09-11 Thread Robin Becker
this fail only on windows 8? -- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

Re: windows 8 versus urllib2 certificate verify

2017-09-12 Thread Robin Becker
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

Re: How do I check all variables returned buy the functions exists

2017-09-20 Thread Robin Becker
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)"

Re: Even Older Man Yells At Whippersnappers

2017-09-27 Thread Robin Becker
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

Re: The "loop and a half"

2017-10-04 Thread Robin Becker
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

Re: The "loop and a half"

2017-10-04 Thread Robin Becker
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

Re: why del is not a function or method?

2017-10-18 Thread Robin Becker
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

efficient way to get a sufficient set of identifying attributes

2017-10-19 Thread Robin Becker
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

Re: efficient way to get a sufficient set of identifying attributes

2017-10-19 Thread Robin Becker
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

Re: efficient way to get a sufficient set of identifying attributes

2017-10-20 Thread Robin Becker
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

Re: Let's talk about debuggers!

2017-10-27 Thread Robin Becker
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

headless python app for android/ios

2017-10-27 Thread Robin Becker
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

Re: Python Templating Language

2017-12-20 Thread Robin Becker
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

unicode direction control characters

2018-01-02 Thread Robin Becker
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

Re: unicode direction control characters

2018-01-02 Thread Robin Becker
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

Re: Tips or strategies to understanding how CPython works under the hood

2018-01-10 Thread Robin Becker
http://aosabook.org/en/500L/a-python-interpreter-written-in-python.html -- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

py2exe output flagged as malware

2018-02-28 Thread Robin Becker
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

Re: py2exe output flagged as malware

2018-02-28 Thread Robin Becker
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

Re: py2exe output flagged as malware

2018-02-28 Thread Robin Becker
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

is mypy failing here

2022-11-24 Thread Robin Becker
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 #

Re: is mypy failing here

2022-11-25 Thread Robin Becker
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

Re: is mypy failing here

2022-11-25 Thread Robin Becker
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

C extension custom types in abi3 module

2022-12-08 Thread Robin Becker
: 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

Re: C extension custom types in abi3 module

2022-12-08 Thread Robin Becker
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   2   3   4   5   6   7   8   9   >