[ANN] Biovarase ver 4.2

2018-12-25 Thread Beppe
ols.py because it seems widgets it' s a reserved word in deep python tk file Clean, with the Spider help, very much code lines. All source code on https://github.com/1966bc/Biovarase thank you for reading. regards beppe -- https://mail.python.org/mailman/listinfo/python-list

[ANN] Biovarase ver 2.8

2018-11-24 Thread Beppe
e last dataset for every test and relative bacth. Add histogram to plot frequency distribution of a dataset. Some minor refactoring on main.py code. We deserve an updating to version 2.8. ;) All source code on https://github.com/1966bc/Biovarase thank you for reading. regards beppe -- https

Re: [ANN] Biovarase ver 2

2018-02-19 Thread Beppe
Il giorno lunedì 19 febbraio 2018 23:02:43 UTC+1, Chris Angelico ha scritto: > On Tue, Feb 20, 2018 at 8:45 AM, Beppe wrote: > > > > Biovarase has been updated to version 2, > > > > The project has been migrated from python 2.7 to python 3.5 > > > > Biovara

[ANN] Biovarase ver 2

2018-02-19 Thread Beppe
data to a temp excel file click on File/Export. Biovarase requires Python 3 Biovarase use Tkinter and matplotlib All source code on https://github.com/1966bc/Biovarase I'made it for fun :(. I would appreciate any suggestions you might have. regards beppe -- https://mail.python.org/m

Re: [Tkinter]Validation to multiple Entry widgets

2018-02-17 Thread Beppe
Il giorno sabato 17 febbraio 2018 20:21:53 UTC+1, Peter Otten ha scritto: > Beppe wrote: > > > I would validate values input, on key, in multiple Entry widgets create at > > run time > > > > I wrote this snip but even if the entry are created and the callback work

[Tkinter]Validation to multiple Entry widgets

2018-02-17 Thread Beppe
else: return True root = tk.Tk() app = Application(master=root) app.mainloop() tips? regards beppe -- https://mail.python.org/mailman/listinfo/python-list

Re: [TKinter]How to set LabelFrames font and color from option file

2017-12-14 Thread Beppe
Il giorno giovedì 14 dicembre 2017 19:28:53 UTC+1, Gene Heskett ha scritto: > On Thursday 14 December 2017 10:00:07 Beppe wrote: > > > Il giorno giovedì 14 dicembre 2017 15:18:31 UTC+1, Peter Otten ha > scritto: > > > Beppe wrote: > > > > I don't succ

Re: [TKinter]How to set LabelFrames font and color from option file

2017-12-14 Thread Beppe
Il giorno giovedì 14 dicembre 2017 17:29:36 UTC+1, Beppe ha scritto: > Il giorno giovedì 14 dicembre 2017 16:36:24 UTC+1, Peter Otten ha scritto: > > Beppe wrote: > > > > > Il giorno giovedì 14 dicembre 2017 15:18:31 UTC+1, Peter Otten ha scritto: > > >> B

Re: [TKinter]How to set LabelFrames font and color from option file

2017-12-14 Thread Beppe
Il giorno giovedì 14 dicembre 2017 16:36:24 UTC+1, Peter Otten ha scritto: > Beppe wrote: > > > Il giorno giovedì 14 dicembre 2017 15:18:31 UTC+1, Peter Otten ha scritto: > >> Beppe wrote: > >> > >> > I don't succeed in planning the value of the fon

Re: [TKinter]How to set LabelFrames font and color from option file

2017-12-14 Thread Beppe
Il giorno giovedì 14 dicembre 2017 15:18:31 UTC+1, Peter Otten ha scritto: > Beppe wrote: > > > I don't succeed in planning the value of the font and color in the > > LabelFrames using the option_db file, such as > > > > *LabelFrame*font: Helvetica

[TKinter]How to set LabelFrames font and color from option file

2017-12-14 Thread Beppe
Hi to everybody, I don't succeed in planning the value of the font and color in the LabelFrames using the option_db file, such as *LabelFrame*font: Helvetica 14 *LabelFrame*foreground: red exist a list of the keywordses to use? thanks beppe -- https://mail.python.org/mailman/lis

Re: Circular iteration on tuple starting from a specific index

2017-05-31 Thread Beppe
Il giorno mercoledì 31 maggio 2017 00:18:40 UTC+2, guillaum...@giome.fr ha scritto: > Hi Beppe ! > > There are some powerful tools in the standard *itertools* module, you > should have a look at it :) > https://docs.python.org/3/library/itertools.html > > This is what I w

Re: Circular iteration on tuple starting from a specific index

2017-05-30 Thread Beppe
Il giorno martedì 30 maggio 2017 18:43:42 UTC+2, Ian ha scritto: > On Tue, May 30, 2017 at 10:25 AM, Beppe wrote: > > hi all > > > > I've a tuple, something like > > > > x = ("A","B","C","D","E","F&qu

Re: Circular iteration on tuple starting from a specific index

