Re: EOFError: marshal data too short -- causes?

2015-12-28 Thread Terry Reedy
On 12/29/2015 1:50 AM, Glenn Linderman wrote: Here's a sanatized stack trace off my web server: File ".../cgihelpers.py", line 10, in import cgitb File ".../py34/lib/python3.4/cgitb.py", line 24, in import inspect File ".../py34/lib/python3.4/inspect.py", line 54, in from

EOFError: marshal data too short -- causes?

2015-12-28 Thread Glenn Linderman
Here's a sanatized stack trace off my web server: File ".../cgihelpers.py", line 10, in import cgitb File ".../py34/lib/python3.4/cgitb.py", line 24, in import inspect File ".../py34/lib/python3.4/inspect.py", line 54, in from dis import COMPILER_FLAG_NAMES as _flag_names File

Re: Message Box

2015-12-28 Thread Terry Reedy
On 12/28/2015 4:43 PM, Malik Brahimi wrote: I have an event driven script What does that mean, more specifically? that prompts users as the events are triggered with a message box. Is there anyway with any GUI toolkit to create these dialogs simultaneously in the event that they coincide?

Message Box

2015-12-28 Thread Malik Brahimi
Hey Guys, I have an event driven script that prompts users as the events are triggered with a message box. Is there anyway with any GUI toolkit to create these dialogs simultaneously in the event that they coincide? I have been trying everything, but I can't seem to get it right. Malik -- https:

Re: Need help on a project To :"Create a class called BankAccount with the following parameters "

2015-12-28 Thread Prince Udoka
thanks everyone, though it was very tough, but i thank GOD On Mon, Dec 28, 2015 at 11:29 PM, Cameron Simpson wrote: > On 28Dec2015 01:34, Prince Udoka wrote: > >> bu i have come up with a solution, that will work but encounter a problem >> in the set, giving set not manipulated correctly: >> >>

Re: Need help on a project To :"Create a class called BankAccount with the following parameters "

2015-12-28 Thread Cameron Simpson
On 28Dec2015 01:34, Prince Udoka wrote: bu i have come up with a solution, that will work but encounter a problem in the set, giving set not manipulated correctly: def manipulate_data(kind, data): if kind == 'list': return list(data)[::-1] elif kind == 'set': return set(dat

Re: Need help on a project To :"Create a class called BankAccount with the following parameters "

2015-12-28 Thread botic
lee, i will give u the answer just inbox me princeud...@yahoo.com, so that i can drop it privately -- https://mail.python.org/mailman/listinfo/python-list

Re: Converting py files to .exe and .dmg

2015-12-28 Thread Adam M
On Monday, December 28, 2015 at 10:35:41 AM UTC-5, Brian Simms wrote: > Hi there, > > I have done a lot of looking around online to find out how to convert Python > files to .exe and .dmg files, but I am confused. Could someone provide > pointers/advice as to how I can turn a Python file into a

Re: Converting py files to .exe and .dmg

2015-12-28 Thread Denis McMahon
On Mon, 28 Dec 2015 07:35:18 -0800, Brian Simms wrote: > I have done a lot of looking around online to find out how to convert > Python files to .exe and .dmg files, but I am confused. Could someone > provide pointers/advice as to how I can turn a Python file into a > Windows .exe and Mac .dmg fil

Converting py files to .exe and .dmg

2015-12-28 Thread Brian Simms
Hi there, I have done a lot of looking around online to find out how to convert Python files to .exe and .dmg files, but I am confused. Could someone provide pointers/advice as to how I can turn a Python file into a Windows .exe and Mac .dmg file. Thanks for any help. -- https://mail.python.

Re: Need help on a project To :"Create a class called BankAccount with the following parameters "

2015-12-28 Thread Mark Lawrence
On 28/12/2015 09:25, lee wrote: I'm still stuck on this, any Rescuer? Try running your code at an interactive prompt, or in a debugger, or use paper and pencil to trace what the code is actually doing as opposed to what you are required to get it to do. -- My fellow Pythonistas, ask not wh

Re: Need help on a project To :"Create a class called BankAccount with the following parameters "

2015-12-28 Thread Joel Goldstick
On Mon, Dec 28, 2015 at 4:53 AM, lee wrote: > On Monday, December 28, 2015 at 10:38:47 AM UTC+1, Ben Finney wrote: > > lee writes: > > > > > I'm still stuck on this, any Rescuer? > > > > You appear to be yet another different person asking about this homework > > assignment. > > > > Please: > > >

Re: Need help on a project To :"Create a class called BankAccount with the following parameters "

2015-12-28 Thread lee
On Monday, December 28, 2015 at 10:38:47 AM UTC+1, Ben Finney wrote: > lee writes: > > > I'm still stuck on this, any Rescuer? > > You appear to be yet another different person asking about this homework > assignment. > > Please: > > * This forum is not suitable for the kind of close attention

Re: Need help on a project To :"Create a class called BankAccount with the following parameters "

2015-12-28 Thread Ben Finney
Prince Udoka writes: > pls 4give my use of language Your messages are becoming quite disruptive and inconsiderate of your readers. Please take more care with each message, don't bombard us with a series of poorly-thought-out, hyper-abbreviated messages. Please take extreme-beginner discussions

Re: Need help on a project To :"Create a class called BankAccount with the following parameters "

2015-12-28 Thread Prince Udoka
def manipulate_data(kind, data): if kind == 'list': return list(data)[::-1] elif kind == 'set': return set(data) elif kind == 'dictionary': return dict.keys(data) manipulate_data("list", range(1,6)) manipulate_data("set", {"a", "b", "c", "d", "e",}) manipu

Re: Need help on a project To :"Create a class called BankAccount with the following parameters "

2015-12-28 Thread Ben Finney
lee writes: > I'm still stuck on this, any Rescuer? You appear to be yet another different person asking about this homework assignment. Please: * This forum is not suitable for the kind of close attention to very basic learning. Take this discussion to the ‘tutor’ forum https://mail.pytho

Re: Need help on a project To :"Create a class called BankAccount with the following parameters "

2015-12-28 Thread Prince Udoka
bu i have come up with a solution, that will work but encounter a problem in the set, giving set not manipulated correctly: def manipulate_data(kind, data): if kind == 'list': return list(data)[::-1] elif kind == 'set': return set(data) elif kind == 'dictionary':

Re: Need help on a project To :"Create a class called BankAccount with the following parameters "

2015-12-28 Thread Prince Udoka
wow thats true the code did not work -- https://mail.python.org/mailman/listinfo/python-list

Re: Need help on a project To :"Create a class called BankAccount with the following parameters "

2015-12-28 Thread lee
I'm still stuck on this, any Rescuer? -- https://mail.python.org/mailman/listinfo/python-list