PyPy Gothenburg Post-Easter Sprint April 25 - May 1 2011

2011-04-05 Thread Laura Creighton
. tweaking the Python or JavaScript interpreter, Stackless support, and so on. Location The sprint will be held in the apartment of Laura Creighton and Jacob Hallén which is at Götabergsgatan 22 in Gothenburg, Sweden. Here is a map_. This is in central Gothenburg. It is between the tram_

After 40 years ... Knuth vol 4 is to be published!!

2005-02-06 Thread Laura Creighton
More than forty years in the making, the long-anticipated Volume 4 of The Art of Computer Programming is about to make its debuta. in parts. Rather than waiting for the complete book, Dr. Knuth and Addison-Wesley are publishing it in installments (fascicles) a la Charles Dickens. See

Re: ANN: Wing IDE 2.0.1 released

2004-12-07 Thread Laura Creighton
Congratulations! Laura -- http://mail.python.org/mailman/listinfo/python-list

Europython fees (was PyCon Disappointment)

2008-03-17 Thread Laura Creighton
this on europython-improve at python.org ? Laura Creighton -- http://mail.python.org/mailman/listinfo/python-list

Re: ANN: Enthought Python Distribution - New Release

2008-10-25 Thread Laura Creighton
Thank you Travis. Very pleased to get this from you. Congratulatoins on the new release, Laura -- http://mail.python.org/mailman/listinfo/python-list

Re: ANN: Resolver One 1.1 released

2008-06-05 Thread Laura Creighton
Hey, Congratulations! Laura Creighton -- http://mail.python.org/mailman/listinfo/python-list

pyweek is happening august 02 - august 09

2007-08-04 Thread Laura Creighton
on www.pyweek.org if you think so, as well. But mail me. John -- assuming we want to meet up _before_ PyConUK -- can that work? Can you point us at a cheap hostel for a few days? Laura Creighton -- http://mail.python.org/mailman/listinfo/python-list

Re: [pygame] pyweek is happening august 02 - august 09

2007-08-04 Thread Laura Creighton
In a message of Sat, 04 Aug 2007 14:25:29 CDT, Luke Paireepinart writes: Laura Creighton wrote: 00:00 UTC 2007-09-02 to 00:00 UTC 2007-09-09 exactly. See www.pyweek.org PyconUK is happening. http://www.pyconuk.org/ 8th and 9th September. This means that those of us who generally do not see

Re: [PyCON-Organizers] Next PyCon Organizers' Meeting Tuesday, 11 September

2007-09-11 Thread Laura Creighton
Does this mean that if you do not have a google account, and do not want one, there is no way to join the meeting? Laura In a message of Mon, 10 Sep 2007 22:34:01 EDT, Douglas Napoleone writes: I have found that jabber accounts no longer work, but google accounts do. I had a jabber account,

Re: PyCon Australia 2011: Schedule Announced

2011-07-14 Thread Laura Creighton
your conference, but sometime I would like to have an email. Thanks very much, Laura Creighton -- http://mail.python.org/mailman/listinfo/python-list

Re: Wildly OT: pop-up virtual keyboard for Mac or Linux?

2015-02-11 Thread Laura Creighton
In a message of Wed, 11 Feb 2015 11:23:10 -0600, Skip Montanaro writes: Thanks for all the ideas. As I'm an Emacs user (since Gosmacs in the early 80s), I will likely focus my attention there first. While the xkbmap/Xmodmap path seems like it would also work on Linux, I'm guessing Apple wouldn't

tabs and the Python3 console

2015-02-10 Thread Laura Creighton
, because you get the idea ... Do I need a python3 enabled with readline support, or something? Thanks very much, Laura Creighton -- https://mail.python.org/mailman/listinfo/python-list

Re: tabs and the Python3 console

2015-02-10 Thread Laura Creighton
In a message of Tue, 10 Feb 2015 16:50:54 +0100, Vincent Vande Vyvre writes: Le 10/02/2015 15:36, Laura Creighton a écrit : I have the debian version of python3 installed here. Python 3.4.2 (default, Nov 13 2014, 07:01:52) [GCC 4.9.2] on linux Type help, copyright, credits or license for more

Re: Python 2.7.9, 3.4.2 won't verify SSL cert for verisign.com

2015-02-17 Thread Laura Creighton
Possibly this bug? https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/1014640 Laura -- https://mail.python.org/mailman/listinfo/python-list