2017-05-30 Thread Beppe
Il giorno martedì 30 maggio 2017 18:51:50 UTC+2, MRAB ha scritto: > On 2017-05-30 17:25, Beppe wrote: > > hi all > > > > I've a tuple, something like > > > > x = ("A","B","C","D","E","F",&qu

Circular iteration on tuple starting from a specific index

2017-05-30 Thread Beppe
gt;> for i in x[2:]: ... print i ... C D E F G H >>> with the difference that I would want to restart from the beginning when I reach the end of the tupla C D E F G H A B I would want to make a circular iteration suggestions? regards beppe -- https://mail.python.org/mailman/listinfo/python-list

[ANN] Biovarase version 0..1

2017-05-07 Thread Beppe
temp excel file click on File/Export. Biovarase requires Python 2.7.9 and matplotlib 1.4.2-3.1 All source code on https://github.com/1966bc/Biovarase I'made it for fun :(. I would appreciate any suggestions you might have. regards beppe -- https://mail.python.org/mailman/listinfo/python-list

Re: Converting tuple of lists of variable length into dictionary

2015-10-18 Thread Beppe
Il giorno domenica 18 ottobre 2015 14:47:34 UTC+2, Peter Otten ha scritto: > Beppe wrote: > > > Il giorno domenica 18 ottobre 2015 13:00:44 UTC+2, Peter Otten ha scritto: > >> Beppe wrote: > >> > >> > hi to everybody, I must turn a tuple of lists into a

Re: Converting tuple of lists of variable length into dictionary

2015-10-18 Thread Beppe
Il giorno domenica 18 ottobre 2015 14:35:53 UTC+2, Chris Angelico ha scritto: > On Sun, Oct 18, 2015 at 11:23 PM, Beppe wrote: > > hi Peter, you are right, no duplicates are admitted between lists, > > anyway your solution,works on python 3 but not on 2. > > however beautif

Re: Converting tuple of lists of variable length into dictionary

2015-10-18 Thread Beppe
Il giorno domenica 18 ottobre 2015 13:00:44 UTC+2, Peter Otten ha scritto: > Beppe wrote: > > > hi to everybody, I must turn a tuple of lists into a dictionary. > > > > something like > > > > (['a', 'b', 'c', 'd', &#x

Converting tuple of lists of variable length into dictionary

2015-10-18 Thread Beppe
;g', 'h'] l ['m', 'n', 'o'] m ['l', 'n', 'o'] n ['l', 'm', 'o'] o ['l', 'm', 'n'] I have done this but it doesn't convince a lot me. my_tuple = (['a','b','c','d','e','f'], ['g','h','i',], ['l','m','n','o'],) my_dict = {} LETTERS = [] for letters in my_tuple: LETTERS = letters[:] for letter in sorted(LETTERS): if my_dict.has_key(str(letter)): my_dict.append(letters) else: letters.remove(str(letter)) my_dict[letter]= letters letters = LETTERS[:] for k,v in sorted(my_dict.iteritems()): print k,v Suggestions? regards beppe -- https://mail.python.org/mailman/listinfo/python-list

Re: Set static attributes...maybe.

2014-08-18 Thread Beppe
Il giorno lunedì 18 agosto 2014 19:13:08 UTC+2, Chris Kaynor ha scritto: > On Mon, Aug 18, 2014 at 10:00 AM, Beppe wrote: > > > hi to everybody, > > in the following scrip I try to call the function read_parameters () but > returns me that wants two arguments!?!?! > &

Set static attributes...maybe.

2014-08-18 Thread Beppe
be for example a path or a connection to a database. suggestions? regards beppe class Master(object): def __init__(self,): pass class Engine(Master): dict_parameters = {} def __init__(self,): super(Engine, self).__init__() @staticmethod def read_parameters(self

Re: cx_Oracle clause IN using a variable

2012-10-17 Thread Beppe
Il giorno martedì 16 ottobre 2012 19:23:22 UTC+2, Hans Mulder ha scritto: > On 16/10/12 15:41:58, Beppe wrote: > > > Hi all, > > > I don't know if it is the correct place to set this question, however, > > > I'm using cx_Oracle to query an Oracle datab

cx_Oracle clause IN using a variable

2012-10-16 Thread Beppe
t["dsn"]) cur = con.cursor() cur.execute(sql,args) rs = cur.fetchall() but it doesn't work in the sense that doesn't return anything If i use the statment without variable SELECT field1,field2,field3 FROM my_table WHERE field_3 IN ('CNI','CNP') the query works what is wrong? suggestions? regards beppe -- http://mail.python.org/mailman/listinfo/python-list

Re: wxPython SQLite and Reportlab demo

2011-02-25 Thread Beppe
On 25 Feb, 08:33, Tim Roberts wrote: > Beppe wrote: > > >I would recommend this my little work on sourceforge. > > >http://sourceforge.net/projects/pyggybank/ > > >you can download an exe (pyggy_w32.7z)  make with py2exe > >and the source  (pyggy_source.7z