Am 28.04.15 um 09:54 schrieb Steven D'Aprano:
On Tuesday 28 April 2015 16:59, Chris Angelico wrote:
On Tue, Apr 28, 2015 at 4:43 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
I don't think that choosing UCS-2 only is any worse than any other
application feature like support
Am 27.04.15 um 19:02 schrieb Grant Edwards:
On 2015-04-26, Ben Finney ben+pyt...@benfinney.id.au wrote:
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes:
Tkinter is easier to use, as it is standard with Python. So long as
you have Tk/Tcl installed on your computer, Tkinter should
Am 27.04.15 um 01:06 schrieb Chris Angelico:
On Mon, Apr 27, 2015 at 6:26 AM, Ben Finney ben+pyt...@benfinney.id.au wrote:
It doesn't have to. By using the newer ‘tkinter.ttk’ library
URL:https://docs.python.org/3/library/tkinter.ttk.html, the GUI will
use native look-and-feel widgets.
Does
Am 27.04.15 um 09:15 schrieb Steven D'Aprano:
On Monday 27 April 2015 16:55, Christian Gollwitzer wrote:
YMMV. Is non-BMP needed for any living non-esoteric language? I agree
that it is a big flaw, but still is useful for very many projects.
Yes.
The Unicode Supplementary Multilingual
Am 31.03.15 um 16:50 schrieb Ervin Hegedüs:
there is an app, written in Python, which stores few bytes of
datas in a single file. The application uses threads. Every
thread can modify the file, but only one at a time. I'm using a
lock file to prevent the multiple access.
Here is the lock
Am 31.03.15 um 21:17 schrieb Ian Kelly:
On Tue, Mar 31, 2015 at 12:58 PM, Christian Gollwitzer aurio...@gmx.de wrote:
Am 31.03.15 um 16:50 schrieb Ervin Hegedüs:
there is an app, written in Python, which stores few bytes of
datas in a single file. The application uses threads. Every
thread
Am 30.03.15 um 08:50 schrieb Ian Kelly:
On Sun, Mar 29, 2015 at 12:03 PM, Marko Rauhamaa ma...@pacujo.net wrote:
Be careful with the benchmark comparisons. Ian's example can be solved
with the identical algorithm in eight different ways (four corners, left
or right). I ran the example with my
Am 29.03.15 um 05:06 schrieb Steven D'Aprano:
I'm not one of those people who think that C is by definition the fastest
language conceivable. (People who believe this sometimes make an exception
for hand-crafted assembly, which is ironic since these days the best C
optimizing compilers can
Am 26.03.15 um 00:04 schrieb Mark Lawrence:
On 25/03/2015 22:50, Steven D'Aprano wrote:
On Wed, 25 Mar 2015 10:39 pm, Marko Rauhamaa wrote:
I have yet to find practical use for fibonacci numbers.
Many people have failed to find practical uses for many things from
mathematics. Doesn't mean
Am 26.03.15 um 02:34 schrieb Tiglath Suriol:
I may stay a while just to poke you in the eye a little longer. I am
beginning to enjoy this. People entering a battle of wits unarmed.
It's a joy to watch.
Wow you must be really bored.
Christian
--
Am 13.03.15 um 18:25 schrieb Skip Montanaro:
I understand that. Tell that to management though. They were working
on 13.1 for awhile, but seem to be focused on 13.2 now, though not all
our internal software works on that.
I'll give up on hoping I get access to a more modern top anytime soon.
Am 06.03.15 um 19:15 schrieb Marko Rauhamaa:
llanitedave llanited...@birdandflower.com:
It's obvious that's what's needed here is a PEP requiring that the
International Phonetic Alphabet be used for all Python identifiers and
keywords.
You're onto something:
ROFL!!!
Though I'd prefer a
Am 06.03.15 um 09:14 schrieb Mehdi:
On Friday, March 6, 2015 at 12:58:11 AM UTC+3:30, Christian Gollwitzer wrote:
Use pyinstaller. It creates a portable app, i.e. either single file or
directory which can be run on (nearly) any system. However the resulting
files can be awfully big. I use
Am 05.03.15 um 18:31 schrieb Mehdi:
Hi
I know there are tools like cx_freeze or nuitka for making a linux standalone
python app. but i couldn't find a good tutorial about how to making a
portable gui-enabled python3 app in linux. by gui-enabled i mean application
which use any gui libs
Am 04.03.15 um 00:12 schrieb Chris Angelico:
The problems come from needing more than two components at each step,
like with string formatting. You could write it like this:
Hello, %s from %s! % name % location
but then it'd be really hard to track down errors - the modulo
operator would
Am 03.03.15 um 12:12 schrieb Chris Angelico:
On Tue, Mar 3, 2015 at 7:51 PM, Christian Gollwitzer aurio...@gmx.de wrote:
Are you trying to pick on C++ streams? I could never understand why
anybody has problems with an arrow that means put into the left
thing instead of shift the bits
Am 28.02.15 um 02:44 schrieb Chris Angelico:
On Sat, Feb 28, 2015 at 12:32 PM, sohcahto...@gmail.com wrote:
For example, I've seen someone create a Socket class, then created an
operator overload that allowed you to add a string to your socket to make
the socket send the string, with the
Am 26.02.15 um 06:53 schrieb John Ladasky:
Thanks for the various links, Ethan. I have encountered PyCUDA before, but
not the other options.
So far, I'm not seeing code examples which appear to do what I would like,
which is simply to farm out one Python process to one GPU core. The
Am 01.02.15 um 08:58 schrieb Marko Rauhamaa:
Paul Rubin no.email@nospam.invalid:
Marko Rauhamaa ma...@pacujo.net writes:
Stroustrup apparently has never had to deal with callbacks; his thick
books never made a mention of them last time I checked.
C++ has function pointers just like C,
Am 30.01.15 um 19:23 schrieb Paul Rubin:
Michael Torrie torr...@gmail.com writes:
Follow basic [C++] rules and 99% of segfaults will never happen and
the majority of leaks will not happen either.
That is a safe and simple approach, but it works by copying data all
over the place instead of
Am 30.01.15 um 02:40 schrieb Rustom Mody:
FORTRAN
use dictionary
type(dictionary), pointer :: d
d=dict_new()
call set(d//'toto',1)
v = d//'toto'
call dict_free(d)
The corresponding python
d = dict()
d['toto'] = 1
v = d['toto']
del(d)
In particular note the del in the
Am 23.01.15 um 20:23 schrieb Rick Johnson:
On Thursday, January 22, 2015 at 9:22:40 PM UTC-6, Terry Reedy wrote:
that it is already an option in mypy and is part of the new
type-hint proposal.
An *OPTION*? If it is not mandatory then why bother? If
authors have a choice between writing type
Am 05.01.15 um 14:20 schrieb Rick Johnson:
*GASP*! Of course all this could be avoided if those short-
sighted TK folks would have allowed the programmer to define
the pattern!
ಠ_ಠ
Well, it turns out you actually can. We don't have Guido's time machine,
but still there is a configuration
Hi Steve,
Am 08.01.15 um 05:35 schrieb Steven D'Aprano:
At long last, I am pleased to announce the latest version of PyPrimes, a
pure Python package for working with prime numbers.
Nice.
PyPrimes is compatible with Python 2 and 3, and includes multiple
algorithms for the generating and
Am 04.01.15 um 13:17 schrieb austin aigbe:
However, it took a shorter time (0.004s) with 24 function calls than
your code (0.005s) which took just 13 function calls to execute.
Why is this?
These times are way too short for conclusive results. Typically, the OS
timer operates with a
Am 03.01.15 um 22:57 schrieb Terry Reedy:
On 1/3/2015 1:30 PM, aba...@gmail.com wrote:
Hi,
I have had issues running Tix on python 2.7.6 and 3.4.2:
More details on the issue here.
http://stackoverflow.com/questions/27751923/tix-widgets-installation-issue
Has anyone had similar issues with
Am 03.01.15 um 00:03 schrieb accessnew...@gmail.com:
I have a script that I trying to go from command line entry to interface entry.
I am tinkering with Tkinter and want to review some Tkinter interface building
scripts. Really basic stuff covering file selection and making some of the data
Am 01.01.15 um 19:43 schrieb lucasvfxd...@gmail.com:
Hey Guys! I need your help! So i want to make a programm like the app
called Feed Me There are 2 Pictures (I got that) than you can click
the food picture and drag it on the boys mouth and than the sad boys
face disappears and a happy face
Am 12.12.14 09:30, schrieb KK Sasa:
Mark Lawrence於 2014年12月12日星期五UTC+8下午3時17分43秒寫道:
Hi Mark and Yotam, Thanks for kind reply. I think I didn't make my
problem clear enough. The slow part is [d2(t[k]) for k in
xrange(1000)]. In addition, I don't need to construct a list of 1000
lists inside, but
Am 03.12.14 09:29, schrieb Michael Kreim:
I did some googleing on extending Python by C++ code but I did not find
something that satisfies me. I gave SWIG a try, but several webpages
disadvised me of using it. Also my small experiments did not work.
I don't know why SWIG is discouraged; in my
Am 23.11.14 07:32, schrieb Chris Angelico:
did a sequence
of commands which ought to have failed, but didn't. Let's see if I can
recreate this:
rosuav@sikorsky:~$ sqlite3
SQLite version 3.7.13 2012-06-11 02:05:22
Enter .help for instructions
Enter SQL statements terminated with a ;
sqlite
Am 22.11.14 19:33, schrieb wxjmfa...@gmail.com:
As you are rewriting unicode, a small suggestion/request.
Assume that one processes a part of the Bible in polytonic
Greek, one has to create a ton of temporary (locale) letters,
°)))o αὐτὸν τὸν ἰχθύα
ὁ Χριστιανὸς ἔγραψε τρόλλοι
--
Am 21.11.14 05:49, schrieb Paul Rubin:
Terry Reedy tjre...@udel.edu writes:
Tcl/Tk currently use UCS-2, which only handles BMP chars. Alternatives
to support astral chars: [other encodings]
This is not entirely true: Tcl supports lazy typing, i.e. values
(Tcl_Obj) are cast upon request into
Am 20.11.14 09:40, schrieb Chris Angelico:
On Thu, Nov 20, 2014 at 7:25 PM, Paul Rubin no.email@nospam.invalid wrote:
wxjmfa...@gmail.com writes:
Today, there are simply no more valid and working
GUI toolkit running out of the box.
Tkinter still works for me. What's the problem?
Ignore
Hi Steven,
let me start by answering from reverse:
Q3: What is the largest value of n beyond which you can never use the
float
optimization?
A3: There is no such value, besides the upper limit of floats (DBL_MAX~
10^308)
P3: If you feed a perfect square into the floating point square
Addendum: If my method below works, you can also use it to speed up
computations for n2*1022, by splitting off an even power of two from
the integer and computing the FP sqrt of the mantissa for the seed, i.e.
doing the FP manually.
Am 01.11.14 09:02, schrieb Christian Gollwitzer:
Hi Steven
Am 01.11.14 09:13, schrieb Chris Angelico:
On Sat, Nov 1, 2014 at 7:02 PM, Christian Gollwitzer aurio...@gmx.de wrote:
Your above algorithm is obviously doing Heron- or Newton-Raphson iterations,
so the same as with floating point math. The first line before the while
loop computes some
Am 01.11.14 09:33, schrieb Chris Angelico:
On Sat, Nov 1, 2014 at 7:25 PM, Christian Gollwitzer aurio...@gmx.de wrote:
Part of the point of that algorithm is that it never uses FP, and is
therefore not limited by FP restrictions.
which are???
Most notably, the inability to represent every
Am 30.10.14 12:23, schrieb ast:
I just updated this morning my Python from a 3.3rc to 3.4 (Windows) and
I noticed that the 'Green' color in tkinter GUI is not the same at all.
'Green' in 3.4 is very dark. I had to replace it with 'Lime' to
get back a nice 'Green'.
If you are dependent on the
Am 29.10.14 07:15, schrieb satishmlm...@gmail.com:
What does %%(%s)s mean in Python?
Instead of posting all those questions here, you can simply try it in an
interactive python interpreter:
Apfelkiste:VecTcl chris$ python
Python 2.7.2 (default, Oct 11 2012, 20:14:37)
[GCC 4.2.1 Compatible
Am 10.10.14 22:05, schrieb alister:
Would the French tolerate me using an alternative Variant (Canadian or
Carribean)? I think not
UK English as spoken in England is the definitive version. The clue is in
the Name - English not American
I tend to agree that British English is the correct
Am 07.10.14 07:35, schrieb Nicholas Cannon:
Hey guys Im working on an open source text
editor(https://github.com/nicodasiko/Text-Config-2) and I would like
to add syntax highlighting(mainly for python code). I have built the
editor in python and the text input is a Text tkinter widget. I know
Am 04.10.14 07:53, schrieb Ned Deily:
In article m0n3n3$48j$1...@dont-email.me,
Kevin Walzer k...@codebykevin.com wrote:
A Tcl library compiled for 8.5 can be loaded into 8.6 with no
re-compiling required because of stubs.
It has nothing to do with Python per se; that's just the way linking
Am 03.10.14 00:08, schrieb Ned Deily:
So, to really support
Tk 8.6, the only viable option at the moment would be for us to ship our
own versions of Tk, like the Windows installer does. But it wouldn't be
acceptable, IMO, to force other projects and users to migrate to 8.6 in
the middle of a
Am 15.09.14 04:40, schrieb Seymore4Head:
nums=range(1,11)
print (nums)
I don't understand why the command nums=range(1,11) doesn't work.
I would think that print(nums) should be 1,2,3 ect.
Instead it prints range(1,11)
It does work, but in a different way than you might think. range() does
Am 13.09.14 13:31, schrieb Thomas Heller:
Am 13.09.2014 03:19, schrieb Grant Edwards:
On 2014-09-12, Thomas Heller thel...@ctypes.org wrote:
Am 12.09.2014 18:38, schrieb Chris Angelico:
Does Tkinter really work well with cx_Freeze? I doubt it (from my
experiences with py2exe).
I never had
Am 27.08.14 09:50, schrieb Frank Millman:
This is quite a timely message for me. I am inching closer to releasing a
version of my accounting software, and a lot of the above comments apply to
me as well. At present I am the only developer, and my project is not hosted
anywhere, so I have to
Am 23.08.14 11:08, schrieb Steven D'Aprano:
I just started up emacs, and got a GUI window with an abstract picture of a
gnu and a bunch of instructions which I didn't get a chance to read. I
clicked on the text, and the instructions disappeared. I don't know how to
get them back. They were
Hi Steven,
I agree with all you said.
Am 23.08.14 16:56, schrieb Steven D'Aprano:
Christian Gollwitzer wrote:
There are ways to put these editors into Beginner's mode, for vim there
is evim, and for sure emacs has something similar, where the editor
behaves more like you expect. In evim
Am 23.08.14 16:19, schrieb Joshua Landau:
(Since this is already an editor war...)
On 23 August 2014 10:41, Christian Gollwitzer aurio...@gmx.de wrote:
Sometimes I impress my colleagues with what they call magic, i.e. creating
special repeated lists of numbers by a few keystrokes in gvim
Am 21.08.14 14:54, schrieb David Palao:
I consider myself a python programmer, although C++ was one of the
first languages I learned (not really deeply and long time ago).
Now I decided to retake C++, to broaden my view of the business.
However, as I progress in learning C++, I cannot take out
Am 22.08.14 11:29, schrieb Marko Rauhamaa:
So my advise is, use as high-level programming language as you can. If
you can't, deal with it, but often you can break your system into parts
where only a small corner needs to be implemented at the low level.
Agreed. This is called Ousterhout's
Am 18.08.14 14:21, schrieb Rafael Francischini:
Em sexta-feira, 15 de agosto de 2014 17h59min28s UTC-3, Christian Gollwitzer
escreveu:
I expected something like visual regexp:
http://laurent.riesterer.free.fr/regexp/
Since RegExp-Syntax is very similar across tools, yours is almost
Am 18.08.14 18:51, schrieb Jamie Mitchell:
On Friday, August 15, 2014 4:13:26 PM UTC+1, Steven D'Aprano wrote:
So I have two 1D arrays:
1st array - ([8, 8.8,8.5,7.9,8.6 ...], dtype=float32)
It has a shape (150,)
2nd array - ([2, 2.2, 2.5, 2.3, ...],dtype=float32)
It has a shape (150,)
What
Am 14.08.14 21:50, schrieb rafinha.u...@gmail.com:
Hello, I created this tool to help me develop on formatting text using regular
expressions.
Any questions, I am available.
Thank you.
Tool - https://github.com/rfunix/PyMatch
I expected something like visual regexp:
Am 12.08.14 20:36, schrieb c1223:
Hi, Im working in the development of a program based in python that
allow us to contrl a spectometer. The spectometer has an .dll file.
The idea is to work through this dll and operate the spectometer. The
name of the .dll is AS5216.dll. I've trying with ctype,
Am 10.08.14 11:39, schrieb Steven D'Aprano:
Android phones don't mount as storage devices?
Oh well, that's Android crossed off my list.
Not any longer. They used to, but the support for mass storage was
dropped in favour of MTP to allow concurrent access from both the
computer and the
Am 10.08.14 15:03, schrieb Anamaria Martins Moreira
I am facing a problem with using accentuated characters in idle (2.7.6
or 2.7.8). When I type the accent, idle crashes. If I call python from a
terminal, there is no such problem.
Try updating your Tcl/Tk to the latest version, e.g. via
Am 04.08.14 01:08, schrieb Chris Angelico:
On Mon, Aug 4, 2014 at 8:52 AM, Wiktor look@signature.invalid wrote:
I have to ask - is there a way to make that original concept work? I know,
that CP437 has symbols ╖, ╢ and ╘, but does not have polish letters -
and I need to display them too.
Am 26.06.14 12:39, schrieb Peter Tomcsanyi:
Christian Gollwitzer aurio...@gmx.de wrote in message
news:lofciv$nq6$1...@dont-email.me...
For PNG image support you can load either the Img package which gives
support for a large variety of images, or the smaller tkpng package.
My first Google
Am 26.06.14 14:37, schrieb Christian Gollwitzer:
Am 26.06.14 12:39, schrieb Peter Tomcsanyi:
Christian Gollwitzer aurio...@gmx.de wrote in message
news:lofciv$nq6$1...@dont-email.me...
For PNG image support you can load either the Img package which gives
support for a large variety of images
Hi Peter,
Am 24.06.14 20:11, schrieb Peter Tomcsanyi:
I use the Python 3.4.1 installer from
https://www.python.org/downloads/release/python-341/
The Windows installation comes with Tcl/Tk version 8.6 which has some
new features (compared to 8.5) that are very important to me.
may I ask which
Am 25.06.14 21:26, schrieb Peter Tomcsanyi:
Christian Gollwitzer aurio...@gmx.de wrote in message
news:lodruv$k45$1...@dont-email.me...
may I ask which features of 8.6 you need in particular?
I need two of them:
- Angled text
- PNG image support with alpha channel (even if it seems a bit
Am 19.06.14 01:38, schrieb Chris Angelico:
a good console UI just requires this:
something = raw_input(Enter something: )
print(Result: +result)
That is actually one of the worst console UIs possible. Almost all
beginner's courses start with programs like that, requiring the user to
key
Am 19.06.14 09:42, schrieb Chris Angelico:
On Thu, Jun 19, 2014 at 5:18 PM, Christian Gollwitzer aurio...@gmx.de wrote:
Am 19.06.14 01:38, schrieb Chris Angelico:
a good console UI just requires this:
something = raw_input(Enter something: )
print(Result: +result)
That is actually one
Am 06.06.14 13:20, schrieb Alain Ketterlin:
Chris Angelico ros...@gmail.com writes:
It's impossible to accidentally call a base class's method when you
ought to have called the overriding method in the subclass, which is a
risk in C++ [2].
I don't how this can happen in C++, unless you
Am 15.03.14 17:26, schrieb Jayanth Koushik:
This is regarding the inbuilt 'complex' function. The python docs
say: Note: When converting from a string, the string must not
contain whitespace around the central + or - operator. For example,
complex('1+2j') is fine, but complex('1 + 2j') raises
Hi Steven,
Am 18.03.14 09:00, schrieb Steven D'Aprano:
On Tue, 18 Mar 2014 08:04:44 +0100, Christian Gollwitzer wrote:
Am 15.03.14 17:26, schrieb Jayanth Koushik:
This is regarding the inbuilt 'complex' function. The python docs say:
Note: When converting from a string, the string must
Hi Dave,
Am 14.02.14 19:08, schrieb dave em:
He is asking a question I am having trouble answering which is how a
variable containing a value differs from a variable containing a list
or more specifically a list reference.
as others have explained better and in more detail, there are mutable
Am 15.02.14 01:57, schrieb Chris Angelico:
Can you give an example of an ambiguous case? Fundamentally, the 'is'
operator tells you whether its two operands are exactly the same
object, nothing more and nothing less, so I assume your ambiguous
cases are ones where it's possible for two things to
Am 01.02.14 20:43, schrieb Lewis Wood:
I was wandering if I could dynamically change my GUI and after a few searches
on Google found the grid_remove() function. What I'm wandering now is if there
is a way to group a lot of widgets up into one, and then use the one
grid_remove function which
Am 02.02.14 00:07, schrieb Lewis Wood:
It does, this is the whole code:
from tkinter import *
root=Tk()
root.title(Second Root Testing)
def secondwindow():
root2=Tk()
root2.mainloop()
button1=Button(root,text=Root2,command=secondwindow).grid(row=0,column=0)
root.mainloop()
I
Hi,
Am 22.01.14 12:01, schrieb lgabiot:
Is it possible to link statically cairo to my extension, so that even if
cairo is not installed on a computer, the code will run?
I guess I would need to modify the setup.py file using distutils to
compile cairo statically into my .so file?
I've done
Am 14.01.14 22:27, schrieb Lewis Wood:
Also anyone know how to create an entry box for Tkinter where you can only
enter in 2 digits?
You must use a validator to achieve this. This is a more advanced topic
though. A validator is a function that is called whenever the user keys
something in -
Am 13.01.14 19:49, schrieb fluttershy...@gmail.com:
Inside the function is where I am having the problem, I am trying to get it to
delete the label so that it may then replace it with a shorter text.
Here is the full code:
from tkinter import *
import random
main = Tk()
main.title(Crack
Am 04.01.14 11:17, schrieb eneskri...@gmail.com:
So the issue is like this. I have to make a 2 x N grid like this:
o Radio - 1 o Radio - 2
o Radio - 3 o Radio - 4
...
o Radio - N - 1 o Radio - N
How to do so with a loop?
Create the buttons and append them into a list, so you can later refer
Am 24.12.13 16:41, schrieb Tobias M.:
On 23.12.2013 20:59, Terry Reedy wrote:
What would be easiest for user-developers would be if someone were
able to wrap a gui loop in a way to give it the needed interface, so
the gui loop itself replaced and became the asyncio loop.
That's a good idea,
Am 21.12.13 09:06, schrieb Gregory Ewing:
Michael Torrie wrote:
Maybe BASIC's of the 70s. But Not QB. QuickBasic was a pretty
impressive compiler in its day. Completely modern, structured language.
I may have been thinking of GW-BASIC. There was
definitely something that was pretty much an
Am 18.12.13 21:17, schrieb Jean Dubois:
I have a python-program which I want to perform its task first, then
switch to
the python console to experiment with further commands, using what was
already
defined in the python-program.
Excellent way to use/debug a scripting langugage. Use ipython,
Am 17.12.13 06:37, schrieb Rick Johnson:
On Sunday, December 15, 2013 11:01:53 AM UTC-6, Steven D'Aprano wrote:
low-level language with some interface to Python. The main
difference between this hypothetical Python GUI and Tcl
is that Tcl is a Turing-complete interpreter which lives
in it's own
Am 16.12.13 23:40, schrieb Chris Angelico:
On Tue, Dec 17, 2013 at 9:06 AM, Christian Gollwitzer aurio...@gmx.de wrote:
Let the flame war begin!
I'll try to avoid flamage :)
:) So let's vigorously discuss about facts;)
But my rule of thumb with bash scripts is: If it exceeds a page or
two
Let the flame war begin!
Am 16.12.13 17:10, schrieb Chris Angelico:
Here's the Tcl procedure that I tweaked. This is from gitk; I find the
word diff not all that useful, but a character diff at times is very
useful. I haven't found a way to configure the word diff regex through
gitk's options,
Am 16.12.13 18:04, schrieb Grant Edwards:
On 2013-12-16, Chris Angelico ros...@gmail.com wrote:
On Tue, Dec 17, 2013 at 3:46 AM, Grant Edwards invalid@invalid.invalid wrote:
* The everything is a string view of the world is severly
limiting if you're not just processing strings.
I
Am 12.12.13 00:08, schrieb Jean Dubois:
I have an ethernet-rs232 adapter which allows me to connect to a measurement
instrument by means of netcat on a linux system.
e.g. entering nc 10.128.59.63 7000
allows me to enter e.g.
*IDN?
after which I get an identification string of the measurement
Am 07.12.13 17:52, schrieb Jean Dubois:
I'm trying to go through a tutorial on tkinter which has the code below as an example.
The only thing I see when running it is a little popup with Click mouse here to
quit which works as expected but always shows the following error-message.
However the
Am 06.12.13 14:12, schrieb Jean Dubois:
It works but it's not all clear to me. Can you tell me what label.bind(1, quit)
is standing for? What's the 1 meaning?
bind connects events sent to the label with a handler. The 1 is the
event description; in this case, it means a click with the left
Am 05.12.13 21:26, schrieb tastyminerals:
Hi, I am getting an error when trying to use Pillow library to display
image PNG on a Tkinter Button widget. Here is my code.
|image= Image.open(os.path.join('icons','bulb.png')) # using PIL for png
images
self.correctGuessImage=
Am 28.11.13 07:51, schrieb Ben Finney:
Chris Angelico ros...@gmail.com writes:
On Thu, Nov 28, 2013 at 4:55 PM, jm.almeras jm.alme...@nospam.net wrote:
2) dimensionable and editable arrays of columns and rows like when
you open a table under Access.
I'm not aware of a widget in Tkinter
Am 24.11.13 04:41, schrieb Chris Angelico:
As part of a post on python-ideas, I wanted to knock together a quick
little script that imports a file based on its name, in the same way
that the Python interpreter will happily take an absolute pathname for
the main script.
Is it imp.load_source()
Am 31.10.13 17:49, schrieb Nick the Gr33k:
Στις 31/10/2013 1:19 μμ, ο/η Nick the Gr33k έγραψε:
someone please that is aware of what's wrong?
Your attitude.
--
https://mail.python.org/mailman/listinfo/python-list
Am 17.10.13 09:23, schrieb Peter Cacioppi:
Do you have a clean little example of polymorphism being
mocked in a reasonable way with pure C? There are many nice
object-based C projects floating around, but real polymorphism? I
think you can't do it without some bizarre work-arounds, but I'd be
Am 12.10.13 08:34, schrieb John Nagle:
I'm trying to find out which version of glibc Python is using.
I need a fix that went into glibc 2.10 back in 2009.
(http://udrepper.livejournal.com/20948.html)
So I try the recommended way to do this, on a CentOS server:
/usr/local/bin/python2.7
Python
Am 12.10.13 09:20, schrieb Ned Deily:
In article l3as90$5bk$1...@dont-email.me, John Nagle na...@animats.com
wrote:
[...]
Why is the info from plaform.libc_ver() so bogus?
The code is here:
http://hg.python.org/cpython/file/2.7/Lib/platform.py#l141
Perhaps you could open an issue on the
Am 12.10.13 09:53, schrieb Christian Gollwitzer:
Am 12.10.13 09:20, schrieb Ned Deily:
In article l3as90$5bk$1...@dont-email.me, John Nagle na...@animats.com
wrote:
[...]
Why is the info from plaform.libc_ver() so bogus?
The code is here:
http://hg.python.org/cpython/file/2.7/Lib
Am 11.10.13 14:52, schrieb Skip Montanaro:
I know I have things bassackwards, but trying to process Gtk events
from Tkinter's main loop using after() isn't working. (I suspect our
underlying C++ (ab)use of Gtk may require a Gtk main loop). I'd like
to process Tk events periodically from a
Am 10.10.13 06:36, schrieb Steven D'Aprano:
Just came across this little Javascript gem:
,,, == Array((null,'cool',false,NaN,4));
= evaluates as true
http://wtfjs.com/2011/02/11/all-your-commas-are-belong-to-Array
I swear, I am never going to complain about Python again.
More of this fun
Am 10.10.13 18:54, schrieb Grant Edwards:
On 2013-10-10, Chris Angelico ros...@gmail.com wrote:
On Fri, Oct 11, 2013 at 1:12 AM, Grant Edwards invalid@invalid.invalid wrote:
Nope. i is electical current (though it's more customary to use
upper case). j is the square root of -1.
and that
Dear John,
Am 09.10.13 07:28, schrieb John Nagle:
This is the basic transformation of 3D graphics. Take
a 3D point, make it 4D by adding a 1 on the end, multiply
by a transformation matrix to get a new 4-element vector,
discard the last element.
Is there some way to do that in numpy
Am 27.08.13 22:45, schrieb accessnew...@gmail.com:
Writing text to a word document (word 2007) using the zipfile module
via python coding (python 2.7). Below if the section of code I am
using to do this. I can't figure out what character I need to use to
get it to add new lines to the zipfile.
Hi Kevin,
Am 04.08.13 02:38, schrieb kevin4f...@gmail.com:
Sorry for the repeated messages. I have no idea why I have such a
long time delay. My messages didn't appear until just now after a few
minutes (thought I was having some issues).
you are posting to newsgroups from the USENET. It is
401 - 500 of 526 matches
Mail list logo