Re: Python 2.7.9, 3.4.2 won't verify SSL cert for verisign.com

2015-02-17 Thread Laura Creighton
I am away on a consulting gig, so I really only have my laptop to test on. Python 2.7.8 (default, Nov 18 2014, 14:57:17) debian version jessie/sid SSL test, with OpenSSL version OpenSSL 1.0.1j 15 Oct 2014. Connection to verisign.com failed: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify

Re: python implementation of a new integer encoding algorithm.

2015-02-18 Thread Laura Creighton
, about 45 years too late for the ideas you are sprouting. I had similar ones about 30 years too late and, well, they only worked for me for about 3-5 years. Sucks to be you, friend -- you needed to be your grandfather, I fear. Laura Creighton -- https://mail.python.org/mailman/listinfo/python

[issue23476] SSL cert verify fail for www.verisign.com

2015-02-18 Thread Laura Creighton
Laura Creighton added the comment: I have this problem too. Debian jessie/sid Python 2.7.8 (default, Nov 18 2014, 14:57:17) Python 3.4.2 (default, Nov 13 2014, 07:01:52) -- nosy: +lac ___ Python tracker rep...@bugs.python.org http

Re: can python handle CHIME .spt files?

2015-02-18 Thread Laura Creighton
and ask him more questions, his contact page is at http://www.dalkescientific.com/contact.html He's very friendly, as well as being a very good friend of mine. Laura Creighton -- https://mail.python.org/mailman/listinfo/python-list

Re: can python handle CHIME .spt files?

2015-02-18 Thread Laura Creighton
In a message of Wed, 18 Feb 2015 21:23:50 -0800, Ethan Furman writes: On 02/18/2015 08:57 PM, Laura Creighton wrote: I went and asked your question to Andrew Dalke, who is an expert in such things. Did you happen to ask him about PyMol? Just curious. ;) -- ~Ethan~ I hadn't then, but have

Re: can python handle CHIME .spt files (fwd)

2015-02-19 Thread Laura Creighton
-ff4107f0c...@dalkescientific.com On Feb 19, 2015, at 8:05 AM, Laura Creighton wrote: Now discussion has moved to http://www.pymol.org/ Do you know if that will do the job? Or anything else about it? I do not know. My knowledge of that field is rather dated now. The best I can find in a quick

Re: Python 2.7.9, 3.4.2 won't verify SSL cert for verisign.com

2015-02-17 Thread Laura Creighton
I've seen something like this: The requests module http://docs.python-requests.org/en/latest/ ships with its own set of certificates cacert.pem and ignores the system wide ones -- so, for instance, adding certificates to /etc/ssl/certs on your debian or ubuntu system won't work. I edited it by

Re: Wildly OT: pop-up virtual keyboard for Mac or Linux?

2015-02-10 Thread Laura Creighton
I'm using this: http://michel.staelens.pagesperso-orange.fr/clavier/index_GB.htm# to get cyrillic. Not sure the other alternatives will get you what you want -- my keyboard is rather well loaded with accented letters from the get-go. Laura --

Re: Wildly OT: pop-up virtual keyboard for Mac or Linux?

2015-02-10 Thread Laura Creighton
In a message of Tue, 10 Feb 2015 15:29:00 -0600, Tim Chase writes: While it's not exactly a hold-down-get-a-menu, I opt for changing my (otherwise-useless) caps-lock key to an X compose key: $ setxkbmap -option compose:caps I can then hit caps-lock followed by what are generally intuitive

Re: function inclusion problem

2015-02-10 Thread Laura Creighton
In a message of Wed, 11 Feb 2015 01:06:00 +0100, Laura Creighton writes: In a message of Tue, 10 Feb 2015 15:38:02 -0800, vlyamt...@gmail.com writes: I defined function Fatalln in mydef.py and it works fine if i call it from mydef.py, but when i try to call it from test.py in the same folder

Re: function inclusion problem

2015-02-10 Thread Laura Creighton
In a message of Tue, 10 Feb 2015 15:38:02 -0800, vlyamt...@gmail.com writes: I defined function Fatalln in mydef.py and it works fine if i call it from mydef.py, but when i try to call it from test.py in the same folder: import mydef ... Fatalln my test i have NameError: name 'Fatalln' is not

Re: Design thought for callbacks

