- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 4
- Posts with Downvotes
- 4
- Downvoting Members
- 3
21 Posted Topics
I create reports by means of RML(XML) and parse to PDF (use pyjon.reports). In output pdf polish char not display my xml file <?xml version="1.0" encoding="utf-8" standalone="no" ?> <!DOCTYPE document SYSTEM "rml.dtd"> <document filename="encoding-test-utf8.pdf"> <template> <pageTemplate id="main"> <frame id="first" x1="72" y1="72" width="451" height="698"/> </pageTemplate> </template> <stylesheet> </stylesheet> <story> <title>Test of …
Hey ( sorry for my english ) I use zimbra, which has caldav implementations caldav. I try create new event in calendar for my simple client ( which use caldav python library ). I dont now what type of url for save new event in caldav library python. ( sorry …
Hi, sorry but my english is not excellent. I create app on QSystemTrayIcon, i want get all event ( mouse, key ). How? My code under, but how connect to this event? def keyPressEvent(self, event): result = QtGui.QSystemTrayIcon.keyPressEvent(self, event) return result def mousePressEvent(self, event): result = QtGui.QSystemTrayIcon.mousePressEvent(self, event) return result
Hello, I have a question about wx.ListCtrl. How i can add to cell resize image ( 300, 500 for example ).
I have some problem, i want disable border in cell ( wxGrid ).
Tkinter old, look -> [url]http://wiki.wxpython.org/AnotherTutorial[/url]
[CODE]# -*- coding: utf-8 -*- dic = { 1 : "Jan", 2 : "Feb", 3 : "Mar", 4 : "Apr", 5 : "May", 6 : "Jun", 7 : "Jul", 8 : "Aug", 9 : "Sep", 10 : "Oct", 11 : "Nov", 12 : "Dec" } def replace_date(month = 0): return …
hello, i must change size image, when i install PIL i return this error [url]http://www.bankfotek.pl/image/918629.jpeg[/url] I use WIN 64-bit and i have ActivePython So, i can resize image whith wxPython? If i can, how?
hello, i want use wx.ScrolledWindow() in wx.Dialog() but i dont now how, i use two, three sizer's and nothing ... my code is to long, i search simple example! i must scroll this dialog -> [url]http://www.bankfotek.pl/image/915282.jpeg[/url] thanks
Hello, how i can creat menu in wx.ListCtrl(), for example when i double click in item list, i return menu like for wx.Menu().
Hello, i search widzet for Tkrinter how creat new window ( not Toplevel() ), i want use in this box html thanks ( sorry, my EN is so bad .. )
Hi My english is not good, i dont understend all question but i wrote some code [CODE]# -*- coding: utf-8 -*- try: _file = open("file.txt", "r") except IOError: print "> I dont see files.txt!" replaces = { "lol":len("lol")*"*", "emo":len("emo")*"*" } read = _file.read() for i in read.split(): if i in …
Hmm - [CODE]# -*- coding: utf-8 -*- _file = open("file.txt", "r") text = _file.readlines() for i, j in enumerate(text): if i % 2 == 0: del text[i] _file.close() _file = open("file.txt", "w") for i in text: _file.write(i) _file.close() [/CODE]
hey gues I search modules for console windows ( when program run ), i search few hours but for windows only find module Console .. I search module like for Urwid but for Windows, not Unix ( sorry, my english is not good )
For example[CODE]# -*- coding: utf-8 -*- def check(number): if number % 2 == 0: return True else: return False while True: try: number = int(raw_input("> Number ")) except ValueError: print "> ERROR!" if check(number) == True: break else: continue[/CODE]
hey gues i search 'replace' matrix? 123 456 789 i need in output 147 258 369
I use python 2.6 :-) This version i look on study, so i use this version ;) I hear, many modules dosen't work in python 3.x My english suck ;d
Hello My english is not good, so pleas - understat me ;-) I have two question about python ;) 1. I'm from poland, in poland letter a == ą, z == ź itp. Can i remove polsich letter? example in input - jacek bąk in output - jacek bak I …
The End.
kur3k