Re: [Tutor] REQUIRED SUPPORT FOR CODE

2019-07-25 Thread john fabiani
Dabo has an AutoComplete method.  You review how it was done. Johnf On 7/25/2019 4:26 PM, Alan Gauld via Tutor wrote: On 25/07/2019 16:58, NITESH KUMAR wrote: I want to make Autocomplete searchbox using database .Please suggest me the code for this. Since you tell us next to noting we can onl

Re: [Tutor] how to get the weeks of a month

2019-03-04 Thread john fabiani
On 3/4/19 2:47 PM, David Rock wrote: On Mar 4, 2019, at 16:30, Ben Finney wrote: john fabiani writes: My understanding is - a week starts on Monday and ends on Sunday. That's behaviour specific to a timezone. Which one are you using, and does your program know to consult the tim

Re: [Tutor] how to get the weeks of a month

2019-03-04 Thread john fabiani
On 3/4/19 1:35 PM, David Rock wrote: On Mar 4, 2019, at 15:28, john fabiani wrote: I knew there was a simple why to get it done! But where is it off my a day? comparing $ cal March 2019 Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19

Re: [Tutor] how to get the weeks of a month

2019-03-04 Thread john fabiani
On 3/4/19 1:15 PM, David Rock wrote: On Mar 4, 2019, at 13:19, Alan Gauld via Tutor wrote: On 04/03/2019 18:54, john fabiani wrote: I need to print out the weeks of the month - given any month and any year. I'm not totally clear how you define a week. EDIT: OK I see the comment a

[Tutor] how to get the weeks of a month

2019-03-04 Thread john fabiani
Hi everyone, I'm not exactly a newbie but I can't seem to solve this problem. I need to print out the weeks of the month - given any month and any year. For example this month would have: 3/1/2019 - 3/3/2019   # notice that this a short week 3/4/2019 - 3/10/2019 3/11/2019 - 3/17/2019 3/18/2019

Re: [Tutor] I have a problem with def

2018-02-23 Thread john fabiani
I don't what you are doing but it should be at least def func(): notice the colon at the end. Johnf On 02/22/2018 02:16 PM, David Bauer wrote: it doesn't work, you are suppsed to declare a function as def func() and it comes back as: File "", line 1 def func() ^ SyntaxEr

Re: [Tutor] mixing 64 bit and 32 bit

2014-03-19 Thread John Fabiani
Thanks Johnf On 03/19/2014 11:01 AM, Reuben wrote: Hi John, The generated bytecodes will be different - but both version can run same code without issues Regards, Reuben On 19-Mar-2014 11:28 PM, "John Fabiani" <mailto:jo...@jfcomputer.com>> wrote: Hi, At my o

[Tutor] mixing 64 bit and 32 bit

2014-03-19 Thread John Fabiani
Hi, At my office we have a mix of XP (32bit) and Window 7 (64 bit). I installed python 64 bit on the windows 7 machines and 32 bit on the XP machines. The question is can the different version run the same code without causing issues. Can the 64 bit use the same byte code as the 32 bit? I

Re: [Tutor] which gets called

2012-04-06 Thread John Fabiani
On Friday, April 06, 2012 06:54:28 AM John Fabiani wrote: > Hi, > > I want to create a class that inherits two other classes. > > class NewClass( A,B) > > But both "A" and "B" contain a method with the same name ("onKeyDown"). > > If

[Tutor] which gets called

2012-04-06 Thread John Fabiani
Hi, I want to create a class that inherits two other classes. class NewClass( A,B) But both "A" and "B" contain a method with the same name ("onKeyDown"). If my "NewClass" does not contain something to override the methods which one would be called if myinstance = NewClass() myinstance.onKe

Re: [Tutor] Windows vs Linux processing speed.

2011-10-14 Thread John Fabiani
On Friday, October 14, 2011 09:45:57 am Tony Pelletier wrote: > Hi, > > I have a question regarding the speed of my program on linux in comparison > to windows. > > I'm using geopy and contacting Google for geocodes for records in a csv I > created. Like such: > > try: > reader = csv.r

Re: [Tutor] Conceptual Question About Use of Python for Employee Training Program

2011-06-25 Thread John Fabiani
On Saturday, June 25, 2011 06:18:14 am Adam Carr wrote: > Good Morning: > > I am very new to Python but I am enjoying the learning process. I have a > question about the application of Python to a problem at the industrial > business where I work. My two main questions are: > > 1. Can Python be u

Re: [Tutor] Looking for a firebird interface

2005-01-05 Thread John Fabiani
Thanks all I fixed it. John On Tuesday 04 January 2005 21:30, John Fabiani wrote: > Hi, > I'm using SUSE x86_64 Linux and unable to compile the KInterbasdb interface > for Python.  I'm wondering if anyone has it compiled on either a 32bit or > 64bit linux.  Of course I'

[Tutor] Looking for a firebird interface

2005-01-04 Thread John Fabiani
Hi, I'm using SUSE x86_64 Linux and unable to compile the KInterbasdb interface for Python.  I'm wondering if anyone has it compiled on either a 32bit or 64bit linux.  Of course I'm hoping someone is willing to post it. Or tell me where I might get it.  Thanks in advance.   John