2015-02-22 Thread Laura Creighton
somebody, I got confused with the indent level wrote: They force the use of the much slower cycle-detecting GC, rather than the quick and efficient CPython refcounter. Somebody has misunderstood something here. When it comes to efficient garbage collectors, refcounting is a turtle. The

Re: Future of Pypy?

2015-02-22 Thread Laura Creighton
In a message of Sun, 22 Feb 2015 12:45:03 +, Dave Farrance writes: Maybe there's not enough people like me that have really felt the need for the speed. Or maybe it's simply the accident of the historical development path that's set-in-stone an interpreter rather than a JIT. Anybody got a

Re: Design thought for callbacks

2015-02-22 Thread Laura Creighton
In a message of Sun, 22 Feb 2015 07:16:14 -0500, Cem Karan writes: This was PRECISELY the situation I was thinking about. My hope was to make the callback mechanism slightly less surprising by allowing the user to track them, releasing them when they aren't needed without having to figure out

Re: Future of Pypy?

2015-02-23 Thread Laura Creighton
Arrgh! I forgot to warn you that you need a very recent version of virtualenv to work with PyPy. I am very sorry about that. Glad to see that things are working now. Laura -- https://mail.python.org/mailman/listinfo/python-list

Re: Newbie question about text encoding

2015-02-24 Thread Laura Creighton
Dave Angel are you another Native English speaker living in a world where ASCII is enough? Laura -- https://mail.python.org/mailman/listinfo/python-list

Re: id() and is operator

2015-02-22 Thread Laura Creighton
In a message of Sun, 22 Feb 2015 09:53:33 -0800, LJ writes: Hi everyone. Quick question here. Lets suppose if have the following numpy array: b=np.array([[0]*2]*3) and then: id(b[0]) 4582 id(b[1]) 45857512 id(b[2]) 4582 Please correct me if I am wrong, but according to this b[2]

Re: Future of Pypy?

2015-02-22 Thread Laura Creighton
In a message of Sun, 22 Feb 2015 15:36:42 +, Dave Farrance writes: Laura Creighton l...@openend.se wrote: I don't understand 'an interpreter rather than a JIT'. PyPy has a JIT, that sort of is the whole point. Yes. I meant that from my end-user, non-software-engineer perspective, it looked

Re: How to design a search engine in Python?

2015-02-22 Thread Laura Creighton
give me a solid background to work around the problem. Regards, Subhabrata. You may find the API docs surrounding rdelbru.github.io/SIREn/ of interest then. Laura Creighton -- https://mail.python.org/mailman/listinfo/python-list

Re: Future of Pypy?

2015-02-22 Thread Laura Creighton
In a message of Sun, 22 Feb 2015 11:02:29 -0800, Paul Rubin writes: Laura Creighton l...@openend.se writes: Because one thing we do know is that people who are completely and utterly ignorant about whether having multiple cores will improve their code still want to use a language that lets them

Re: Future of Pypy?

2015-02-22 Thread Laura Creighton
Good news -- it seems to be working fine with PyPy. https://travis-ci.org/hugovk/Pillow/builds for me, not extensively tested, it just seems to be working. I have several pypy's floating around here, each within its own virtualenv. If you aren't familiar with virtualenv, read all about it

Re: Future of Pypy?

2015-02-22 Thread Laura Creighton
In a message of Sun, 22 Feb 2015 12:14:45 -0800, Paul Rubin writes: Laura Creighton l...@openend.se writes: The GIL isn't going away from PyPy any time real soon, alas. I thought the GIL's main purpose was to avoid having to lock all the CPython refcount updates, so if PyPy has tracing GC, why

Re: Design thought for callbacks

2015-02-22 Thread Laura Creighton
In a message of Sun, 22 Feb 2015 17:09:01 -0500, Cem Karan writes: Documentation is a given; it MUST be there. That said, documenting something, but still making it surprising, is a bad idea. For example, several people have been strongly against using a WeakSet to hold callbacks because they

Re: id() and is operator

2015-02-22 Thread Laura Creighton
Ooops, I missed the numpy, so I thought that it was the contents of the array that was causing the problem. My very bad. Apologies. Laura -- https://mail.python.org/mailman/listinfo/python-list

Re: Newbie question about text encoding

2015-02-24 Thread Laura Creighton
In a message of Tue, 24 Feb 2015 15:55:41 +0100, Laura Creighton writes: In a message of Tue, 24 Feb 2015 06:25:24 -0500, Dave Angel writes: But utf-8 does not seem to be the right encoding for that bytestring. So you'll need a form like: mystring = rec.decode(encoding='xxx') for some value

