On 09/12/2013 09:02 PM, Michael Torrie wrote:
> In any event I think you should give both Glade-3 and Qt Designer a
> serious look. I think your hate of gui designers is about 10 years out
> of date now, even if you still prefer not to use them.
This is a bit old but still how Qt wor
On 09/12/2013 09:39 PM, Peter wrote:
> I stuck with Tkinter combined with PMW for a very long time, but the
> lack of extra widgets finally drove me to look elsewhere.
>
> I tried PyQT but didn't have a good experience. I can't remember
> details, but things just seemed to have little "gotchas" -
On 09/13/2013 12:23 PM, eamonn...@gmail.com wrote:
> On Friday, September 13, 2013 4:02:42 AM UTC+1, Michael Torrie
> wrote:
>> On 09/12/2013 10:03 AM, eamonn...@gmail.com wrote: I think your
>> hate of gui designers is about 10 years out of date now, even if
>> you stil
On 09/16/2013 07:43 AM, Arturo B wrote:
> It uses a list comprenhension to generate the Latin Square, I'm am a newbie
> to Python, and I've tried to figure out how this is evaluated:
>
> a = [1, 2, 3, 4]
> n = len(a)
> [[a[i - j] for i in range(n)] for j in range(n)]
>
> I don't und
On 09/17/2013 10:19 AM, Benjamin Kaplan wrote:
> Sure. Every platform provides its own GUI library (Cocoa on Mac OS X,
> Win32 on Windows). Other programs that want to hook into yours, such
> as screen readers, are familiar with the platform's native GUI
> elements- it knows what a Win32 combo box
On 09/20/2013 12:34 PM, Metallicow wrote:
> I prefer wx over qt for these reasons. Robin works for qt now. *Funny
> isn't it...* Basically, To change qt(PySide) you need to pretty much
> need to be employed by qt, not the case with wx(is not a *For
> profit*, but you can donate.). In my opinion, in
On 09/20/2013 01:58 PM, Metallicow wrote:
> Sorry about that, nokia is/was. qt was developed(IIRC) for phones.
> Someone made money. And a lot of it. wx is a more or less a "free"
> project. I don't use a phone anymore. If I had a touch screen phone
> and was a developer, I still wouldn't use one.
On 09/20/2013 12:30 PM, bingefel...@gmail.com wrote:
> Hi folks,
>
> I'm trying to run a program called Nicotine+ on my Mac which is running
> 10.8.5. Nicotine+ requires GTK2, pyGTK2 and Python to run. I believe I have
> all of these installed via Macports (please see here -
> http://pastebin.c
On 10/01/2013 08:40 PM, Steven D'Aprano wrote:
> On Tue, 01 Oct 2013 22:02:36 -0400, Joel Goldstick wrote:
>
>> On Tue, Oct 1, 2013 at 9:52 PM, Steven D'Aprano <
>> steve+comp.lang.pyt...@pearwood.info> wrote:
>>
>>> Joel, you've been asked repeatedly to please stop posting HTML.
> [...]
>
>> > c
On 10/22/2013 12:28 PM, Mark Janssen wrote:
> Thank you. You may be seated.
Ranting Rick, is that you?
--
https://mail.python.org/mailman/listinfo/python-list
On 10/30/2013 10:08 AM, wxjmfa...@gmail.com wrote:
> My comment had nothing to do with Python, it was a
> general comment. A diacritical mark just makes a letter
> a different letter; a "ï " and a "i" are "as
> diferent" as a "a" from a "z". A diacritical mark
> is more than a simple ornementation.
On 10/31/2013 07:45 PM, Mark Lawrence wrote:
> Quite often I type this
>
> print('Total of accounts %.2f', total)
>
> when I meant to type this
>
> print('Total of accounts %.2f' % total)
>
> Do I have to raise a PEP to get this stupid language changed so that it
> dynamically recognises what
On 10/31/2013 08:56 PM, Mark Lawrence wrote:
> On 01/11/2013 02:41, Michael Torrie wrote:
>> On 10/31/2013 07:45 PM, Mark Lawrence wrote:
>>> Quite often I type this
>>>
>>> print('Total of accounts %.2f', total)
>>>
>>> when I m
On 11/03/2013 12:09 AM, Mark Janssen wrote:
>>> Congratulations Jonas. My kill file for this list used to have only one
>>> name, but now has 2.
>>
>> You have more patience than I! Jonas just made mine seven. :)
>
> Gosh, don't kill the guy. It's not an obvious thing to hardly anyone
> but co
On 02/28/2015 04:12 PM, y...@zioup.com wrote:
> For some scripts, I write in a a more functional way, using a lot of small
> functions outside of any class. Although it makes the code clearer for
> specific cases, I have found that it makes debugging and using the repl in
> general difficult, as as
On 02/28/2015 09:29 PM, y...@zioup.com wrote:
>> Problem 4:
>> You speak of a singleton. But you haven't implemented one. It is not
>> clear from your code if this class should be a singleton. I'm guessing
>> not. Singletons are in fact rare. Well, let me put it another way:
>> Good reasons to code
On 02/28/2015 09:11 PM, y...@zioup.com wrote:
> On 2015-02-28 19:19, Michael Torrie wrote:
>> You say you are trying to use a singleton pattern, but your code does
>> not appear to implement a singleton. From what I can read of your code,
>
> I call it a singletone becaus
On 03/01/2015 09:58 AM, Marko Rauhamaa wrote:
> Well, every nonnative strives for the standard Hollywoodese and does a
> decent job at that. But when I hear a Brit speak their native tongue, I
> just "smile and wave, smile and wave" because I usually have little idea
> what they are trying to expla
On 03/02/2015 03:19 AM, Fabien wrote:
> On 01.03.2015 06:05, Michael Torrie wrote:
>> A module*is* a singleton pattern, particularly one
>> that maintains state. I use sometimes use this feature for sharing
>> config and other data between other modules (global state
On 03/09/2015 05:47 PM, Steven D'Aprano wrote:
> Michael Parchet wrote:
>
>> Hello,
>>
>> For a new project, a person recommande me to use Python 3
>>
>> can I use Python 3 with a Python 2 y module ex : pyQt 4 ?
>
> Maybe.
>
> If the module is really only Python 2, then no. If it is pure-Python,
On 03/11/2015 03:28 AM, Michael Parchet wrote:
> The pyside project is ded.
Why do you say PySide is dead?
> Dose pyqt4 support Python 3 ?
> Thanks for your answer
> Best regards
> mparchet
Riverbank Computing has a web page that I'm sure has information on
their PyQt product. (Yes PyQt is a co
On 03/11/2015 04:54 AM, Steven D'Aprano wrote:
>> Dose pyqt4 support Python 3 ?
>
> I can only repeat what I already wrote a few days ago:
>
> For PyQt specifically, googling suggests that PyQt does work with Python
> 3, but the documentation is out of date and you may have difficulty
> installin
On 03/11/2015 01:29 PM, Chris Warrick wrote:
> On Wed, Mar 11, 2015 at 8:20 PM, Michael Torrie wrote:
>> My biggest complaint with PySide is that for historical reasons (looking
>> at you, PyQt), it does not use pep8 naming conventions, which makes for
>> some really ugl
On 03/11/2015 11:30 AM, Michael Parchet wrote:
> Hello,
>
> Only one file of pyside project has update at 10 fob,
>
> What's your opinion
>
> Pyside is ded ?
Qt 4 is very stable, with no new features. PySide works very well for
me, and the few bugs/limitations that I know of can be worked arou
On 03/12/2015 09:17 PM, Steven D'Aprano wrote:
> Ben Finney wrote:
>> Also worth watching is Kallithea, a new federated code hosting service
>> https://kallithea-scm.org/>. It supports Mercurial and Git for VCS,
>> code review, and integrates with existing issue trackers. Because it's
>> federated,
On 03/16/2015 03:13 AM, INADA Naoki wrote:
> I think application developers should use *only* Python 3 from this year.
> If we start moving, more library developers will be able to start
> writing Python 3 only code from next year.
An admirable sentiment, but I'm currently running the latest RHEL
Since Python 3's adoption is directly impacted by package managers and
curated repos (or lack thereof), I feel justified in continuing this
thread just a bit farther.
On 03/16/2015 04:02 PM, Chris Angelico wrote:
> It most assuredly does NOT suck for end users. Apart from issues of
> naming (grab
On 03/16/2015 07:57 PM, Chris Angelico wrote:
> But the solution isn't necessarily to throw out the packaging system.
> All you need is to expand it.
Yes. And of course that's exactly what Poettering is talking about in
his paper. Despite what many think of him, he's a deep thinker and it's
wor
On 03/16/2015 02:36 PM, Steven D'Aprano wrote:
> I'm sorry, that makes no sense to me. What does it matter whether Python3 is
> installed to /opt or /usr or /bin or /who/the/feck/cares, so long as your
> application runs when you run it? It's just another dependency, and no more
> than one call to
On 03/16/2015 08:40 PM, Ben Finney wrote:
> Thanks again. This is an important and difficult problem, with competing
> forces at play, and I am not at all satisfied with the current state of
> packaging.
I agree. Though I like the concept of package managers and curated
repos, compared to the dis
On 03/16/2015 09:01 PM, Mark Lawrence wrote:
> Reading this makes me realise how lucky I am not having to worry about
> such issues.
How so?
--
https://mail.python.org/mailman/listinfo/python-list
On 03/16/2015 08:45 PM, Paul Rubin wrote:
> Chris Angelico writes:
>> On Tue, Mar 17, 2015 at 12:46 PM, Michael Torrie wrote:
>>> But after 20 years, the package manager idea certain has revealed many
>>> shortcomings (in short, it sucks in many ways). ...
>> The
On 03/16/2015 09:09 PM, Rustom Mody wrote:
> OTOH many large-scale systems have sprouted their own packaging-systems
And indeed PIP and CPAN are both forms of package managers to fit the
special needs of those languages' developers. Sometimes that works well
with the OS package manager, sometimes
On 03/16/2015 09:04 PM, Mario Figueiredo wrote:
> Are you saying this is a problem for any developer? Especially
> considering this is a one-time operation...
>
> Or maybe you mean lazy developers. But lazy developers are an edge
> case not worth being catered for.
I guess I'm saying the package
On 03/17/2015 02:39 AM, Steven D'Aprano wrote:
> On Tuesday 17 March 2015 12:46, Michael Torrie wrote:
>
>> Python3 can be installed from Software Collections (and that is somewhat
>> reasonable), but it won't integrate by default, so you can't use
>> #!/
On 03/16/2015 10:13 AM, Dave Farrance wrote:
> So am I understanding this correctly: If I use this include line:
>
> "from gi.repository import Gtk, Gdk, GObject, Pango" etc...
>
> ... I get, in effect, the libraries used in Gnome-3 even with python2?
> Whatever "gi.repository" is? It's a bit h
On 03/19/2015 04:16 PM, John Nagle wrote:
> On 3/16/2015 6:46 PM, Michael Torrie wrote:
>> Since Python 3's adoption is directly impacted by package managers and
>> curated repos (or lack thereof), I feel justified in continuing this
>> thread just a bit farther.
>
&
On 03/20/2015 12:10 PM, Grant Edwards wrote:
> On 2015-03-20, Grant Edwards wrote:
>
>> I need to automate operation of a Windows application.
>
> I should have mentioned that I've found and am going to experiment
> a bit with pywinauto-0.4.0, but if there is anything else I should
> look at, su
On 03/24/2015 01:05 AM, jeffreyciross wrote:
> probable spam
I'm wondering whether this is appropriate use of sourceforge. Hosting a
proprietary program on SF's web site for free, doesn't seem honest to
me. Should I report this to SF as inappropriate content?
--
https://mail.python.org/mailman
On 03/24/2015 08:27 AM, Mark Lawrence wrote:
> On 24/03/2015 14:23, Michael Torrie wrote:
>> Should I report this to SF as inappropriate content?
>
> Yes.
Done.
And yes I agree with alister, Calibre is an amazing program and it's all
100% python! And a large-scale app at th
On 03/29/2015 04:20 AM, Robert Kern wrote:
> On 2015-03-25 15:45, π wrote:
>> Hello Python people,
>>
>> I've made a C++ wrapper for Python.
>> I've called it PiCxx and put it up here: https://github.com/p-i-/PiCxx
>
> Please consider using a recognized open source license. Your project looks
> i
On 03/29/2015 04:58 PM, Ben Finney wrote:
> You have provided none for your assertion that an unmaintained
> third-party library is somehow a special failure of Python 3.
A language is only as good as its libraries, either the standard library
that ships with the language, or third-party libraries
On 04/04/2015 09:56 AM, pankaj sharma wrote:
> I'm a Linux system administrator and my work requires me to write
> bash scripts (100-500 lines) for process monitoring, server health
> check and automate some manual processes. Now I've started to learn
> python as I want to write scripts in python r
On 04/06/2015 09:29 PM, Sepi Gh wrote:
>> I got the answer! Just using python 3 instead of python in the command line
>
> But I get this error now: File
> "/Users//Library/Python/3.3/lib/python/site-packages/wx_py/PyWrap.py", line 27
> print "Please specify a module name."
>
On 04/16/2015 08:52 AM, Blake McBride wrote:
> Thanks for all the responses. I especially like the Pike pointer.
> To be clear:
>
> 1. I don't think languages should depend on invisible elements to
> determine logic.
>
> 2. Having been an employer, it is difficult to force programmers to
> use
On 04/17/2015 11:05 AM, BartC wrote:
> He wanted to know if there was a simple syntax wrapper for it. That
> seems reasonable enough.
>
> (Actually *I* would quite like to know why languages don't have
> switchable syntax anyway to allow for people's personal preferences.)
There was a version o
On 04/18/2015 01:00 AM, Marko Rauhamaa wrote:
> Ben Finney :
>
>> If you only write programs that will only ever be read by you and
>> no-one else, feel free to maintain a fork of Python (or any other
>> language) that suits your personal preferences.
>
> It would be possible to define a canonica
On 04/21/2015 09:31 PM, Ganesh Pal wrote:
> Iam not able to understand what why only 10 loops were run ? what
> does this mean and how does this work ?
I have a hunch you're mistakenly thinking that Python is only running
through ten iterations of your for i in range(100) loop. This is
not
On 04/24/2015 01:31 AM, Mark Lawrence wrote:
> On 16/04/2015 15:52, Blake McBride wrote:
>> So, Python may be a cute language for you to use as an individual, but it
>> is unwieldy in a real development environment.
>>
>
> First paragraph from
> http://www.talkpythontome.com/episodes/show/4/ent
On 04/29/2015 12:16 AM, Cecil Westerhof wrote:
>> Prefix those names with a single leading underscore, which is the
>> convention for private variables.
>
> Done.
>
>> This way, if some user (maybe you! ;) has a good reason to change
>> those values in can be done, but it is quite clear that said
On 04/30/2015 01:07 AM, Cecil Westerhof wrote:
> When I do that the computer is freezed a few times. That is a little
> less nice. Does not happen with Clojure when it gets an out of memory.
A system freeze is probably due to thrashing by your operating system as
a process (in this case Python) us
On 04/30/2015 10:19 PM, Cecil Westerhof wrote:
>> I must also confess to being highly impressed, it's a breath of
>> fresh air having an apprentice Pythonista who is looking at doing
>> things the Pythonic way :)
>
> When in Rome, do as the Romans do.
>
> Besides: there probably is a reason for t
On 05/02/2015 04:33 PM, BartC wrote:
> OK, so it's just an irritation then, as a workaround has been available
> for a long time. (For example, if you use xrange, it won't work on 3.x.
> If you use range, then it might be inefficient on 2.x.)
In both Python 2.7 and 3.3+, you can use the 3rd-part
On 05/05/2015 03:28 AM, Sayth Renshaw wrote:
> Hi
>
> Just checking if the reaction to cry when given XML is normal.
I'd say it is normal. XML is like violence. If it doesn't solve your
problems, you're not using enough of it[1].
[1] Can anyone tell me who originated this line?
--
https://mai
On 05/09/2015 03:04 PM, vjp2...@at.biostrategist.dot.dot.com wrote:
> Thanks.. I suspected it wasn't meant to be taken as in the file
>
> THe one thing I'm not sure if Jython is suppsosedto keep running
> after the initisl stuff is loaded in..
>
>
> To put the question in purely DOS terms if you
On 05/11/2015 08:04 PM, Steven D'Aprano wrote:
> On Tue, 12 May 2015 05:01 am, beliav...@aol.com wrote:
>
>> Yale has taken the unusual step of outsourcing its introductory CS class
>> to Harvard, which uses C as the main language in its CS50 class.
>
> And another generation of new programmers w
On 05/22/2015 05:00 PM, Paul Rubin wrote:
> Steven D'Aprano writes:
>> the impression I get after a couple of hours is that Javascript tries
>> really hard to do everything it can for you except what you actually want.
>
> Javascript is like C++ in that it's a lot of layers of legacy cruft, but
>
On 05/22/2015 07:54 PM, Terry Reedy wrote:
> On 5/22/2015 5:40 PM, Tim Daneliuk wrote:
>
>> Lo these many years ago, I argued that Python is a whole lot more than
>> a programming language:
>>
>> https://www.tundraware.com/TechnicalNotes/Python-Is-Middleware/
>
> Perhaps something at tundrawa
On 05/22/2015 10:10 PM, Ian Kelly wrote:
> On Fri, May 22, 2015 at 9:31 PM, Michael Torrie wrote:
>> On 05/22/2015 07:54 PM, Terry Reedy wrote:
>>> On 5/22/2015 5:40 PM, Tim Daneliuk wrote:
>>>
>>>> Lo these many years ago, I argued that Python is a whole lo
On 05/23/2015 05:40 AM, Chris Angelico wrote:
> On Sat, May 23, 2015 at 9:34 PM, Tim Chase
> wrote:
>> A self-signed certificate may be of minimal worth the *first* time you
>> visit a site, but if you return to the site, that initial
>> certificate's signature can be used to confirm that you're t
On 05/23/2015 06:44 AM, Marko Rauhamaa wrote:
> Johannes Bauer :
>
>> I dislike CAs as much as the next guy. But the problem of distributing
>> trust is just not easy to solve, a TTP is a way out. Do you have an
>> alternative that does not at the same time to providing a solution
>> also opens up
On 05/26/2015 08:57 AM, zipher wrote:
> Comprende? I'm not trying to be cryptic here. This is a bit of OOP
> theory to be discussed.
No, sorry. Maybe an actual example (with use case) would spur discussion.
--
https://mail.python.org/mailman/listinfo/python-list
On 05/28/2015 03:58 PM, sohcahto...@gmail.com wrote:
> I think the logic you're really looking for is:
>
> return BotWaitForCooldown or (not (BotWaitForCooldown or CooldownDetected))
Yes this is the simplest form. For more complicated truth tables you
can create a K map and then apply a reductio
On 05/28/2015 05:03 PM, Grant Edwards wrote:
> On 2015-05-28, Grant Edwards wrote:
>> On 2015-05-28, Michael Torrie wrote:
>>> On 05/28/2015 03:58 PM, sohcahto...@gmail.com wrote:
>>>> I think the logic you're really looking for is:
>>>>
>>>
On 06/01/2015 06:29 PM, Skybuck Flying wrote:
> The parser should be able to parse a textfile of somewhere between 20.000
> lines to 50.000 lines in about 1 to 2 seconds.
>
> My environment is SikuliX 1.1
I don't have any inclination to examine your input files, but you could
certainly mock up a
On 06/01/2015 07:19 PM, Skybuck Flying wrote:
> How hard would it be to encode that into pyparser ?
Check out the docs and you probably will get an idea. The only real way
to find out is to try it.
Is this file from a certain program? If so, it's possible someone has
already written a python li
On 06/03/2015 10:00 AM, BartC wrote:
> The others all give True in all cases. It seems that older Python
> versions have a purer object model.
No. It's just an under-the-hood optimization that the interpreter is
making. It's an implementation detail that you should never rely on.
It says nothin
On 06/03/2015 04:28 PM, sohcahto...@gmail.com wrote:
>
> People actually argue that Python passes by value? This is easily
> proven wrong by passing a mutable object to a function and changing
> it within the function.
Sure but if you reassign the variable that was passed it, it has no
effect w
On 06/04/2015 11:14 AM, Steven D'Aprano wrote:
> On Fri, 5 Jun 2015 03:02 am, Skybuck Flying wrote:
>
>> Yeah... my first nice parser for this kind of stuff...
>>
>> Python is really nice for this stuff...
>>
>> Piece a cake.. now I just need to stuff it in some dictionary and I am
>> done or so ;
On 06/04/2015 11:26 AM, random...@fastmail.us wrote:
> Of course, in CPython, the type of an object reference is PyObject *.
> Which isn't invisible, unknown, or unknowable, either.
>
> If the value really were 23, the "is vs ==" problem wouldn't exist.
Surely two objects can hold the same value,
On 06/02/2015 10:13 AM, Cecil Westerhof wrote:
> I am thinking about using ipython3 instead of bash. When I want to
> find a file I can do the following:
> !find ~ -iname '*python*.pdf'
> but is there a python way?
No more than there is a bash-native way of doing find. Bash scripts use
a myri
On 06/04/2015 09:12 AM, Cecil Westerhof wrote:
>> Can't IPython just call the find and du utilities?
>
> That is what
> !find ~ -iname '*python*.pdf'
> does. But I do not find that aesthetically.
Like I said, I find ipython to be hackish, but invoking find this way is
no more hackish than wri
On 06/04/2015 05:47 PM, stephenpprane...@gmail.com wrote:
> On Thursday, June 4, 2015 at 4:15:29 PM UTC-7, stephenp...@gmail.com wrote:
>> 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
>
>
On 06/04/2015 05:04 PM, Cameron Simpson wrote:
> On 04Jun2015 13:09, Michael Torrie wrote:
>> Why not use Python for what it's good for and say pipe the results of
>> find into your python script? Reinventing find poorly isn't going to
>> buy you anything.
>
On 06/06/2015 12:28 PM, John McKenzie wrote:
>
> 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 thought it made s
On 06/09/2015 06:20 AM, Skybuck Flying wrote:
> Euhm...
>
> My parser is already done... since today
>
> Loving it too
>
> Wrote it myself... based on the c# code technique explained somewhere in
> this thread too
I'm glad you're having fun, and making good progress. And it's good to
hear of
On 06/10/2015 02:11 PM, Sebastian M Cheung via Python-list wrote:
> On Wednesday, June 10, 2015 at 6:06:09 PM UTC+1, Sebastian M Cheung wrote:
>> Say in 2014 April to May whole weeks would be 7th, 14th 28th April and May
>> would be 5th, 12th and 19th. So expecting 7 whole weeks in total
>
> Wha
On 06/11/2015 05:19 AM, Skybuck Flying wrote:
> I haven't written much OO code yet in Python... and don't plan on doing it
> too...
Except that you already have written OO code in Python with your parser.
Or at least code that interacts heavily with OO. Anytime you call a
method on a string lik
On 06/12/2015 05:36 AM, Sebastian M Cheung via Python-list wrote:
> Are these available? Any good ones to recommend?
The only use case for such a program that I can think of is a compiler
that is just using another language as an intermediate step, and that
language is usually going to be compiled
On 06/12/2015 04:20 PM, Seymore4Head wrote:
> Is there a program what runs on Windows that uses a national blacklist
> to block phone calls?
I'm sure you could install and use the Asterisk PBX software, and I bet
people have made scripts for it to block calls in this way. You'll need
to take your
On 06/12/2015 04:20 PM, Seymore4Head wrote:
> Is there a program what runs on Windows that uses a national blacklist
> to block phone calls?
You could port your number into Google Voice and then forward that to
your cell phone or land line. You can screen all calls if you want
(direct them to voi
On 06/13/2015 08:42 AM, alister wrote:
> On Fri, 12 Jun 2015 19:47:18 -0600, Michael Torrie wrote:
>
>> On 06/12/2015 04:20 PM, Seymore4Head wrote:
>>> Is there a program what runs on Windows that uses a national blacklist
>>> to block phone calls?
>>
>&
On 06/15/2015 06:20 PM, Ben Finney wrote:
> I'm surprised by your assertion. To my mind, outside callers get simple
> and direct access to the attribute, whereas the code of the function
> itself does not have such easy access; unlike ‘self’ for the current
> instance of a class, there's no obvious
On 06/15/2015 06:19 PM, Ethan Furman wrote:
> Setting a global on the module (which I may not have, and probably
> didn't, import) for only one function is overkill.
What do you mean? Even if you pull in just one function from the
module on an import, the module's initialization code still runs.
On 06/14/2015 11:23 PM, John McKenzie wrote:
> Thank to the others who joined in and posted replies.
>
> Michael, your assumption is correct. To quote my original post, "and I
> want this working on a Raspberry Pi." Doing a superficial look at curses
> and getch it looks excessively complicate
On 06/16/2015 02:49 PM, Grant Edwards wrote:
> On 2015-06-16, John McKenzie wrote:
>
>> It never occurred to me something so simple as keystrokes would not
>> be present in Python, a language rated as being terrific by everyone
>> I know who knows it.
>
> Ah, but in reality "keystrokes" is not s
On 06/16/2015 07:55 PM, Dr. John Q. Hacker wrote:
> Interesting. This brings up an issue another poster brought up: In my
> usage of the term "parent", I use it to mean the class that is a product of
> object composition:
>
> class Parent(child1, child2): pass
Hmm. This is a definition of "par
On 06/17/2015 09:42 AM, Steven D'Aprano wrote:
> On Thu, 18 Jun 2015 12:26 am, Ned Batchelder wrote:
>
>> On Wednesday, June 17, 2015 at 7:52:05 AM UTC-4, Steven D'Aprano wrote:
>
>>> At the moment, I'm still willing to give Dr Hacker the benefit of the
>>> doubt re the sockpuppet suspicion.
>>
>
On 06/16/2015 12:19 PM, Chris Warrick wrote:
> On Tue, Jun 16, 2015 at 8:14 PM, Néstor Boscán wrote:
>> I tried that but it didn't work.
>>
>> I had to change /etc/selinux/config and reboot to make it work. It would be
>> nice if the wsgi module generated some log that explains why you get the
>>
On 06/17/2015 06:45 PM, Paul Hubert wrote:
> On Wednesday, June 17, 2015 at 8:24:17 PM UTC-4, Chris Angelico wrote:
>
>> Are you sure you want iteration and writelines() here? I would be
>> inclined to avoid those for any situation that isn't plain text. If
>> the file isn't too big, I'd just read
On 06/17/2015 09:48 PM, Paul Hubert wrote:
> Same result - server says malformed upload. :/
You may want to run a sniffer like wireshark and see what the difference
is between the packets coming from your C# program and coming from Python.
--
https://mail.python.org/mailman/listinfo/python-list
On 06/18/2015 12:08 PM, Tony the Tiger wrote:
> Forgot to add, I don't read or see anything posted from outside of the
> groups.
Posting from the mailing list here. I assume the nntp gateway is
two-way. Unless you're manually blocking message originating in google
groups, I don't see why you w
On 06/18/2015 01:35 PM, Oscar Benjamin wrote:
> I use the following. I found in testing that when you push the button it
> prints 'Button pressed' 10 times a second (in actual use it calls poweroff
> so I guess bounce isn't an issue there). Is there some reason it needs to
> be cleverer in this cas
On 06/20/2015 09:02 AM, John McKenzie wrote:
>
> Guys, thanks for the various code examples for GPIO and the warning
> about debouncing issues. I am still considering going the route of more
> complex wiring and doing it a more traditional GPIO way.
You can wire up the button without a little
On 06/21/2015 02:58 PM, Marko Rauhamaa wrote:
> 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
>> cop
On 06/21/2015 03:52 PM, C.D. Reimer wrote:
> The copyright applies to the book ("Do not redistribute, mirror, or copy
> this *online book*.") and any derivative work is based on the book.
> Using the video output from the BASIC games in the book could fall
> underneath the fair use provision, wh
On 06/21/2015 08:27 PM, Steven D'Aprano wrote:
> Public domain is not a licence, and many places (including the US) do not
> allow individuals to put works into the public domain. (US government works
> are a special case.) Some places will not recognise a public domain
> dedication, and will treat
On 06/24/2015 09:56 AM, 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
No idea what you mean about wanting to get mail to your gmail inbox...
I
On 06/25/2015 06:34 AM, Tim Golden wrote:
> On 25/06/2015 13:04, Joonas Liik wrote:
>> It sounds to me more like it is possible to use long file names on windows
>> but it is a pain and in python, on windows it is basically impossible.
>
> Certainly not impossible: you could write your own wrapper
On 06/23/2015 10:53 AM, Laurent Pointal wrote:
> Mark Lawrence wrote:
>
>> Another beasty I've just stumbled across which you may find interesting
>> http://www.sciencedirect.com/science/article/pii/S2213133714000687
>
> Why use a JIT complation when you could use some C++ generation then
> com
1101 - 1200 of 1810 matches
Mail list logo