Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~901 People Reached
Favorite Forums
Favorite Tags
Member Avatar for sohel807

I have run my codes (written in Python) in my Notebook (3 GB Ram, Dual-core CPU T4500 @ 2.3 GHz) and in my lab machine (11.57 GB Ram, i7-920 CPU @ 2.67 GHz). However, I have found execution time in Notebook 250.3 seconds, and in Lab machine 333.2 seconds. How …

Member Avatar for sohel807
0
83
Member Avatar for sohel807

I can print whatever I want (definitely texts) by using following "Printer" class. However, it prints only in Black and White mode regardless original color of texts. Is there any way I can print color texts? [ICODE]#License: MIT import wx from wx import Printout, PrintData, PAPER_LETTER, PrintDialogData from wx import …

0
62
Member Avatar for sohel807

Following scripts makes logs first, and then can be printed. What should be the way I can print from the frame directly assuming I have printer in place? [ICODE]import wx import os.path class MainWindow(wx.Frame): def __init__(self, filename='noname.txt'): super(MainWindow, self).__init__(None, size=(400,200)) self.filename = filename self.dirname = '.' self.CreateInteriorWindowComponents() self.CreateExteriorWindowComponents() self.log= open("foo.log",'w+') …

0
70
Member Avatar for sohel807

I want to make a simple editor using wxPython. Complete code is already available in wxPython tutorial page ([url]http://wiki.wxpython.org/WxHowtoSmallEditor[/url]). However, in addition I want to add "print" menu which will print the contents of editor (i.e., whatever written in editor). I will appreciate if someone please show me. Thanks, Akand

Member Avatar for richieking
0
414
Member Avatar for sohel807

Why I have not seen any underline with the menu items although I have put "&" within the menu names. My code is as follows: [CODE]import wx import os class MainWindow(wx.Frame): def __init__(self, parent): self.dirname='' # A "-1" in the size parameter instructs wxWidgets to use the default size. # …

Member Avatar for richieking
0
272