Re: Python shell: Arrow keys not working in PuTTY

2015-02-24 Thread Laura Creighton
In a message of Tue, 24 Feb 2015 11:18:38 +, David Aldrich writes: BUT do *not* run `make install` as that will overwrite your system Python and Bad Things will happen. Instead, run `make altinstall`. Thanks for all the warnings. We did use `make altinstall`, so all is ok. Recompiling,

Re: Newbie question about text encoding

2015-02-24 Thread Laura Creighton
In a message of Wed, 25 Feb 2015 02:03:16 +1100, Chris Angelico writes: On Wed, Feb 25, 2015 at 1:55 AM, Laura Creighton l...@openend.se wrote: In a message of Tue, 24 Feb 2015 06:25:24 -0500, Dave Angel writes: But utf-8 does not seem to be the right encoding for that bytestring. So you'll need

[issue23476] SSL cert verify fail for www.verisign.com

2015-02-24 Thread Laura Creighton
Laura Creighton added the comment: Antione closed this, as a not python error, as if you do not pass a valid certificate to openssl s_client it will not read the system certificates, which is clearly utterly surprising and nuts. The problem, as I see it, is that fixing this clear absurdity may

[issue23476] SSL cert verify fail for www.verisign.com

2015-02-20 Thread Laura Creighton
Laura Creighton added the comment: In https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/1014640 it says : FIX: Fixed in Ubuntu 14.04 apparently. Openssl upstream, see http://rt.openssl.org/Ticket/Display.html?id=2732 But I think the person who wrote that launchpad note was mistaken

new python.org mailing list, elections-wg

2015-05-15 Thread Laura Creighton
It is for discussing voting software (currently Helios and Evote) with the end result that the new PSF election Commissioner Ian Cordasco will pick one and use it for the next PSF eÃlection. We're hoping to turn it into a real PSF workgroup. It looks like it is going to be a fairly nerdy place.

Re: Keypress Input

2015-06-03 Thread Laura Creighton
Tkinter runs on raspberry pi. Get it installed, and then run this program. from Tkinter import * root = Tk() prompt = 'Press any key. Remember to keep your mouse in the cyan box. ' lab = Label(root, text=prompt, width=len(prompt), bg='cyan') lab.pack() def key(event): msg = 'event.char is

Re: What use of string module?

2015-06-02 Thread Laura Creighton
In a message of Mon, 01 Jun 2015 19:14:18 -0700, fl writes: Hi, I read the online help about string. It lists string constants, string formatting, template strings and string functions. After reading these, I am still puzzled about how to use the string module. Could you show me a few example

Re: How to inverse a particle emitter

2015-06-05 Thread Laura Creighton
In a message of Thu, 04 Jun 2015 16:15:20 -0700, stephenpprane...@gmail.com wri tes: hey, i really need help, im a straight up beginner in scripting and i need to figure out how to make an inverted particle emitter using python in maya -- https://mail.python.org/mailman/listinfo/python-list You

Re: Detect if specific Python.app instance is already running

2015-06-08 Thread Laura Creighton
I needed to do something like this once. What I needed was a way to send a process a signal, and have it then spit out a huge amount of stats about how long it had been running, how many page faults it had suffered, and, goodness, I forget all the information that was needed. Lots. So I just

Re: Python Random vs. Cython C Rand for Dice Rolls

2015-06-08 Thread Laura Creighton
Better C random number generator. http://www.pcg-random.org/download.html Laura -- https://mail.python.org/mailman/listinfo/python-list

[issue24401] Windows 8.1 install gives DLL required to complete could not run

2015-06-07 Thread Laura Creighton
Laura Creighton added the comment: Definitely 3.3 and 3.4. I asked, got back '3.3 through the latest' so maybe 3.5 was not the latest where he was ... I will go ask again for 3.5 in particular. -- ___ Python tracker rep...@bugs.python.org http

Re: Find in ipython3

2015-06-07 Thread Laura Creighton
In a message of Sun, 07 Jun 2015 12:27:05 +0200, Peter Otten writes: There is no gain to get in standard Python? By switching from fnmatch to re I got almost a speed gain of two. So I was wondering if I could do more. Just wait for Python 3.5. The switch from os.listdir() to the (new)

Re: Function to show time to execute another function

