Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Tkinter's strange error
Post: RE: Tkinter's strange error

Can anybody help me ? **sad**
Ponomarenko Pavlo GUI 7 11,746 Jul-20-2017, 08:04 AM
    Thread: Tkinter's strange error
Post: Very strange tkinter.TclError

I created programm with tkinter which has simple interface. It includs datebase and system for searching information. But I got a problem which I can't solve. I also can't find a reason of it. Please,...
Ponomarenko Pavlo GUI 7 11,746 Jul-19-2017, 04:08 PM
    Thread: Tkinter's strange error
Post: Tkinter's strange error

What have caused it? my_string = '1)from decimal import Decimal'Error:Exception in Tkinter callback Traceback (most recent call last): File "C:\Python34\lib\tkinter\__init__.py", line 1538, in __ca...
Ponomarenko Pavlo GUI 7 11,746 Jul-17-2017, 05:08 PM
    Thread: Error of datebase
Post: Error of datebase

import shelve class Waiting:    def __init__(self):        self.name = 'Waiting'        self.List = [] bd = shelve.open('Data') bd['Waiting'] = Waiting() bd.close() bd = shelve.open('Data') print(bd['...
Ponomarenko Pavlo General Coding Help 2 3,194 Jul-17-2017, 03:19 PM
    Thread: Attribute of module shelve doesn't work
Post: Attribute of module shelve doesn't work

import shelve db = shelve.open('experement') db['name'] = 'Sam' db['age'] = 45 db.close()Error:Traceback (most recent call last): File "C:/Users/Владелец/Desktop/experements/shelve.py", line 1, in &...
Ponomarenko Pavlo General Coding Help 1 5,079 Jul-12-2017, 01:12 PM
    Thread: I don't understand this result
Post: I don't understand this result

>>> a = [1, 2, 4, 5] >>> def az():             x * 2 >>> q = map(az, [2, 3, 4]) >>> list(q) [None, None, None]
Ponomarenko Pavlo General Coding Help 5 3,896 Mar-27-2017, 12:03 PM
    Thread: Why does it return error?
Post: Why does it return error?

from tkinter import * root = Tk() root.title('First stage') root.geometry('600x400') Button(root, text = '1', width = 5, height = 3, bg = 'blue', fg = 'red', font = 'arial 14').place(x = 70, y = 32) L...
Ponomarenko Pavlo General Coding Help 2 3,236 Feb-05-2017, 08:01 PM
    Thread: My sockets are not working
Post: My sockets are not working

I am testing my server and client with two computers. This is my server: import socket server = socket.socket(socket.AF_INET, socket.SOCK_STREAM) server.bind(('localhost', 9090)) server.listen(1) copp...
Ponomarenko Pavlo General Coding Help 2 4,139 Jan-22-2017, 05:31 PM
    Thread: I don't understand this result
Post: I don't understand this result

>>> f = [].extend(['spam', 32, 44]) >>> type(f)          <class 'NoneType'>
Ponomarenko Pavlo General Coding Help 3 3,823 Jan-14-2017, 05:52 PM
    Thread: My exception doesn't work. How can I correct it?
Post: My exception doesn't work. How can I correct it?

>>> try:     print(1 / 0)     except ArithmeticError:          SyntaxError: invalid syntax >>>
Ponomarenko Pavlo General Coding Help 3 4,851 Dec-19-2016, 05:22 PM
    Thread: How to correct the error?
Post: How to correct the error?

z = '346 + 324 - 368' z.split('+', '-')Error:Traceback (most recent call last):   File "<pyshell#17>", line 1, in <module>     z.split('+', '-') TypeError: 'str' object cannot be interpret...
Ponomarenko Pavlo General Coding Help 3 11,531 Oct-14-2016, 05:07 PM
    Thread: What is the best book about Python?
Post: What is the best book about Python?

I learn Python. I had read some books about it but I don't know what is the best book about Python.  Please write your comments on the following items. :-/What is your favourite python book?. Who wro...
Ponomarenko Pavlo News and Discussions 2 5,397 Oct-13-2016, 05:28 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020