Posts
 
Reputation
Loading chart. Please wait.
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
~22.6K People Reached
Favorite Forums
Favorite Tags

13 Posted Topics

Member Avatar for deonis

Hi Guys, I am trying to draw on PlotCanvas using wx.DC module. I have several problems with drawing on WXBufferedPaintDC, for some reason my DC text disappears after windows resizing and it looks that I draw my text in the wrong place. Any help appreciated. Here is my code: import …

Member Avatar for deonis
0
1K
Member Avatar for deonis

Hi everyone, I have a problem to setup a custom lexer using in wx.stc.StyledTextCtrl (wxPython). I have a text file which consit of certain keywords which I would like to highlight. The text file is not related to any of the programing languages and so I cannot use the buildin …

Member Avatar for deonis
0
945
Member Avatar for Gribouillis

Nice post and exactly what I want! I'm using xterm to run shell program and I absolutely need to see the output of the program. I notice a strange behaviour of the subprocess module, when ever I try to run child process it hangs my parent window until I close …

Member Avatar for deonis
4
3K
Member Avatar for cleve23

I was wondering did you figure out how to create the custom highlighting in StyledText. I am having a same problem here. I was trying different things and nothing worked. I got info that it is possible to create Markers and then add a style to them. However, I have …

Member Avatar for deonis
0
93
Member Avatar for adam4u

Is it your home work or something? :) Try this: [url]http://wiki.python.org/moin/BeginnersGuide[/url]

Member Avatar for HiHe
-3
171
Member Avatar for Mathhax0r

Did you try to look into a Ming ? [url]http://code.rancidbacon.com/PythonMingAndFlash[/url]

Member Avatar for deonis
0
92
Member Avatar for deonis

Hello ! I'm wondering is there simple way in python to check for file modifications by external sources similar to what existing in gedit or drpython (text editors). So far I was able to check for file modification but I don't know how to "call" this function(see code bellow). I …

0
54
Member Avatar for deonis

I having a little trouble to figure out how can I replace the specific lines in a text file by the lines from another text file marching certain pattern. !?!? For example: I have two files: file1 and file2 , I want to search lines of the first file for …

Member Avatar for jice
-1
674
Member Avatar for deonis

Hello ! I am trying to make a little program, which would go through the string content, find some keywords inside of it and return their position in the text. Unfortunately my program does not work for the duplicated words like "AFIX" or "CONF" (see example bellow). Is there simple …

Member Avatar for deonis
0
138
Member Avatar for deonis

Hello ! Recently I was doing some text formatting using python and this forum was extremely handy. My problem now is to put any letter in subscript or superscript. Apparently in Unicode there are just a few symbols in superscript but I want to put let say letter "b" in …

Member Avatar for deonis
0
13K
Member Avatar for deonis

Hello ! I'm trying to create the dictionary which would handle Latin characters like (Å), µ and so on. Apparently I'm require some sort of encoding to Unicode. Is there a way to handle this problem? see code bellow [CODE] wordDic = { '_chemical_formula_moiety': 'chemical formula ', '_chemical_formula_weight': 'Fw ', …

Member Avatar for deonis
0
209
Member Avatar for deonis

I am trying to develop a function for my application which would use already opened file (fin) and read certain line from it. Each line in the text starting from given keywords (pos1). Finally this function should return a print of all line containing the keywords pos1. But apparently "linecache" …

Member Avatar for deonis
0
272
Member Avatar for deonis

Hello I'm trying to add highlighting to the specific keywords in the text widget. For instance I would like to highlight : Hello World. where is "hello" - will be coloured in red and "World" coloured green. Any Idea ??? [CODE] from Tkinter import * import os import subprocess import …

Member Avatar for deonis
0
3K