2015-06-07 Thread Laura Creighton
In a message of Sun, 07 Jun 2015 11:16:30 +0100, Mark Lawrence writes: I suggest that you stop asking so many question here. Get your cheque book and go for paid support. Knock this off, please. Some of us dearly like to teach people who want to explore and learn things. Laura --

Re: Keypress Input

2015-06-06 Thread Laura Creighton
In a message of Sat, 06 Jun 2015 18:28:29 +, John McKenzie writes: Laura and Gary, thank you for your replies. I have three physical buttons connected to a Kade device emulating a keyboard. These buttons control an LED light strip. So there is no screen, so a GUI did not cross my mind. I

Re: Find in ipython3

2015-06-06 Thread Laura Creighton
The !find version is C code optimised to do one thing, find files in your directory structure, which happens to be what you want to do. General regular expression matching is harder. Carl Friedrich Bolz investigated regular expression algorithms and their implementation to see if this is the sort

Re: Python.exe has stopped working

2015-06-06 Thread Laura Creighton
In a message of Fri, 05 Jun 2015 11:15:31 +0200, Christian Gollwitzer writes: Am 05.06.15 um 11:03 schrieb Alexis Dubois: Anyone else for an idea on that? Well, it is a crash on exit. Looks like a memory error inside of PyQT. If you've got the time, you could run it inside of a debugger, or

Re: Find in ipython3

2015-06-06 Thread Laura Creighton
In a message of Sat, 06 Jun 2015 15:42:27 -0700, Albert-Jan Roskam via Python-l ist writes: quot;To run any command at the system shell, simply prefix it with !quot; See: https://ipython.org/ipython-doc/dev/interactive/tutorial.html Please don't top post. 2. He knows this. He's doing this for

Re: for...else

2015-06-02 Thread Laura Creighton
In a message of Tue, 02 Jun 2015 19:46:54 +0200, ast writes: Laura Creighton l...@openend.se a écrit dans le message de news:mailman.64.1433255400.13271.python-l...@python.org... You may be looking for dictionary dispatching. You can translate the key into a callable. def do_ping(self, arg

Re: Calling Python Script from an SQL Proceudre

2015-06-03 Thread Laura Creighton
In a message of Wed, 03 Jun 2015 15:17:16 +0530, Amit Goutham writes: Hi All, I am trying to search on the Internet if i can call a Python Script from an SQL Procedure. All the information found on Internet is about connecting to a database from Python through a Python script.But, i want the other

Re: for...else

2015-06-03 Thread Laura Creighton
Are you looking for Knuth's paper Structured Programming with Goto Statements? http://c2.com/cgi/wiki?StructuredProgrammingWithGoToStatements I don't remember a theorem in there, but I haven't read it for decades, so ... Laura -- https://mail.python.org/mailman/listinfo/python-list

Re: enhancement request: make py3 read/write py2 pickle format

2015-06-09 Thread Laura Creighton
In a message of Tue, 09 Jun 2015 14:08:25 -0400, Neal Becker writes: One of the most annoying problems with py2/3 interoperability is that the pickle formats are not compatible. There must be many who, like myself, often use pickle format for data storage. It certainly would be a big help if

Re: Python NBSP DWIM

2015-06-10 Thread Laura Creighton
In a message of Wed, 10 Jun 2015 09:28:24 -0500, Skip Montanaro writes: On Wed, Jun 10, 2015 at 8:28 AM, Tim Chase python.l...@tim.thechases.com wrote: Is this a bug? Looks like it's been reported a few times with slightly different context: https://bugs.python.org/issue6537

Re: Regular Expression

2015-06-04 Thread Laura Creighton
In a message of Thu, 04 Jun 2015 06:36:29 -0700, Palpandi writes: Hi All, This is the case. To split string2 from string1_string2 I am using re.split('_', string1_string2, 1) And you shouldn't be. The 3rd argument, 1 says stop after one match. It is working fine for string string1_string2 and

Re: Everything is an object in python - object class and type class

2015-06-04 Thread Laura Creighton
In a message of Thu, 04 Jun 2015 00:04:04 +0100, BartC writes: Mainly the language itself. But I've also been looking at the workings of CPython. (Also PyPy but obviously I'm not going to get anywhere there, although RPython sounds intriguing.) Why not? We built the thing for people like you

Re: Keypress Input

