Re: Author of a Python Success Story Needs a Job!

2009-12-28 Thread Mohammad Tayseer
projects to convince employers of your experience. If you are ready to move outside the US, do it. It may be better in other countries, but do not move unless you have a very solid offering. I hope the best for you and your family. Mohammad Tayseer http://spellcod

Re: Looking for a dream language: sounds like Python to me.

2009-07-27 Thread Mohammad Tayseer
You can generate binaries using py2exe, and you can create UI using Tkinter (which is very easy) or wxPython (which have GUI builders) Mohammad Tayseer http://spellcoder.com/blogs/tayseer From: Piet van Oostrum To: python-list@python.org Sent: Monday, July

Re: 2.6.1 - simple division

2009-03-09 Thread Mohammad Tayseer
>>> j = .8 >>> j 0.80004 Python follows the IEEE-754 standard, which doesn't represent the numbers exactly. See http://en.wikipedia.org/wiki/IEEE_754 Mohammad Tayseer http://spellcoder.com/blogs/tayseer From: "farsi

Re: [regex] Basic rewriting

2007-11-21 Thread Mohammad Tayseer
It's also preferred if you use \d{2} instead of repeating \d Mohammad Tayseer http://spellcoder.com/blogs/tayseer Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how.

For Python programmers in Egypt

2007-06-21 Thread Mohammad Tayseer
ay.us/ Thanks Mohammad Tayseer http://spellcoder.com/blogs/tayseer - It's here! Your new message! Get new email alerts with the free Yahoo! Toolbar.-- http://mail.python.org/mailman/listinfo/python-list

Re: Why Python?

2007-06-03 Thread Mohammad Tayseer
eclarations, etc. -- Chris Stewart [EMAIL PROTECTED] http://www.compiledmonkey.com -- http://mail.python.org/mailman/listinfo/python-list Mohammad Tayseer http://spellcoder.com/blogs/tayseer - Park yourself in front of a world of choices in

Re: Eureka moments in Python

2007-03-18 Thread Mohammad Tayseer
d group :) The next year, the teaching assistant refused that any project be done in Python because it is so easy :( Part of the productivity boos came from pyggy, a very simple yet powerful parser generator that made writing the compiler clear as exactly as our course note said :) Moham

Re: encoding - arabic(IBM 864) to UNICODE

2007-03-18 Thread Mohammad Tayseer
ery simple. You can add your own easily, if you knew how to do the decoding first ;) Mohammad Tayseer http://spellcoder.com/blogs/tayseer - Don't be flakey. Get Yahoo! Mail for Mobile and always stay connected to friends.-- http://mail.python.org/mailman/listinfo/python-list

Re: newbie question(file-delete trailing comma)

2007-02-26 Thread Mohammad Tayseer
kavitha thankaian <[EMAIL PROTECTED]> wrote: > and i need the output also in the same input.txt just add import os os.remove('in.txt') os.rename('out.txt', 'in.txt') - Don't be flakey. Get Yahoo! Mail for Mobile and always stay connected to friends.-- http://m

Re: newbie question(file-delete trailing comma)

2007-02-26 Thread Mohammad Tayseer
in_file = open('in.txt') out_file = open('out.txt', 'w') for line in in_file: print >> out_file, line.strip(',') kavitha thankaian <[EMAIL PROTECTED]> wrote: hi, i have a file which has the contents as follows: a,b,c,d, a1,b1,c1,d1, a2,b2,c2,d2, i would like to delete all

Re: outlook bar like widget

2007-02-22 Thread Mohammad Tayseer
This is a module that does what you want using Tkinter from Tkinter import * class OutlookBar(Frame): def __init__(self, *args, **options): Frame.__init__(self, *args, **options) self.panes = {} def add_pane(self, name, pane): self.panes[n

Re: outlook bar like widget

2007-02-22 Thread Mohammad Tayseer
I implemented this module using Tkinter --- from Tkinter import * class OutlookBar(Frame): def __init__(self, *args, **options): Frame.__init__(self, *args, **options) self.panes = {} def add_pane(self, name, pane): self.panes[name]

Re: Question

2007-02-07 Thread Mohammad Tayseer
> I have certain data in the default file format ( GADGET ) . Can you be more specific about the file format? what is the exact name, or the format specification? - It's here! Your new message! Get new email alerts with the free Yahoo! Toolbar.-- http://mail.p

RE: Can a Tkinter GUI check for abort script:

2006-12-19 Thread Mohammad Tayseer
Michael Yanowitz <[EMAIL PROTECTED]> wrote: > What I am hoping for is a function call I can make, without knowing any > of the GUI objects, I can call from test3.py (or while test3.py is running) > which will refresh the GUI and check for activity such as button presses > on the GUI itse

RE: Can a Tkinter GUI check for abort script:

2006-12-19 Thread Mohammad Tayseer
I don't know why this happen. do you call mainloop() inside the test3.py?? you shouldn't Michael Yanowitz <[EMAIL PROTECTED]> wrote:> Presently what happens is that the script takes over and all the buttons on > the GUI disappear > as the GUI is not given any cpu time to refresh or ch

Re: Can a Tkinter GUI check for abort script:

2006-12-18 Thread Mohammad Tayseer
To view a button & hide the other, call .pack_forget() on the button you want to hide & pack() on the button you want to show test3.py should contains a main() function that returns the new window. if you press 'Abort script' button you should call new_window.destroy(), pack_forget() the curren

Re: please provide urls for some python success stories.

2006-12-03 Thread Mohammad Tayseer
Hello Krishnakant There is a book "Python success stories". Download the 2 volumes from here http://pythonology.org/success If you want to convince java programmers to use python, show them this presentation from PyCon2003 "The seven habits of highly effective technology disruption" www.infoethe

Re: tkFileDialog

2006-11-09 Thread Mohammad Tayseer
use askopenfilename() instead of askopenfile()> > import tkFileDialog> file = tkFileDialog.askopenfile()> print file> Access over 1 million songs - Yahoo! Music Unlimited.-- http://mail.python.org/mailman/l

Re: PIL: match for ImageMagick's display -ping

2006-11-09 Thread Mohammad Tayseer
>>> import Image>>> im = Image.open('myimage.jpg')>>> im.size(200, 100)PIL reads the header only in the Image.open() call above. Sponsored Link Mortgage rates near 39yr lows. $420,000 Mortgage for $1,399/mo - Calculate new house payment-- http://mail.python.org/mailman/listinfo/python-list