On Wednesday, May 20, 2015 at 12:16:49 PM UTC+5:30, Marko Rauhamaa wrote:
Rustom Mody :
In short any language that is implemented on von Neumann hw will need
to address memory.
I don't think von Neumann hardware plays a role here. I think the data
model is inherent in Python/Java/Lisp
On Wednesday 20 May 2015 15:33, Steven D'Aprano wrote:
Someone sufficiently killed with an abacus
Er, *skilled*.
--
Steve
--
https://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info:
Rustom, if you are serious about this approach, then the implication
is that if I execute x = 23 in Python, and I ask you what the value
of x is, you should answer something like 146588120 (that's the
implementation dependent value, i.e.
On Wednesday 20 May 2015 16:23, Rustom Mody wrote:
I dont like teaching this. viz that in python
x = [[1,2],[1,2]]
is equal to y defined as
z = [1,2]
y = [z,z]
And although they are equal as in '==' they are not equal as in behavior,
memory usage etc, a fact that can only be elucidated by
Serhiy Storchaka added the comment:
Resolved conflicts, fixed some noted issues in the patch and committed
unquestionable changes. Thank you for your patch Ramchandra.
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Roundup Robot added the comment:
New changeset b3a7215b9ce4 by Serhiy Storchaka in branch 'default':
Issue #16261: Converted some bare except statements to except statements
https://hg.python.org/cpython/rev/b3a7215b9ce4
--
___
Python tracker
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24245
___
I have a Pi + SD card with Pi OS + PiTfT screen
I am trying to display specific JPEGs when certain combination of GP10 inputs
are HIGH. I would like to use Python, I have no background in programming. Can
someone point me on the right tracks?
--
Hi Frank
On Wednesday, 20 May 2015 06:33:33 UTC+1, Frank Millman wrote:
jkn jkn...@nicorp.f9.co.uk wrote in message
news:99067d97-cad4-42f8-8fd1-b1884bed7...@googlegroups.com...
Hi All
as in the title, this is a little bit OT - but since ideally I'd like a
tool written in Python, and
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
stage: needs patch - patch review
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16261
Serhiy Storchaka added the comment:
Added comments on Rietveld. But I'm not sure that this change is worth to do.
Only low-level functions in os.path and os modules (and few other) support
bytes names (and only bytes, not bytearray!). High level interfaces, such as in
tarfile or zipfile, work
Serhiy Storchaka added the comment:
Just committed smaller patch in issue16261 and closed the issue.
Not all changes in the patch in this issue look innocent and correct.
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
On Wednesday, May 20, 2015 at 11:27:56 AM UTC+5:30, Steven D'Aprano wrote:
On Wednesday 20 May 2015 14:30, Rustom Mody wrote:
And what about Java?
http://stackoverflow.com/questions/166033/value-semantics-and-pointer-
semantics
Congratulations, you have found yet another example of the
Martin Panter added the comment:
Doing a quick review, expect a few comments on Rietveld
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24230
___
I have ordered a Pi + SD card + PiTfT screen.
--
https://mail.python.org/mailman/listinfo/python-list
Am 20.05.15 um 08:49 schrieb Howard Spink:
I have a Pi + SD card with Pi OS + PiTfT screen
I am trying to display specific JPEGs when certain combination of GP10 inputs
are HIGH. I would like to use Python, I have no background in programming. Can
someone point me on the right tracks?
No
On Wednesday 20 May 2015 14:30, Rustom Mody wrote:
And what about Java?
http://stackoverflow.com/questions/166033/value-semantics-and-pointer-
semantics
Congratulations, you have found yet another example of the Java community's
collective delusion and insistence on misusing terms for the
Rustom Mody rustompm...@gmail.com:
In short any language that is implemented on von Neumann hw will need
to address memory.
I don't think von Neumann hardware plays a role here. I think the data
model is inherent in Python/Java/Lisp regardless of the underlying
formalism (which could be SKI
Thomas 'PointedEars' Lahn pointede...@web.de writes:
Ned Batchelder wrote:
Be considerate. Be respectful.
And who appointed you moderator?
Ned is telling you how we are all expected to behave here, and that you
have violated the norms of behaviour to other participants here.
He does so
Serhiy Storchaka added the comment:
Changes look mostly good, but IDLE changes should be applied to all versions
and the code in test_queue.py is dim.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24245
Rustom Mody rustompm...@gmail.com:
On Wednesday, May 20, 2015 at 12:16:49 PM UTC+5:30, Marko Rauhamaa wrote:
Rustom Mody :
In short any language that is implemented on von Neumann hw will
need to address memory.
I don't think von Neumann hardware plays a role here. I think the
data
On 20 May 2015 at 10:56, Bartc ba...@freeuk.com wrote:
However, I was so impressed with how (C)Python does things (working
exclusively with pointers, doing assignments by simply copying pointers, and
using reference counting to manage memory), that I'm experimenting with
letting my language
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote in message
news:555c225b$0$2769$c3e8da3$76491...@news.astraweb.com...
The mental gymnastics they go through to force the round peg of pass-by-
sharing object semantics into the false dichotomy pass-by-value versus
pass-by-reference is
Thanks for your help. I want the python to run automatically after boot and
show a blank white screen, when a combination of GP10 inputs are HIGH python
displays one of 150 JPEGS. Is this possible? what sort of boot times can I get
with Arch?
On Wednesday, 20 May 2015 08:14:50 UTC+1,
On Wed, 20 May 2015 00:54:40 -0700, Howard Spink wrote:
Thanks for your help. I want the python to run automatically after boot
and show a blank white screen, when a combination of GP10 inputs are
HIGH python displays one of 150 JPEGS. Is this possible? what sort of
boot times can I get with
Steven D'Aprano wrote:
Code snippet 1:
x = [[1,2],[1,2]]
creates a list bound to the name x, containing a list containing ints 1
and 2, and a second independent list also containing ints 1 and 2.
Using the word contains here is misleading, because
it conjures a mental picture of
R. David Murray added the comment:
We have a number of other places in the stdlib where bytes-in-bytes-out is
observed, at various levels of abstraction. I think this is reasonable. To
answer your direct question, I think tempfile is a convenience-and-do-it-right
wrapper around what is
Changes by Emmanuel Gamby e.ga...@gmail.com:
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24246
___
___
Python-bugs-list
swanson added the comment:
Thanks for pointing out how count and replace operate. I don't mind the
ValueError: empty separator on split and partition - makes sense to me.
re: at least as long as the slice indexes are within range
If the slices indexes had to be in range, that would be
I recommend getting your hands on Automate The Boring Stuff With Python from
no starch press:
http://www.nostarch.com/automatestuff
I've not read it in its entirety, but it's very beginner-friendly and is
targeted at just the sort of processing you appear to be doing.
HTH,
Don
--
Hi,
I am student at IIT Kanpur and working on a Opencv based Python project. I
am working on program development which takes less time to execute. For
that i have tested my small program hello word on python to now the time
taken by this program. I had run many time. and every time it run it
Roundup Robot added the comment:
New changeset 004c689d259c by Serhiy Storchaka in branch 'default':
Issue #24245: Eliminated senseless expect clauses that have no any effect.
https://hg.python.org/cpython/rev/004c689d259c
New changeset 56e1d24806b3 by Serhiy Storchaka in branch '2.7':
Issue
As part of a long running PyQT process running as a window app in Arch linux I
needed an alert sound, I decided to use the beep command and the app code then
looked like
pid = Popen(['/home/robin/bin/mybeep', '-r3', '-f750', '-l100', '-d75']).pid
the mybeep script handles module loading if
Hello everyone,
My objective is to create large amount of data files (say a million *.json
files), using a pre-existing template file (*.json). Each file would have a
unique name, possibly by incorporating time stamp information. The files
have to be generated in a folder specified.
What is the
New submission from Emmanuel Gamby:
Hi,
Following the principle of least astonishment, I would expect the function to
return the same value.
Python 2.7.3 (default, Mar 13 2014, 11:03:55)
[GCC 4.7.2] on linux2
Type help, copyright, credits or license for more information.
import mimetypes
Martin Panter added the comment:
There are a few related issues here I think:
1. Empty string search: I think it is completely valid to be able to find an
empty string inside another string, at least as long as the slice indexes are
within range. Although I remember it was a bit of a
Changes by Matteo Dell'Amico de...@linux.it:
--
nosy: +della
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24068
___
___
Python-bugs-list mailing
Serhiy Storchaka added the comment:
Committed all changes except test_queue.py. Looks as this file is worth
separate issue for refactoring. For example asserRaises() can be used in
multiple places instead of try/fail/except idiom. May be there is other
non-idiomatic code.
--
On Wed, May 20, 2015 at 9:44 PM, Parul Mogra scoria@gmail.com wrote:
My objective is to create large amount of data files (say a million *.json
files), using a pre-existing template file (*.json). Each file would have a
unique name, possibly by incorporating time stamp information. The
eryksun added the comment:
This solution no longer works. If the system is configured to use the Japanese
system locale and language pack, then 3.4.3 returns codepage 932 mojibake for
the %Z time zone name. Originally [this approach worked][1] because it called
PyUnicode_Decode using the
eryksun added the comment:
I cannot reproduce it based on the existing issues using python
3.4.1 on Windows 7.
Majeed could be referring to the ValueError that gets raised for this [only on
Windows][1]. In Linux %f passes through silently. Maybe for 3.5 an alternate
approach would be to
Majeed Arni added the comment:
When we have this for format:
date_format = '%Y %m %d %H:%M:%S %z'
I see our logs as:
[2015 05 19 17:36:09 -0500] watcher modified
When I change the format to:
[2015 05 20 08:51:24 -0500] stderr AttributeError: 'StreamLogger' object has no
attribute 'flush'
Serhiy Storchaka added the comment:
Changing behavior of such base methods is dangerous and can break existing
code. Even if the behavior is wrong, some code can depends on it. We should be
very careful with this.
There are several simple invariants for these methods.
s1.index(s2, start,
R. David Murray added the comment:
So, this is expected behavior on Windows. I'm inclined to close the issue as
not a bug unless the Windows folks think eryksun suggestion is worth
considering. (If the error is suppressed, does windows fill in the rest of the
values and just leave the %f in
R. David Murray added the comment:
Serhiy: I agree. I think the consistency with python2's string is the deciding
factor, and we ought to fix it in default. But not 3.4, because it is a
behavior change. I'd like other people's opinions, though.
--
eryksun added the comment:
If the error is suppressed, does windows fill in the rest of
the values and just leave the %f in the string?
No, it does not. I understand now why ValueError was an intentional choice
here. The CRT actually breaks the loop with a goto if any call to expand_time
R. David Murray added the comment:
This is a duplicate of issue 4963.
--
nosy: +r.david.murray
resolution: - duplicate
stage: - resolved
status: open - closed
superseder: - mimetypes.guess_extension result changes after mimetypes.init()
___
Python
R. David Murray added the comment:
The ValueError is not a bug. Not all format codes are supported on all
platforms (we start from what the platform supports, and then we have a few we
have implemented cross platform, but that isn't one of them). We also pass
through the behavior of the
Stefan Krah added the comment:
It seems that it won't be easy to find an API that pleases everyone.
I don't want to prolong the discussion much, but if the macro goes in,
returning PyErr_BadArgument() in the default case would be better than
NotImplemented.
assert(0) would be fine as well.
Majeed Arni added the comment:
Actually it is happening in Python 2.7 too..
Here is the format we are trying to use:
date_format = '%Y %m %d %H:%M:%S:%f %z'
Also, is there something millisecond if not microsecond?
--
title: Python Crash on strftime with %f on Python 3 - Python Crash
python-taiga 0.2.0 released! This release includes custom attributes
support and stats for projects and milestones.
python-taiga is a python module for communicating with the Taiga.io, a new
project management platform, for more info https://taiga.io/
You can find python-taiga code on Github
R. David Murray added the comment:
If the slices indexes had to be in range, that would be inconsistent with the
behavior of slicing
No, it wouldn't. Your slice example is two operations: the slice returns an
empty string (because that's how the *substring* operation is defined to behave
Serhiy Storchaka added the comment:
I was vague about this feature, but if other core developer found it useful, I
have no objections. Only few nitpicks to the implementation.
--
nosy: +georg.brandl, ncoghlan, pitrou
___
Python tracker
Mateusz Loskot added the comment:
Re msg238016, I confirm python-3.5.0a2-fdvalidation.patch fixes the problem for
Python 3.5.0a4 and VS2013.
The only issue I encountered was with HAVE_FSTAT which is missing from
PC/pyconifg.h, so I edited the patch and removed the check if
Roundup Robot added the comment:
New changeset 435bc22f39e3 by Serhiy Storchaka in branch 'default':
Issue #22955: attrgetter, itemgetter and methodcaller objects in the operator
https://hg.python.org/cpython/rev/435bc22f39e3
--
nosy: +python-dev
___
On 2015-05-20 22:58, Chris Angelico wrote:
On Wed, May 20, 2015 at 9:44 PM, Parul Mogra scoria@gmail.com
wrote:
My objective is to create large amount of data files (say a
million *.json files), using a pre-existing template file
(*.json). Each file would have a unique name, possibly
There's a module called template that I've used before, for the find/replace
part. I never investigated its performance, but my script used less than 1 s
for 100 files IIRC :-)
Paul
--
https://mail.python.org/mailman/listinfo/python-list
Terry J. Reedy added the comment:
A couple of years ago, when I pushed 'except: pass', I was told in post-review
that grandfathered bad code is no excuse for more bad code and that I should be
explicit, including if I actually meant except BaseException:, which in this
case I did. No other
On Wed, May 20, 2015 at 7:02 AM, AKHIL RANA akh...@iitk.ac.in wrote:
Hi,
I am student at IIT Kanpur and working on a Opencv based Python project. I
am working on program development which takes less time to execute. For that
i have tested my small program hello word on python to now the time
Roundup Robot added the comment:
New changeset 2c074a8dd084 by Serhiy Storchaka in branch '3.4':
Issue 24215: Added tests for more builtin types in test_pprint.
https://hg.python.org/cpython/rev/2c074a8dd084
New changeset da711bdcc1bf by Serhiy Storchaka in branch 'default':
Issue 24215: Added
On 20/05/2015 16:42, Alain Ketterlin wrote:
Robin Becker ro...@reportlab.com writes:
.
The code I used to use with os.spawnl was even worse in leaving
zombies around.
For the same reason (os.wait() and os.waitpid() let you ... wait for
child-processes).
I suppose I needed to
On 20-5-2015 17:23, Ian Kelly wrote:
On Wed, May 20, 2015 at 7:02 AM, AKHIL RANA akh...@iitk.ac.in wrote:
Hi,
I am student at IIT Kanpur and working on a Opencv based Python project. I
am working on program development which takes less time to execute. For that
i have tested my small program
On Wednesday, May 20, 2015 at 12:35:40 PM UTC-4, Cecil Westerhof wrote:
I want to start playing with tkinter, but there are some differences
between 2 and 3. For this I use at the moment the following code:
import sys
if sys.version_info[0] 3:
import Tkinter as tk
On 2015-05-20 17:59, Peter Otten wrote:
Tim Chase wrote:
wordlist[:] = [ # just lowercase all-alpha words
word
for word in wordlist
if word.isalpha() and word.islower()
]
Just a quick reminder: if the data is user-provided you have to
sanitize it:
Thus my
On Wed, May 20, 2015 at 9:48 AM, Irmen de Jong irmen.nos...@xs4all.nl wrote:
Or measure the actual CPU clock cycles taken instead of the wall clock run
time.
Then you should get a fairly constant number, if the program does the same
work every
time you run it.
phobos:~ irmen$ time python
Steve Dower added the comment:
_Py_*_SUPPRESS_IPH is the right thing to use here. It still displays an
assertion dialog in debug builds, but ignoring it has the correct effect.
Patch attached for 3.5
--
keywords: +patch
Added file: http://bugs.python.org/file39438/24244_1.patch
Roundup Robot added the comment:
New changeset cbe28273fd8d by Serhiy Storchaka in branch '2.7':
Issue #24134: Use assertRaises() in context manager form in test_slice to
https://hg.python.org/cpython/rev/cbe28273fd8d
New changeset 3a1ee0b5a096 by Serhiy Storchaka in branch '3.4':
Issue #24134:
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24134
___
Tim Chase wrote:
On 2015-05-20 22:58, Chris Angelico wrote:
On Wed, May 20, 2015 at 9:44 PM, Parul Mogra scoria@gmail.com
wrote:
My objective is to create large amount of data files (say a
million *.json files), using a pre-existing template file
(*.json). Each file would have a
On Wednesday, May 20, 2015 at 12:43:29 PM UTC-4, Ned Batchelder wrote:
On Wednesday, May 20, 2015 at 12:35:40 PM UTC-4, Cecil Westerhof wrote:
I want to start playing with tkinter, but there are some differences
between 2 and 3. For this I use at the moment the following code:
import
On Wed, May 20, 2015 at 11:01 AM, Cecil Westerhof ce...@decebal.nl wrote:
I want to start playing with tkinter, but there are some differences
between 2 and 3. For this I use at the moment the following code:
import sys
if sys.version_info[0] 3:
import Tkinter as tk
Augie Fackler added the comment:
I'll build a patched Python3.5 tomorrow (I'm on the road today) and let you
know if this does everything we need. I'd be shocked if it wasn't plenty.
--
___
Python tracker rep...@bugs.python.org
Robin Becker ro...@reportlab.com writes:
As part of a long running PyQT process running as a window app in Arch
linux I needed an alert sound, I decided to use the beep command and
the app code then looked like
pid = Popen(['/home/robin/bin/mybeep', '-r3', '-f750', '-l100', '-d75']).pid
I want to start playing with tkinter, but there are some differences
between 2 and 3. For this I use at the moment the following code:
import sys
if sys.version_info[0] 3:
import Tkinter as tk
import ttk
else:
import tkinter as tk
from tkinter import
Op Wednesday 20 May 2015 19:03 CEST schreef Zachary Ware:
On Wed, May 20, 2015 at 11:01 AM, Cecil Westerhof ce...@decebal.nl wrote:
I want to start playing with tkinter, but there are some
differences between 2 and 3. For this I use at the moment the
following code: import sys
if
Roundup Robot added the comment:
New changeset 962b42d67b9e by Antoine Pitrou in branch 'default':
Issue #9858: Add missing method stubs to _io.RawIOBase. Patch by Laura
Rupprecht.
https://hg.python.org/cpython/rev/962b42d67b9e
--
nosy: +python-dev
Antoine Pitrou added the comment:
I've pushed this to the default branch. Thanks!
--
resolution: - fixed
stage: commit review - resolved
status: open - closed
versions: -Python 2.7, Python 3.4
___
Python tracker rep...@bugs.python.org
On 20/05/2015 20:51, Mario Figueiredo wrote:
On Wed, 20 May 2015 03:07:03 +1000, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
Yes, a slice can be expensive, if you have (say) a ten billion element list,
and take a slice list[1:].
Since nothing seems to surprise you and you
On Wed, May 20, 2015 at 1:51 PM, Mario Figueiredo mar...@gmail.com wrote:
On Wed, 20 May 2015 03:07:03 +1000, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
Yes, a slice can be expensive, if you have (say) a ten billion element list,
and take a slice list[1:].
Since nothing seems
Yury Selivanov added the comment:
Patch is attached.
--
keywords: +patch
Added file: http://bugs.python.org/file39439/sig_warns.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24248
___
Am 19.05.15 um 15:44 schrieb Steven D'Aprano:
Variables are not first class values in C. (I assume you meant *values*
rather than objects, on account of C not being an OOP language.) There is
no way, for example, to set x to *the variable y* in either C or Python. If
you could, that would imply
On Wed, 20 May 2015 03:07:03 +1000, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
Yes, a slice can be expensive, if you have (say) a ten billion element list,
and take a slice list[1:].
Since nothing seems to surprise you and you seem so adamant on calling
anyone being surprised by
On 20/05/2015 19:52, Cecil Westerhof wrote:
Op Wednesday 20 May 2015 18:47 CEST schreef Ned Batchelder:
On Wednesday, May 20, 2015 at 12:43:29 PM UTC-4, Ned Batchelder wrote:
On Wednesday, May 20, 2015 at 12:35:40 PM UTC-4, Cecil Westerhof wrote:
I want to start playing with tkinter, but
R. David Murray added the comment:
OK. What made me wonder is that I saw that the 'invalid format string'
exception was removed by the patch...I guess that is also raised at a higher
level in the code.
--
___
Python tracker rep...@bugs.python.org
New submission from R. David Murray:
I have a situation where it would be really helpful to know in my cleanup
routine whether or not the test failed. The situation is this: I'm running a
command in a subprocess, and sometimes it writes output to stderr that I
normally want to ignore. But
On Wed, 20 May 2015 21:47:46 +0100, Mark Lawrence
breamore...@yahoo.co.uk wrote:
Please provide the figures to back up this claim. Nothing personal but
we've had problems with the RUE (amongst others) making nonsensical
claims, please don't take us down that path, thank you.
Alright. My
Python users,
Abstracts are now being accepted for the
2016 ASA Conference on Statistical Practice,
February 18-20,
San Diego, CA, USA.
Conference attendees are not typically familiar with Python. It would be
great to have someone from the Python community give a brief overview
On Thu, May 21, 2015 at 5:51 AM, Mario Figueiredo mar...@gmail.com wrote:
But no one is arguing for that. Instead, it was said that it would be
interesting if Python offered views.
It's pretty easy, actually. (Slightly more complicated once you handle
more details like negative indexing and
New submission from Bill Parker:
In reviewing calls to strcpy(string, ), I found three instances which could
be re-written as *string = '\0'; which would save the minor overhead of a
function call. The patch file is below:
--- install.c.orig 2015-05-20 14:11:27.723397005 -0700
+++
Changes by Benjamin Peterson benja...@python.org:
--
resolution: - duplicate
status: open - closed
superseder: - document PEP 448
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24240
___
Steve Dower added the comment:
It raises ValueError just like now (no visible change), but it won't crash and
doesn't require being able to validate the complete format string.
If we want any different behaviour, we need to reimplement strftime for Python,
which I'd be okay with, but I'm not
Steve Dower added the comment:
It's raised by the existing handling for EINVAL at the end of the function.
Previously we'd crash before getting that far because of the invalid parameter
handler.
--
___
Python tracker rep...@bugs.python.org
On Tue, May 19, 2015 at 7:10 PM, Gregory Ewing
greg.ew...@canterbury.ac.nz wrote:
On Tue, May 19, 2015 at 8:54 AM, Chris Angelico ros...@gmail.com
mailto:ros...@gmail.com wrote:
On Linux (and possibly some other Unixes), /proc/self/fd may be of
use.
On MacOSX, /dev/fd seems to be
New submission from Yury Selivanov:
I want to deprecate Signature.from_function and Signature.from_builtin in 3.5.
There is no use for these methods (they aren't generic), and we also now have a
very handy 'from_callable' for easy Signature subclassing.
--
assignee: yselivanov
Op Wednesday 20 May 2015 18:47 CEST schreef Ned Batchelder:
On Wednesday, May 20, 2015 at 12:43:29 PM UTC-4, Ned Batchelder wrote:
On Wednesday, May 20, 2015 at 12:35:40 PM UTC-4, Cecil Westerhof wrote:
I want to start playing with tkinter, but there are some
differences between 2 and 3. For
On Wed, May 20, 2015 at 12:54 PM, Cecil Westerhof ce...@decebal.nl wrote:
Op Wednesday 20 May 2015 19:03 CEST schreef Zachary Ware:
try:
import tkinter as tk
from tkinter import ttk
except ImportError:
import Tkinter as tk
import ttk
When there goes something wrong with:
from tkinter
On 5/20/2015 3:54 AM, Howard Spink wrote:
Thanks for your help. I want the python to run automatically after
boot and show a blank white screen,
This part if for a RasPy group.
when a combination of GP10 inputs
are HIGH python displays one of 150 JPEGS. Is this possible?
Number the n
Op Wednesday 20 May 2015 18:43 CEST schreef Ned Batchelder:
On Wednesday, May 20, 2015 at 12:35:40 PM UTC-4, Cecil Westerhof wrote:
I want to start playing with tkinter, but there are some
differences between 2 and 3. For this I use at the moment the
following code: import sys
if
Roundup Robot added the comment:
New changeset 0c298f1ee3f6 by Yury Selivanov in branch 'default':
Issue 20691: Add follow_wrapped arg to inspect.signature/from_callable.
https://hg.python.org/cpython/rev/0c298f1ee3f6
--
nosy: +python-dev
___
Python
On 5/20/2015 4:54 AM, Gregory Ewing wrote:
At this point the student thinks, Um... what? How
can an object contain another object *twice*?
If he's still thinking in physical terms, this
sentence is nonsensical.
It gets even worse with:
x = [1, 2]
x[1] = x
Now you have to say that the list
1 - 100 of 162 matches
Mail list logo