2015-06-04 Thread Laura Creighton
In a message of Wed, 03 Jun 2015 20:59:04 +0200, Laura Creighton writes: Tkinter runs on raspberry pi. Get it installed, and then run this program. from Tkinter import * root = Tk() prompt = 'Press any key. Remember to keep your mouse in the cyan box. ' lab = Label(root, text=prompt, width=len

Re: Want to readout the control file of aria2.

2015-06-09 Thread Laura Creighton
No promises -- I never used this myself, but it looks like: https://github.com/killuahzl/pyaria2 parses pyaria files for its own purposes, so you could steal code from there. Laura -- https://mail.python.org/mailman/listinfo/python-list

[issue24401] Windows 8.1 install gives DLL required to complete could not run

2015-06-07 Thread Laura Creighton
New submission from Laura Creighton: Another report from webmaster. (I still don't have a windows machine). Somebody tried to install 3.3, 3.4 or 3.5 and got this error. I asked them to try the Activestate installer. That worked. Thus Activestate knows to include something that users

Re: Find in ipython3

2015-06-07 Thread Laura Creighton
In a message of Sun, 07 Jun 2015 08:20:46 +0200, Cecil Westerhof writes: You may get faster results if you use Matthew Barnett's replacement for re here: https://pypi.python.org/pypi/regex You will get faster results if you build your IPython shell to use PyPy, but I would still be very

Re: Embedded Python and C Callback functions

2015-06-07 Thread Laura Creighton
In a message of Sun, 07 Jun 2015 01:56:47 -0700, doc.mefi...@gmail.com writes: And I can't use Cython, because I have C++ module, and I have to use it. -- https://mail.python.org/mailman/listinfo/python-list Are you using Boost? http://www.boost.org/doc/libs/1_58_0/libs/python/doc/ It handles

Re: MGCP Server implementation

2015-06-23 Thread Laura Creighton
In a message of Mon, 22 Jun 2015 20:42:21 -, Devaki Chokshi (dchokshi) wr ites: Hello, I have a use case where a SIP voice call will be passing through an MGCP gateway. Is there a python implementation that simulates MGCP gateway/server? Thank you Devaki Chokshi --

Re: No ‘from __future__ import print_function’ in latest jython

2015-06-21 Thread Laura Creighton
In a message of Sun, 21 Jun 2015 12:21:03 +0200, Cecil Westerhof writes: On Sunday 21 Jun 2015 11:05 CEST, Laura Creighton wrote: Do you have Jython 2.7 released a few weeks ago? Yes, but I was dumb enough to start the old version when I did this. :-( There is still one problem

Re: HOPE: A Python just-in-time compiler for astrophysical computations

2015-06-21 Thread Laura Creighton
In a message of Sun, 21 Jun 2015 10:29:32 +0100, BartC writes: It also puts in a good dig at PyPy by including one benchmark where it is 6 times as slow as CPython! It's not clear why it's particularly useful for astrophysics. -- Bartc It's not that good a dig, as they say that it took less

Re: Do I need license to release the Python version of old BASIC games?

2015-06-21 Thread Laura Creighton
In a message of Sun, 21 Jun 2015 12:32:46 -0700, C.D. Reimer writes: Do I need to release my scripts under a license? If so, which one? You should, because if you don't you could pop up some day and assert copyright and sue the hell out of people who use your code, which means that many people

Re: Working with jython in openSUSE 13.2

2015-06-20 Thread Laura Creighton
In a message of Sat, 20 Jun 2015 12:58:33 +0200, Cecil Westerhof writes: I installed Jython in openSUSE 13.2. But when calling jython I get: /usr/bin/build-classpath: error: JAVA_LIBDIR must be set Error: Could not find or load main class org.python.util.jython Does anyone have an idea

Re: Do I need license to release the Python version of old BASIC games?

2015-06-22 Thread Laura Creighton
In a message of Sun, 21 Jun 2015 22:23:54 -0600, Michael Torrie writes: From some brief research, it appears there is some question about the ability to declare something to be in the public domain, but it is by no means a sure thing and lots of people feel it's just fine to declare something to

Re: Windows install error

2015-06-25 Thread Laura Creighton
In a message of Thu, 25 Jun 2015 11:58:09 +0100, Mark Lawrence writes: On 24/06/2015 16:56, Knss Teja via Python-list wrote: I WANT TO install 4.3 version ... but the MSI file is giving a DLL error .. what should I do :/ please use REPLY ALL .. so that I get the mail to my gmail inbox I'll

Re: Opening PDF Using subprocess.Popen Failing

2015-06-22 Thread Laura Creighton
I think that your problem is that you have Protected Mode enabled. If you do, you either have to disable that, or write a policy config file. https://www.adobe.com/devnet-docs/acrobatetk/tools/AppSec/protectedmode.html says. From: Policy configuration Protected mode prevents a number of actions

Re: Simplest/Idiomatic way to count files in a directory (using pathlib)

2015-06-23 Thread Laura Creighton
I use len(list(self.path.iterdir())) You get an extra list created in there. Do you care? Laura -- https://mail.python.org/mailman/listinfo/python-list

Re: Pure Python Data Mangling or Encrypting

2015-06-27 Thread Laura Creighton
Johannes, if you don't know Yes, Minister then you most likely do not know the Politician's Syllogism (which now has its own wikipedia page :) And I _didn't_ do it! Honest!) Something must be done. This is something. Therefore we must do it! :) Unfortunatetely, the Politician's Syllogism is

Re: Pure Python Data Mangling or Encrypting

2015-06-27 Thread Laura Creighton
In a message of Sat, 27 Jun 2015 15:23:07 +0300, Jussi Piitulainen writes: Laura Creighton writes: Johannes, if you don't know Yes, Minister then you most likely do not know the Politician's Syllogism (which now has its own wikipedia page :) And I _didn't_ do it! Honest!) Something must

Re: Pure Python Data Mangling or Encrypting

2015-06-27 Thread Laura Creighton
In a message of Sat, 27 Jun 2015 20:16:47 +1000, Chris Angelico writes: Okay, Johannes, NOW you're proving that you don't have a clue what you're talking about. D-K effect doesn't go away... ChrisA You need to read the paper again. That was the whole point -- when Kruger and Dunning went and

Re: Opening PDF Using subprocess.Popen Failing

2015-06-19 Thread Laura Creighton
In a message of Fri, 19 Jun 2015 10:24:56 -0700, Naftali writes: It actually doesn't fail but it 'cannot open in protected mode' (see here http://blogs.adobe.com/dmcmahon/2012/07/27/adobe-reader-cannot-open-protected-mode-due-to-a-problem-with-your-system-configuration/) I am using

Re: Classic OOP in Python

2015-06-21 Thread Laura Creighton
Ah, turns out there was an entry. I updated it. Laura -- https://mail.python.org/mailman/listinfo/python-list

Re: Documenting a function signature (was: Set a flag on the function or a global?)

2015-06-18 Thread Laura Creighton
In a message of Thu, 18 Jun 2015 10:04:46 +1000, Ben Finney writes: Since the introduction of keyword-only arguments in Python functions, the question arises of how to communicate this in documentation. I suppose it is way too late to scream I hate keyword-only arguments! The lone asterisk

Re: Posting gzip'd image file - server says Malformed Upload?

2015-06-18 Thread Laura Creighton
I got to this party late. One way to get the malformed upload message is is you gzip something that already is gzipped, and send that up the pipe. worth checking. Laura -- https://mail.python.org/mailman/listinfo/python-list

Re: Hotspot Locater

2015-06-18 Thread Laura Creighton
yes. wifi https://wifi.readthedocs.org/en/latest/ see this answer, not raspberry pi specific http://stackoverflow.com/questions/20470626/python-script-for-raspberrypi-to-connect-wifi-automatically but is linux specific, what OS do you need? Laura --

Re: help in understanding the stackless code

2015-06-18 Thread Laura Creighton
You need to send your message over here. http://www.stackless.com/mailman/listinfo/stackless I think I know the answer, from my work in duplicating stackless for greenlets in pypy. But that's the answer in theory. In practice, you need real stackless users. Laura --

Re: Classic OOP in Python

2015-06-18 Thread Laura Creighton
In a message of Thu, 18 Jun 2015 11:50:28 +0100, Mark Lawrence writes: Throw in http://clonedigger.sourceforge.net/ as well and you've a really awesome combination. Mark Lawrence I didn't know about that one. Hey thank you, Mark. Looks great. It needs its own entry in

Re: Jython and can't write cache file

2015-06-21 Thread Laura Creighton
In a message of Sun, 21 Jun 2015 09:53:23 +0200, Cecil Westerhof writes: On openSUSE there is a very old version of Jython installed (2.2.1), so I installed the latest version (2.7.0). But when starting this I get: *sys-package-mgr*: can't write cache file for

Re: No ‘from __future__ import print_function’ in latest jython

2015-06-21 Thread Laura Creighton
Do you have Jython 2.7 released a few weeks ago? Laura -- https://mail.python.org/mailman/listinfo/python-list

Re: Lawful != Mutable (was Can Python function return multiple data?)

2015-06-21 Thread Laura Creighton
In a message of Sat, 20 Jun 2015 19:50:21 -0700, Rustom Mody writes: Here is Eric Snow: | Keep in mind that by immutability I'm talking about *really* | immutable, perhaps going so far as treating the full memory space | associated with an object as frozen. For instance, we'd have to | ensure

Re: How to check in script if Python or Jython is used

2015-06-21 Thread Laura Creighton
In a message of Sun, 21 Jun 2015 10:12:06 +0200, Cecil Westerhof writes: I installed Jython and will start playing with it. There probably will be differences between Python and Jython. Is there a way to determine if a script is run by Python or Jython? Then different execution paths could be

Re: Using Jython for Android development?

2015-06-21 Thread Laura Creighton
In a message of Sun, 21 Jun 2015 10:14:15 +0200, Cecil Westerhof writes: I have no experience yet with Jython or Android development. But I was wondering: would it be possible to write applications for Android with Jython? You normally use Java for it, but I think I would like Jython more. :-D --

Re: New Python student needs help with execution

2015-06-11 Thread Laura Creighton
In a message of Wed, 10 Jun 2015 21:50:54 -0700, c me writes: I installed 2.7.9 on a Win8.1 machine. The Coursera instructor did a simple install then executed Python from a file in which he'd put a simple hello world script. My similar documents folder cannot see the python executable. How

Re: How to find number of whole weeks between dates?

2015-06-10 Thread Laura Creighton
In a message of Wed, 10 Jun 2015 20:38:59 +0300, Marko Rauhamaa writes: Divide the number by 7 and you have your answer. I am not sure that is what he wants -- If he gives us a start of Tuesday the 9th of June 2015 (yesterday) and an end of Thursday the 25th of June, that's 16 days. But there

Re: python financial data cleaning

2015-06-15 Thread Laura Creighton
I don't know anything about this program, and in particular how complete it is, but worth a look https://github.com/benjaminmgross/clean-fin-data Laura -- https://mail.python.org/mailman/listinfo/python-list

Re: Creating .exe file in Python

2015-06-15 Thread Laura Creighton
In a message of Mon, 15 Jun 2015 04:42:09 -0700, subhabrata.bane...@gmail.com w rites: Dear Group, I am trying to learn how to create .exe file for Python. I tried to work around http://www.py2exe.org/index.cgi/Tutorial of Py2exe. The sample program went nice. But if I try to make exe for

Re: Creating .exe file in Python

2015-06-16 Thread Laura Creighton
In a message of Tue, 16 Jun 2015 06:56:12 -0700, subhabrata.bane...@gmail.com w rites: ii) In a class how may I include if __name__ == __main__: with multiple methods? But I think this is easy question there should be lot of web help. If anyone may kindly suggest. Regards, Subhabrata Banerjee.

Re: Creating .exe file in Python

2015-06-15 Thread Laura Creighton
In a message of Mon, 15 Jun 2015 06:42:48 -0700, subhabrata.bane...@gmail.com w I wrote a script as NLQ3. py the code is written as, import nltk import itertools def nlq3(n): inp=raw_input(Print Your Query:) tag=nltk.pos_tag(nltk.wordpunct_tokenize(inp)) print The Tagged Value

Re: Is there a utility to tally function calls from other files?

2015-06-14 Thread Laura Creighton
In a message of 14 Jun 2015 02:53:15 +, Steven D'Aprano writes: Well, yes, but since IDLE already contains that script, why not just use IDLE? I don't know any way to tell Idle to run in the background, generate this result, and hand it to me as a list, or a csv or whatever. Have I been

Re: Is there a utility to tally function calls from other files?

2015-06-13 Thread Laura Creighton
In a message of 14 Jun 2015 01:59:10 +, Steven D'Aprano writes: On Sat, 13 Jun 2015 14:09:48 -0700, C.D. Reimer wrote: On 6/13/2015 1:59 PM, Laura Creighton wrote: Idle is written in pure python. Steal from: https://hg.python.org/cpython/file/74d182cf0187/Lib/idlelib/ GrepDialog.py

  1   2   3   4   5   6   7   >