hi all,
I'm trying to create an app that schedules 3000 to 5000 trainees'
practical exams.
All the trainees basic info (name, badge, major, etc.) is in excel and i've
managed to convert it into a *HUGE *list via a csv.reader object.
My question is: is this the right way to go or should i use sql
On Tue, May 1, 2012 at 5:19 AM, Khalid Al-Ghamdi wrote:
> hi all,
>
> I'm trying to create an app that schedules 3000 to 5000 trainees'
> practical exams.
>
> All the trainees basic info (name, badge, major, etc.) is in excel and i've
> managed to convert it into a HUGE list via a csv.reader objec
Is there space a between "#!" and "/usr/bin/env python"?
I have seen Python manual, it says <#! /usr/bin/env python>
But snippet manager of many text editing programs have <#!/usr/bin/env
python>. Python is a strongly typed language, which one is correct?
__
> Steven D'Aprano wrote:
> Robert Sjoblom wrote:
> > On 30 April 2012 23:25, Comer Duncan wrote:
> >> Hi,
> >>
> >> I have a newbie type question. Say I have started a python (or
> >> ipython) session and have done some imports and have also defined some
> >> new variables since the session start
On 05/01/2012 09:55 AM, Santosh Kumar wrote:
> Is there space a between "#!" and "/usr/bin/env python"?
>
> I have seen Python manual, it says <#! /usr/bin/env python>
> But snippet manager of many text editing programs have <#!/usr/bin/env
> python>. Python is a strongly typed language, which one
Hi all, Please can anyone tell me how i bind the activation of a button with
input from an entry widget. i know i should be using classes etc. but i don't
understand them fully yet.. problem here is that no matter what i enter in the
entry window it displays as password incorrect.
from Tkinter
On 05/01/2012 10:40 AM, ADRIAN KELLY wrote:
> Hi all, Please can anyone tell me how i bind the activation of a button with
> input from an entry widget. i know i should be using classes etc. but i don't
> understand them fully yet.. problem here is that no matter what i enter in
> the entry wind
> I have seen Python manual, it says <#! /usr/bin/env python>
> But snippet manager of many text editing programs have <#!/usr/bin/env
> python>. Python is a strongly typed language, which one is correct?
That's not python code - it's interpreted by the shell (on Linux/Unix)
to determine what to
Prasad, Ramit wrote:
Steven D'Aprano wrote:
Robert Sjoblom wrote:
On 30 April 2012 23:25, Comer Duncan wrote:
Hi,
I have a newbie type question. Say I have started a python (or
ipython) session and have done some imports and have also defined some
new variables since the session started. So
> Hi all,
> Please can anyone tell me how i bind the activation of a button with input
> from an entry widget. i know i should be using classes etc. but i don't
> understand them fully yet.. problem here is that no matter what i enter in
> the entry window it displays as password incorrect.
>
> fr
Steven D'Aprano wrote:
> Prasad, Ramit wrote:
> >> Steven D'Aprano wrote:
> >> Robert Sjoblom wrote:
> >>> On 30 April 2012 23:25, Comer Duncan wrote:
> Hi,
>
> I have a newbie type question. Say I have started a python (or
> ipython) session and have done some imports and hav
> and is used by the various Unix command shells to specify what program
> shall interpret this particular script.
To be precise, the shell does not care about the shebang line either, the
shebang is interpreted by the program loader in the kernel. The shell
simply execve()-ed a script containing
I have four images in a frame. I want to pop up a menu when the user right
clicks on an image, and when they choose an option from the menu, execute the
action.
I can create the popup menu, and bind it to the image. However, what I can't
figure out is how to detect in the popup menu code w
> I have four images in a frame. I want to pop up a menu when the user
> right clicks on an image, and when they choose an option from the menu,
> execute the action.
>
> I can create the popup menu, and bind it to the image. However, what I
> can't figure out is how to detect in the popup menu
Its getting complicated now. Will it effect or not?
Give me one word answer with one line description.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
On 05/01/2012 08:02 PM, Santosh Kumar wrote:
Its getting complicated now. Will it effect or not?
Give me one word answer with one line description.
"Experiment" -- Try it and see...
___
Tutor maillist - Tutor@python.org
To unsubscribe or change sub
On 02/05/12 01:02, Santosh Kumar wrote:
Its getting complicated now. Will it effect or not?
Give me one word answer with one line description.
impossible.
It depends what OS you are on, but you didn't say.
If its Windows the line makes no difference.
If it's Unix it depends on the variety, bu
Santosh Kumar wrote:
Its getting complicated now. Will it effect or not?
Give me one word answer with one line description.
No. Either of these are fine:
#! /usr/bin/env python
#!/usr/bin/env python
This is not a Python trick. It will work for Ruby, or Perl, or any other
language with an int
Alan Gauld wrote:
On 02/05/12 01:02, Santosh Kumar wrote:
Its getting complicated now. Will it effect or not?
Give me one word answer with one line description.
impossible.
It depends what OS you are on, but you didn't say.
If its Windows the line makes no difference.
On Windows, the prese
On 01/05/12 15:40, ADRIAN KELLY wrote:
Please can anyone tell me how i bind the activation of a button with
input from an entry widget.
I don;t know what you mean.
Do you want to make the button press when the entry widget changes? Or
change the entry widget when the button presses? Or just r
On 01/05/12 21:59, Chris Hare wrote:
... what I can't figure out is how to detect in the popup menu code
> which image fired the event
def do_popup(self,event):
The event argument has various attributes. For a mouse click it should
include the screen coordinates. You can use those to de
On 02/05/12 01:27, Steven D'Aprano wrote:
If it's Unix it depends on the variety, but usually no space is needed.
As far as I know, on any Unix, Linux or other POSIX system, the presence
or absence of a space between the #! and the path is irrelevant.
So far as I know you are right. One thin
On 5/1/12, Santosh Kumar wrote:
> Its getting complicated now. Will it effect or not?
No. It won't. Spaces between '#!' and '/foo/bar/whatever' are ignored.
Long Answer:
Don't worry about it. For example, on one of my Ubuntu linux boxes there's
69 rc files shipped with the OS that use the varia
23 matches
Mail list logo