lf.correctGuessImage= ImageTk.PhotoImage(image)
I don't know what is the problem here, but Tk supports PNG natively from
8.5 onwards; just use
self.correctGuessImage= ImageTk.PhotoImage(file='bulb.png')
Christian
--
https://mail.python.org/mailman/listinfo/python-list
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
/usr/bin/env python
from tkinter import *
from tkinter import ttk
With my python2, it works to replace the import by
from Tkinter import *
import ttk
Christian
--
https://mail.python.org/mailman/listinfo/python-list
o do it properly?
The most proper way is to use asynchronous IO; never done this in python
before, check this:
http://docs.python.org/2/library/asyncore.html#asyncore-example-basic-http-client
Christian
--
https://mail.python.org/mailman/listinfo/python-list
is with pyinstaller. You can get a rather full-fledged
interpreter with GUI support into a few megabytes, and I've never seen
it fail.
Happy flaming,
Christian
[1] http://wiki.tcl.tk/12574
[2] http://wiki.tcl.tk/3963
--
https://mail.python.org/mailman/listinfo/python-list
tinct from dicts and provide no value semantics, i.e. you
cannot pass them around. Today these issues are overcome by using dicts
or some OO framework.
Christian
--
https://mail.python.org/mailman/listinfo/python-list
interp alias {} tk_getOpenFile {} ttk::getOpenFile
interp alias {} tk_getSaveFile {} ttk::getSaveFile
interp alias {} tk_chooseDirectory {} ttk::chooseDirectory
}
Christian
--
https://mail.python.org/mailman/listinfo/python-list
Am 16.12.13 23:40, schrieb Chris Angelico:
On Tue, Dec 17, 2013 at 9:06 AM, Christian Gollwitzer 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
, and then
either
%run myfile.py
or
execfile('myfile.py')
You can do this multiple times, where the new definitions overwrite the
old ones. In any case, ipython is much more friendly to use at the
command prompt than plain python.
Christian
--
https://mail.python.org/mailma
ch an
old-school BASIC with line numbers, GOSUBS and
all that.
GW-BASIC was a weak language, but two significant characters is
definitely too few. I think it was eight. Never used QuickBasic, I went
Turbo Pascal instead, which had 32 significant characters.
Christian
--
ml" is like "cd Doc; make html; cd .."
Christian
--
https://mail.python.org/mailman/listinfo/python-list
oc() to do it, but I'm not sure whether this leads to race
conditions.
Christian
--
https://mail.python.org/mailman/listinfo/python-list
works/Python.framework/Versions/2.7/lib/python2.7/lib-tk/Tkinter.py",
line 255, in get
value = self._tk.globalgetvar(self._name)
_tkinter.TclError: can't read "PY_VAR0": no such variable
>>>
IMHO the last call should translate an unset variable to None to by
useful for three-state widgets. You can still do it manually by invoking
the widget's state() method
Christian
--
https://mail.python.org/mailman/listinfo/python-list
window, where you make this labelent1 an
instance variable (put into self).
Christian
--
https://mail.python.org/mailman/listinfo/python-list
oying behaviour.
See for example this SO question
http://stackoverflow.com/questions/4140437/python-tkinter-interactively-validating-entry-widget-content
Christian
--
https://mail.python.org/mailman/listinfo/python-list
#x27;s stubs, where an array of function pointers gets passed
to the extension. This system allows to load an extension into later
versions of the host program.
Christian
--
https://mail.python.org/mailman/listinfo/python-list
On 22.01.2014 19:26, Chris Angelico wrote:
> Internally, I believe CPython uses the GNU Multiprecision Library
> (GMP), which gives an efficient representation and operation format,
> scaling to infinity or thereabouts. You can go to any size of integer
> you like without there being any difference
On 30.01.2014 04:27, Chris Angelico wrote:
> On Thu, Jan 30, 2014 at 1:40 PM, MRAB wrote:
>>> How cruel... I suspect the smack at 0degC is much more painful
>>> than one
>>> at room temperature
>>>
>> It's the 21st century; you should be making use of Unicode: 0°C.
>
> I started to read
awidgets will of course also group functionality
(i.e. reactions to button clicks etc.) in the same megawidget class
Christian
--
https://mail.python.org/mailman/listinfo/python-list
mn=0)
root.mainloop()
I don't know how this works, but it is definitely wrong. If you need
more than one window, use Toplevel() to create it.
Christian
--
https://mail.python.org/mailman/listinfo/python-list
On 03.02.2014 16:14, Ram Rachum wrote:
> Worked! Thanks Ervin!
$ sudo apt-get build-dep python3.3
will install everything you need to compile Python 3.4 on Debian and
Ubuntu. Good luck! :)
Christian
--
https://mail.python.org/mailman/listinfo/python-list
log and the listbox, nice icons for the buttons, trapping the
close button on the main window with an "are you sure?"-type question,
maybe wrapping it up in a class, a progress bar during the upload and a
way to interrupt it... which is left as an exercise
Am 28.11.15 um 13:48 schrieb Ulli Horlacher:
Christian Gollwitzer wrote:
Many problems would simply go away if you wrote the whole thing as a GUI
program.
Too much hassle.
The predecessor was a Perl/Tk program and I have had to invest 90% of the
programming work into the GUI handling. No fun
Am 05.12.15 um 00:26 schrieb Glenn Linderman:
My wife's 64-bit Win8 home machine has 32-bit Python 3.3 installed.
Then it upgraded to Win 8.1. Then I upgraded it to Win 10. Then I
upgraded it to Threshold 2. It gets regular automatic updates also, like
the one last night to build 10586.17.
That
rc to create HTML
archives of mbox email files for viewing in a browser
Christian
--
https://mail.python.org/mailman/listinfo/python-list
uch a get_paste() function?
I need a non-blocking getkey() function.
It must work on Windows and Linux.
Raw tty input. You'll have to write two different versions for Windows
and Linux. Sorry I can't help with that one.
Christian
--
https://mail.python.org/mailman/listinfo/python-list
e manager each time.
Christian
--
https://mail.python.org/mailman/listinfo/python-list
ith ~60 MB)
Christian
--
https://mail.python.org/mailman/listinfo/python-list
e Tcl
extensions use a mechanism called stubs, which ensures broad binary
compatibility. The only drawback: you will not have a single .py file,
but since on Windows you deliver using pyinstaller, that should not be
an issue.
Christian
--
https://mail.python.org/mailman/listinfo/python-list
Am 21.12.15 um 09:24 schrieb Peter Otten:
Steven D'Aprano wrote:
I have a large number of strings (originally file names) which tend to
fall into two groups. Some are human-meaningful, but not necessarily
dictionary words e.g.:
baby lions at play
saturday_morning12
Fukushima
ImpossibleFork
Am 21.12.15 um 11:36 schrieb Steven D'Aprano:
On Mon, 21 Dec 2015 08:56 pm, Christian Gollwitzer wrote:
Apfelkiste:Tests chris$ python score_my.py
-8.74 baby lions at play
-7.63 saturday_morning12
-6.38 Fukushima
-5.72 ImpossibleFork
-10.6 xy39mGWbosjY
-12.9 9sjz7s8198ghwt
-12.1 rz
Am 21.12.15 um 11:53 schrieb Christian Gollwitzer:
So for the spaces, either use a proper trainig material (some long
corpus from Wikipedia or such), with punctuation removed. Then it will
catch the correct probabilities at word boundaries. Or preprocess by
removing the spaces.
Christian
doned, people
will know that Python lives on GitHub and live with it, move on and do
something more valuable.
Christian
--
https://mail.python.org/mailman/listinfo/python-list
Am 03.01.16 um 09:03 schrieb Ben Finney:
Christian Gollwitzer writes:
Arguably, the most valuable outcome of the pull request in the end is
the patch, which is of course contained in the git repository.
Arguably, the most valuable outcome of a database system is the query
result, which is
for you publish them, which is done by a git commit/push to the
gh-pages branch.
What other features? And doesn't that come back around to getting
locked into the walled garden?
For the pages definitely not.
Christian
--
https://mail.python.org/mailman/listinfo/python-list
meError, code=error, level=1)
"raise SomeError" would be identical to "return(SomeError, code=error,
level=0)". In general you can return codes for continue, break and
return to have the upper level act as if continue, break or raise was
executed at the point where the function was called.
Christian
--
https://mail.python.org/mailman/listinfo/python-list
a built-in
command of cmd.exe. And thus it has very quirky quotation rules. This is
unlike Linux, where "xdg-open" is a shell script, and OSX, where "open"
is a binary executable.
Christian
--
https://mail.python.org/mailman/listinfo/python-list
m.choice(('donuts','apples'))
'donuts'
>>> random.choice(('donuts','apples'))
'apples'
>>> random.choice(('donuts','apples'))
'donuts'
>>>
Christian
--
https://mail.python.org/mailman/listinfo/python-list
is like
sometkvar=Tk.StringVar()
lbl_RCount = ttk.Entry(nav_bar, textvariable=sometkvar, width=10,
state='readonly')
sometkvar.set('0 ')
nav_bar.grid(column=0, row=0, columnspan=13)
There is no need to give the nav_bar a columnspan. So far you have no
elements in the m
ity.
Christian
--
https://mail.python.org/mailman/listinfo/python-list
than that, but that makes for a more complex program.
Now I'm curious. How is it possible to output the first line as last
again if not by remembering it from the every beginning? How could tac
be implemented other than sucking up everything into memory?
Christian
--
https://m
Am 30.01.16 um 08:56 schrieb Jussi Piitulainen:
Christian Gollwitzer writes:
Am 30.01.16 um 05:58 schrieb Random832:
On Fri, Jan 29, 2016, at 23:46, Hongyi Zhao wrote:
awk '{a[NR]=$0} END {while (NR) print a[NR--]}' input_file
perl -e 'print reverse<>' input_file
ble. C above C++ can be an
artifact. The metric uses search engines to ask for "C -c++ -java
-python ..." - I'm not sure they can really distinguish between C and
C++ this way.
Christian
--
https://mail.python.org/mailman/listinfo/python-list
place to set
window sizes in pixels have been canvas widgets, which do not have a
native size derived from the content. Setting the size on the toplevel,
and in absolute numbers, i.e. not computed from other sizes, is likely
to lead to problems on different platforms, font sizes or theme changes.
error: Py_initialize: unable to load the file system codec
ImportError: No module named 'encodings'
Can it be that you have just set a strange locale? What happens if you
run it as
LANG=C python
?
Christian
--
https://mail.python.org/mailman/listinfo/python-list
ts, only eager evaluation is really
predictable.
Christian
--
https://mail.python.org/mailman/listinfo/python-list
ait-co-routines
MS has added coroutine support with very similar syntax to VC++
recently, and the developer tries to explain it to the "stackful"
programmers.
Christian
--
https://mail.python.org/mailman/listinfo/python-list
x27;%f' is float. sscanf also handles
fixed-width columns which you often get from Fortran programs.
Christian
--
https://mail.python.org/mailman/listinfo/python-list
#x27;, 10, 6, 1)
[8.65, 0.2192347, 0.000333, 44.0, 0.0051, 6.0]
String
Apfelkiste:Tests chris$
Christian
--
https://mail.python.org/mailman/listinfo/python-list
font size, screen resolution, or
a different OS. If you are not satisfied with the whitespace, use the
padding options of grid or pack.
Christian
--
https://mail.python.org/mailman/listinfo/python-list
)
lblPWord = Label(root1, text= 'Height').grid(row=2,column=0)
Also here, the labels look odd. Have you tried to do some alignment of
the text with spaces? Remove the sapces and look at the "justify" option
of the label widget and the "sticky" option for
w.com/questions/55/how-do-i-handle-the-window-close-event-in-tkinter
Your program could still be killed by another way, e.g. from the task
manager, which would leave the files behind.
Christian
--
https://mail.python.org/mailman/listinfo/python-list
://code.activestate.com/recipes/521918-pil-and-tkinter-to-display-images/
(this might need some updating if you are using Python 3)
Christian
--
https://mail.python.org/mailman/listinfo/python-list
ct name instead of a positional argument.
Christian
Caveat emptor: never used it myself
--
https://mail.python.org/mailman/listinfo/python-list
ng. If you run another
interpreter in the second thread, it will have it's own GIL.
I'm not familiar with the internals of other Python implementation, but
I can imagine that maybe in Jython such an extension could be written.
Christian
--
https://mail.python.org/mailman/listinfo/python-list
ll button twice, it locks up the program, because
main() obviously starts it's own mainloop
Christian
--
https://mail.python.org/mailman/listinfo/python-list
Am 05.03.16 um 11:15 schrieb Terry Reedy:
On 3/5/2016 2:52 AM, Christian Gollwitzer wrote:
is there an easy way to add an application console to a Tkinter program?
Right now, you should turn the question around.
so this means no, right?
Is there an easy way to
run a tkinter program within
ou need to read other image files, look into PIL and ImageTk.
Christian
--
https://mail.python.org/mailman/listinfo/python-list
Am 06.03.16 um 06:53 schrieb Wildman:
On Sat, 05 Mar 2016 19:36:19 +0100, Christian Gollwitzer wrote:
import Tkinter
from Tkinter import Tk
root = Tk()
img = Tkinter.Image("photo", file="appicon.gif")
root.call('wm','iconphoto',root._w,img)
The abov
and print the result. When the user has entered
code, how does the REPL know if it should be eval'ed or exec'ed? I
assume that you don't try to parse the Python code manually to find this
out? Or you try to eval(), and if it doesn't compile, you exec()?
Christian
--
https://mail.python.org/mailman/listinfo/python-list
,ord("1"),ord("2"),ord("3"),ord("4"),ord("5"),
ord("6"),ord("7"),ord("8"),ord("9")):
digits+=1
else:
other+=1
It worked, but took 110 seconds; 80 seconds without the ord's and
comparing strings (but I still think it's perverse that integer ops are
slower than string ops).
I assume you run this in a big loop. What about a single hash-table lookup?
from collections import Counter
counts=Counter()
for c in whatever:
counts[c]+=1
upper=sum(counts[x] for x in range(ord('A'), ord('Z')+1)
lower=sum(counts[x] for x in range(ord('a'), ord('z')+1)
I think this is equally readable as the switch version, and should be
much faster.
Christian
--
https://mail.python.org/mailman/listinfo/python-list
ray(5)
twice(a); twice(b)
print a
print b
This is actually one of the warts in Python. Yes there are some
explanations with boxes and arrows and sticky notes and mutable and
immutable values... but actually you understand it best if you know how
CPython works and that a list is passed as a poi
ve code, but still claim that you get good
performance. You will also profit (in the form of bug reports) if
somebody actually tries your code.
Christian
--
https://mail.python.org/mailman/listinfo/python-list
dent. Otherwise, if-elif chains
are the way to go. Command line parsing is a case where switch
statements are often used, e.g. in shell scripts.
Christian
--
https://mail.python.org/mailman/listinfo/python-list
Pipe
symbol '|' in python. Can you elaborate
It's an overloaded "or" operator
def __ror__(self, iterable):
Christian
--
https://mail.python.org/mailman/listinfo/python-list
new
millennium.","birthday":"1944-05-14","deathday":"","homepage":"","id":1,"imdb_id":"nm184","name":"George
Lucas","place_of_birth":"Modesto - California -
USA&qu
Testing code:
CODE -
#!/usr/bin/env
import requests
from blitzdb import Document, FileBackend
API_URL = 'http://api.themoviedb.org/3'
API_KEY = 'ddf30289'
class Actor(Document):
pass
def get_actor(_id):
r = requests.get('{}/person/{}?api_key={}'.format(A
Python 3.4.2 Windows x64
PyQt4 4.11.2 Py3.4 Qt4.8.6 (x64)
PyCharm 3.4.1 Pro Edition
So, PyCharm works 100% with everything here but PyQt.
I have this folder structure:
Disk C:
> PyQt4
>> Lib/site-packages/PyQt4/(tons of files here)
> Python34 (normal/default installation)
---
I tried copying
= (rowhtml % ((fieldname,) * 3)) expand to?
>>> fieldname='foo'
>>> (fieldname,)*3
('foo', 'foo', 'foo')
>>> test='first %s second %s third %s'
>>> test % ((fieldname,)*3)
'first foo second foo third foo'
>>>
Christian
--
https://mail.python.org/mailman/listinfo/python-list
It only occurs whule using PyCharm I tried it via pure terminal and
everything works... =/
On Tue, Oct 28, 2014 at 7:45 PM, Juan Christian
wrote:
> Python 3.4.2 Windows x64
> PyQt4 4.11.2 Py3.4 Qt4.8.6 (x64)
> PyCharm 3.4.1 Pro Edition
>
>
> So, PyCharm works 100% with everyt
een'.
If you are dependent on the exact RGB value, just use a hex triplet,
this will be passed unmodified to the OS and never change.
A 100% green would be '#00FF00'.
Note that still the OS may choose to apply color profiles etc. to this
color, but this is outside of the control
s, 2)
x = 2**(a+b)
else:
x=int(math.sqrt(n))
y=n//x
if x= x:
return x
x = y
Christian
--
https://mail.python.org/mailman/listinfo/python-list
Addendum: If my method below works, you can also use it to speed up
computations for n>2*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 Ste
Am 01.11.14 09:13, schrieb Chris Angelico:
On Sat, Nov 1, 2014 at 7:02 PM, Christian Gollwitzer 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 approximation to sqrt
Am 01.11.14 09:33, schrieb Chris Angelico:
On Sat, Nov 1, 2014 at 7:25 PM, Christian Gollwitzer 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 integer beyond
No one here uses PyCharm and Qt? =/
On Wed, Oct 29, 2014 at 8:45 PM, Juan Christian
wrote:
> It only occurs whule using PyCharm I tried it via pure terminal and
> everything works... =/
>
> On Tue, Oct 28, 2014 at 7:45 PM, Juan Christian
> wrote:
>
>> Python 3.4.2 Win
ov 6, 2014 at 12:50 farshad akbari
wrote:
> On Saturday, November 1, 2014 3:11:54 PM UTC+3:30, Juan Christian wrote:
> > No one here uses PyCharm and Qt? =/
> >
> >
> > On Wed, Oct 29, 2014 at 8:45 PM, Juan Christian
> wrote:
> >
> > It only occurs whule u
PySide 1.2.2
Python 3.4.2
Code:
from PySide.QtGui import *
class MainWindow(QWidget):
def __init__(self):
QWidget.__init__(self)
self.setMinimumSize(600, 700)
self.setMaximumWidth(600)
self.setLayout(QVBoxLayout())
* Call to this module in another module *
app = QApplication(sys.argv)
window =
On Sun Nov 16 2014 at 3:46:40 PM Vincent Vande Vyvre <
vincent.vande.vy...@telenet.be> wrote:
>
> No probleme with PyQt but I think this is a window manager question.
> Window, gnome, KDE, Mate, ...
>
>
> If your widget is a QMainWindow or a QDialog add a size grip:
>
> self.setSizeGripEna
I have this simple code that load any Qt Designer .UI file:
from PySide.QtCore import QFile
from PySide.QtGui import QApplication
from PySide.QtUiTools import QUiLoader
def loadui(file_name):
loader = QUiLoader()
uifile = QFile(file_name)
uifile.open(QFile.ReadOnly)
ui = loader.load(uifile)
uifi
11/2014 13:18, Juan Christian a écrit :
> > I have this simple code that load any Qt Designer .UI file:
> >
> > from PySide.QtCore import QFile
> > from PySide.QtGui import QApplication
> > from PySide.QtUiTools import QUiLoader
> >
> >
> > def loadu
syntax is correct, I don't know why it failed, the btn is in the Form
too, it's a QPushButton.
The test func is just a simple func that returns a random text.
On Tue Nov 18 2014 at 11:08:48 AM Juan Christian
wrote:
> Many thanks, worked. The only problem now is that I don't have
>
> You can't have a slot like this:
>
> MainWindow.btn.clicked.connect(MainWindow.txtbox.setText(test()))
>
> because that's mean: "connect to the return of
> MainWindow.txtbox.setText(test())" and it's not possible at this stage
> of your program.
>
> Use instead a function:
>
> MainWindow.btn.cl
app.exec_() loop, so I need to
have a trigger configured that will be called in a defined interval, then
inside this trigger I configure the "set_avatar", "set_text",
"set_btn_link", etc, is that right?
On Tue Nov 18 2014 at 9:37:21 PM Chris Angelico wrote:
>
onents just for
testing.This shouldn't be normal, right?
Am I doing something wrong?
On Wed Nov 19 2014 at 7:00:43 PM Rob Gaddi
wrote:
> On Wed, 19 Nov 2014 20:47:31 +
> Juan Christian wrote:
>
> > Let's say that I want to call the site in a 5min interval. I'm cur
guage, and that also does not help to attract
people working on Tcl/Tk.
Christian
--
https://mail.python.org/mailman/listinfo/python-list
Thu Nov 20 2014 at 1:43:21 PM Michael Torrie wrote:
> On 11/19/2014 07:53 PM, Juan Christian wrote:
> > Thanks, it's working using QTimer. The thing is that whenever the program
> > is going to do something, in my case, draw a new QGroupBox with some
> > components inside a
10:57 AM, Juan Christian wrote:
> > So, I need to study QThreads, do you know any book or video-course that
> > talks about this matter? I've seen the tutorials that you pointed but I
> > need a "wider" approach regarding QThreads to really understand it and
> > a
Another problem is that this doc doesn't use Python.
On Thu Nov 20 2014 at 5:36:37 PM Juan Christian
wrote:
> Yes, I read everything and saw that stackoverlfow on Google too. I'm
> reading this doc: http://pyqt.sourceforge.net/Docs/PyQt4/classes.html
>
> I just asked for a
**Back to the list
So, as I said the PyQt doc is using C o.0
Yes, I read the tutorials, I'll google for some books and things related.
On Tue Nov 18 2014 at 10:48:44 AM Vincent Vande Vyvre <
vincent.vande.vy...@telenet.be> wrote:
> Le 18/11/2014 13:18, Juan Christian a écrit :
&
On Thu Nov 20 2014 at 7:07:10 PM Mark Lawrence
wrote:
>
> You also need to study the difference between top posting, interspersed
> posting and bottom posting. The second and third are very much the
> prefered styles here.
>
Yes I know, but I'm using the new Google Inbox, and I limited to what I
On Thu Nov 20 2014 at 8:20:29 PM alister
wrote:
>
> Then either do the necessary work (you have just proven you can)or find a
> better way of communicating with this news group(NNTP or the mailing
> list), otherwise you may find a number of good people simply ignore your
> posts.
>
> While you are
different window systems Tk supports.
Tcl is not just an interpreter, but also a big C library for handling
strings, File I/O over VFS, Threads etc. All of this code in Tk would
need to be replaced. It would be an almost complete rewrite of the
non-GUI parts of Tk.
Christian
--
https://mail.python.org/mailman/listinfo/python-list
On Fri Nov 21 2014 at 8:05:30 AM alister
wrote:
> All of this VVV
> [...]
I'm sorry, I didn't know, but it seems there isn't any option to remove
that in the Inbox (new Gmail), do you guys use any special program or
client to use list?
--
https://mail.python.org/mailman/listinfo/python-lis
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>< αὐτὸν τὸν ἰχθύα
ὁ Χριστιανὸς ἔγραψε τρόλλοι
--
h
te> select * from foo;
asdf
sqlite> select * from bar;
asdf
sqlite> delete from foo;
sqlite> select * from foo;
sqlite> select * from bar;
sqlite>
Not sure, if this helps the OP, though.
Christian
--
https://mail.python.org/mailman/listinfo/python-list
This is a continuation of my other topic "How to access Qt components
loaded from file", it was getting big and the focus changed completely, the
real question there was already answered, and we were talking about
signal/slot, QThred and other things.
So, I read on the web (didn't find books talki
Oh, and this code I made by myself, I didn't copy. That's why I want you
guys to see if everything is ok.
--
https://mail.python.org/mailman/listinfo/python-list
On Mon Nov 24 2014 at 11:56:31 PM Michael Torrie wrote:
Looks alright. Does it work?
Well, no =/
First I had to remove the multiple inheritance, because Qt doesn't allow
that, so I removed the QObject.
Second, just for testing I'm calling the module directly using:
timer = QTimer()
timer.start
On Tue Nov 25 2014 at 1:42:24 PM MRAB wrote:
I think that the problem there is that strings don't have an __exit__
method.
I don't understand what you said, what you mean by that? =/
--
https://mail.python.org/mailman/listinfo/python-list
601 - 700 of 1986 matches
Mail list logo