Hello

2010-07-09 Thread Dani Valverde
Hello! I am new to python and pretty new to programming (I have some expertise wit R statistical programming language). I am just starting, so my questions may be a little bit stupid. Can anyone suggest a good editor for python? Cheers! Dani -- Daniel Valverde Saubí c/Joan Maragall 37 4 2 17

Re: Hello

2010-07-09 Thread Dani Valverde
depends on your OS. I us Mac OSX and like jEdit (my lab mate likes bbEdit). When I was on windows I liked notepad2. On linux i really like gEdit. Any of these will work great for a beginner! Bradley On Fri, Jul 9, 2010 at 12:31 PM, Dani Valverde wrote: Hello! I am new to python and pretty new

Re: Hello

2010-07-10 Thread Dani Valverde
geremy condra wrote: On Fri, Jul 9, 2010 at 1:08 PM, Dani Valverde wrote: Sorry, I forgot to mention that I am using Linux. In fact, my first test have been with gedit. Is there any way to directly run the Python code into the console? Gedit has a plugin that brings up a python

Re: Hello

2010-07-10 Thread Dani Valverde
geremy condra wrote: On Sat, Jul 10, 2010 at 6:49 AM, Dani Valverde wrote: geremy condra wrote: On Fri, Jul 9, 2010 at 1:08 PM, Dani Valverde wrote: Sorry, I forgot to mention that I am using Linux. In fact, my first test have been with gedit. Is there any way to directly

Declare self.cursor

2010-08-24 Thread Dani Valverde
Hello! I am working on a GUI to connect to a MySQL database using MySQLdb (code in attached file). I define the cursor in lines 55-66 in the OnLogin function within the LoginDlg class. /db= MySQLdb.connect(host='localhost', user=Username , passwd=pwd, db='Ornithobase') self.cursor = db.curso

SetGridCursor not working?

2010-09-22 Thread Dani Valverde
Hello! I have a table with some rows and cells (code at the end), and created a function which searches for text inside the cells and returns the row number where the text is (to simplify the example, only English Name is working). Then, it should set the grid cursor focus to that row (I want

Auto size wx.StaticText

2010-09-22 Thread Dani Valverde
Hello! Is there a way to automatically set the size of a wx.StaticText to fit its content? Cheers! Dani -- Daniel Valverde Saubí c/Joan Maragall 37 4 2 17002 Girona Spain Telèfon mòbil: +34651987662 e-mail: dani.valve...@gmail.com http://www.acrocephalus.net http://natupics.blogspot.com Si no