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
On Tue, May 1, 2012 at 5:19 AM, Khalid Al-Ghamdi emailkg...@gmail.com 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
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 comer.dun...@gmail.com 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
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 is correct?
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 window
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 invoke
Prasad, Ramit wrote:
Steven D'Aprano wrote:
Robert Sjoblom wrote:
On 30 April 2012 23:25, Comer Duncan comer.dun...@gmail.com 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
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
Steven D'Aprano wrote:
Prasad, Ramit wrote:
Steven D'Aprano wrote:
Robert Sjoblom wrote:
On 30 April 2012 23:25, Comer Duncan comer.dun...@gmail.com 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
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 a
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
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
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
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,
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
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
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
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
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
22 matches
Mail list logo