Re: [BangPypers] Nice feature

2011-04-01 Thread Noufal Ibrahim
On Fri, Apr 01 2011, Ruchir Shukla wrote: Hello, This is just because you are changing the value of b and in foo there is a reference of b. while in foo = (1,[2,3,4]) foo[1] += [6] Traceback (most recent call last): File stdin, line 1, in module TypeError: 'tuple' object does not

Re: [BangPypers] Fwd: Help with Python IDE's

2011-03-28 Thread Noufal Ibrahim
On Mon, Mar 28 2011, Noufal Ibrahim wrote: [...] JetBrains (creators of the famous Java IDE IntelliJ which a lot of good people I knwo swear by) created PyCharm[2] that specifically boasts of good Django integration. I met the devs and they seem like bright people. Another interesting

Re: [BangPypers] Fwd: Help with Python IDE's

2011-03-28 Thread Noufal Ibrahim
On Mon, Mar 28 2011, Anand Balachandran Pillai wrote: [...] -- Forwarded message -- From: Cherian Thomas cherian...@gmail.com [...] Can you suggest me an IDE for Django development? I looking to build an app at Zynga in extremely fast iterations. I am not very conversant

Re: [BangPypers] How to handle files efficiently in python

2011-03-22 Thread Noufal Ibrahim
On Tue, Mar 22 2011, briji...@gmail.com wrote: Hi All, How can I print last five lines of a file using python. The file may contain thousands of lines each line may differ in length. [...] You'd have to use some kind of heuristic (a.k.a. dirty hack). Stat the file to find it's size

Re: [BangPypers] issues using constructor in unittest

2011-03-14 Thread Noufal Ibrahim
On Mon, Mar 14 2011, Nitin Kumar wrote: [...] I used this way as explained by you, still getting the same error. [...] Why don't you consider using an alternate test runner like nose or py.test? This whole XUnit style unit testing thing is not really necessary in the Python world. You just

Re: [BangPypers] issues using constructor in unittest

2011-03-14 Thread Noufal Ibrahim
On Mon, Mar 14 2011, Senthil Kumaran wrote: [...] This whole XUnit style unit testing thing is not really necessary in the Python world. Why? It is very much part of python world. It is part of the stdlib, because it is so easy to use. There are lots of libraries in the standard library

Re: [BangPypers] unittest failing

2011-03-08 Thread Noufal Ibrahim
On Tue, Mar 08 2011, Kenneth Gonsalves wrote: hi, I am trying to figure out unittests on exceptions. I have a test which should pass - but it is failing. The simplest possible code is here: #!/usr/bin/env python import unittest def testfunc(): if 1: raise TypeError You

Re: [BangPypers] Python Script to communicate to Application Servers

2011-03-03 Thread Noufal Ibrahim
On Thu, Mar 03 2011, Python User wrote: Hi All, I am new user to python, I am interested in knowing how to use python script to communicate with Application server. All I need is Establish connection with an Application server, Send a Request XML and get the Response XML. Probably the

Re: [BangPypers] [OT] NoSQL Bangalore Meetup

2011-02-26 Thread Noufal Ibrahim
On Sat, Feb 26 2011, Venkatraman S wrote: On Sat, Feb 26, 2011 at 9:55 AM, Anand Chitipothu anandol...@gmail.comwrote: NoSQL Bangalore meetup is happening this sunday. Venue: C42 - http://maps.google.co.in/maps?q=C42 Time: Sunday, Feb 27 - 15:00 Sorry for OT post. Posting it here as I've

Re: [BangPypers] Python GUI Tkinter Button arrangement

2011-02-17 Thread Noufal Ibrahim
On Thu, Feb 17 2011, Ganesh Kumar wrote: Hi., I have changed my code but now also not working.. This my updated code http://pastebin.com/22BgyQsD [...] I haven't looked through your code. The order of packing is important and you should read through

Re: [BangPypers] [Announcement] Delhi/NCR Python Users Group India - Started

2011-02-14 Thread Noufal Ibrahim
On Tue, Feb 15 2011, Arulalan T wrote: Dear All,              I am happy to announce that a new  Python usergroup is created for  Nation Capital Region consisting  of * NCT Delhi * Haryana * Rajasthan *Uttar Pradesh . Do join us on the mailing list for NCR Python Users Group India .

Re: [BangPypers] BangPypers meeting February 2011

2011-02-12 Thread Noufal Ibrahim
On Sat, Feb 12 2011, Noufal Ibrahim wrote: On Sat, Feb 12 2011, Baiju M wrote: I just started from home (Banashankari), will reach the meeting place (Domlur) aroud 4pm. [...] I'll be there slightly after 4. We had a fun little meeting. Sorted out some task for the getpython3 website

Re: [BangPypers] BangPypers meeting February 2011

2011-02-12 Thread Noufal Ibrahim
On Sat, Feb 12 2011, Santosh Rajan wrote: My 2 cents before you jump into the nosql bandwagon. 1) If sql works for you, stick with it. RDBMS's like postgeSQL, MySQL will not wake you up in the middle of the night with a crash. 2) If you have scaling problems, add some horse power to you

Re: [BangPypers] BangPypers meeting February 2011

2011-02-11 Thread Noufal Ibrahim
On Fri, Feb 11 2011, Noufal Ibrahim wrote: On Fri, Feb 11 2011, Baiju M wrote: On Fri, Feb 11, 2011 at 5:51 PM, Baiju M baiju.m.m...@gmail.com wrote: On Fri, Feb 11, 2011 at 12:03 PM, devjyoti patra djpa...@gmail.com wrote: Hi All, Is tomorrow's meet confirmed? Anyone please post

Re: [BangPypers] BangPypers meeting February 2011

2011-02-11 Thread Noufal Ibrahim
On Fri, Feb 11 2011, Noufal Ibrahim wrote: [...] Sidu is no longer with TW. I have Sriram's number. I will call him in the morning tomorrow and mail the list. I'm not sure if the venue will be available though. Sorry I didn't do this earlier. I was occuppied with the PyCon business

Re: [BangPypers] Ideas for Python concurrency...

2011-02-08 Thread Noufal Ibrahim
On Tue, Feb 08 2011, Baishampayan Ghose wrote: Mutliprocessing means, data copying, talking to each other through PIPES, also it has its issues with running on Windows (all function calls should be pickelable) Threads seems pretty stable on most platforms where Python runs. Threads won't

Re: [BangPypers] Ideas for Python concurrency...

2011-02-08 Thread Noufal Ibrahim
On Tue, Feb 08 2011, vikas ruhil wrote: I am using Linux , unix both for this , whatsoever OS never matter? [...] The OS matters in many cases. It's folly to think otherwise. The multiprocessing modules implementation on windows is significantly different (and inferior) to the implementation

Re: [BangPypers] Ideas for Python concurrency...

2011-02-08 Thread Noufal Ibrahim
On Tue, Feb 08 2011, vikas ruhil wrote: i am telling about that specific case for that project , also specific about question which is ask by Vishal . i know OS always matter but not in some specific case i know you talking about this multiprocessing is a package that supports spawning

Re: [BangPypers] BangPypers meeting February 2011

2011-02-04 Thread Noufal Ibrahim
On Fri, Feb 04 2011, Baiju M wrote: [...] It looks like majority of the people prefer Feb 12th (Saturday): http://doodle.com/53iqx4gdu5fuzws7 We can finalize the date by next Tuesday (Feb 8th) based on the majority preference. Meanwhile let's discuss about the agenda for the meeting. If

Re: [BangPypers] how to uninstall a package installed using easy_install

2011-02-03 Thread Noufal Ibrahim
On Thu, Feb 03 2011, Kenneth Gonsalves wrote: hi, I installed hg-git using easy_install. Now hg is b0rked. What is the best way of uninstalling hg-git - I do not see any uninstall option in easy_install. The only way is to to use easy_install -m to remove the entry from the .pth file and

Re: [BangPypers] Problem installing Maverick on lenovo

2011-02-03 Thread Noufal Ibrahim
This is *way* off topic for a Python programming language list. You should find a forum more appropriate. On Thu, Feb 03 2011, Neha Jain wrote: Hey all, I tried to run maverick first from the CD, live everything was working absolutely fine. Then I installed(simply, erase and install)

Re: [BangPypers] BangPypers meeting February 2011

2011-02-03 Thread Noufal Ibrahim
On Fri, Feb 04 2011, Baiju M wrote: Hi All, Let's have a meeting this month ? I have created a Doodle for this: http://doodle.com/53iqx4gdu5fuzws7 Please add your convenient dates. We can meet at ThoughtWorks place: http://goo.gl/AmDA9 If they have any inconvenience, we can move some

[BangPypers] [Ann] [Commercial] Weekend training program on Core Python

2011-02-02 Thread Noufal Ibrahim
-- ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] User group meeting

2011-02-01 Thread Noufal Ibrahim
On Tue, Feb 01 2011, satyaakam goswami wrote: On Tue, Feb 1, 2011 at 8:34 PM, vikas ruhil vikasruhi...@gmail.com wrote: i am ready..so meet up their for python okayz yes that is why i am inviting you go ahead and add your name and topic on the wiki page. [...] Someone with some

[BangPypers] PyCon APAC CFP

2011-02-01 Thread Noufal Ibrahim
Hello everyone, The APAC PyCon scheduled to held in early June is looking for quality talks and other presentations. An overview of last years conference and this years dates and plans is over here http://nibrahim.net.in/pycon-apac-2011.pdf Please take a look and

Re: [BangPypers] [OT] I need python job please let me know !

2011-02-01 Thread Noufal Ibrahim
On Wed, Feb 02 2011, jaya kumar wrote: hi to all am looking for a python job in bangalore is there any openings in python ? please let me know ! when and where the python user group meet will be held in bangalore ? location and timings please ? thank u bye take care [...] The

Re: [BangPypers] How to get class names from DLL file

2011-01-31 Thread Noufal Ibrahim
On Tue, Feb 01 2011, Sibtey Mehdi wrote: Hi, I am trying to get the class names from the DLL files in unix plateform. Any can please help me out to solve this problem. The format of Microsoft DLL files is detailed over here

Re: [BangPypers] User group meeting

2011-01-31 Thread Noufal Ibrahim
On Mon, Jan 31 2011, Gora Mohanty wrote: and also am not entirely happy with a Python-only group: I feel that it further fragments an already weak community. So, the order of business should be: [...] Well, a Python user group is a Python only thing. I generally like small focussed

Re: [BangPypers] How to get class names from DLL file

2011-01-31 Thread Noufal Ibrahim
On Tue, Feb 01 2011, Anand Balachandran Pillai wrote: [...] I think he said unix :) [...] You have better eyes than me. I stopped reading when I saw DLL. -- ___ BangPypers mailing list BangPypers@python.org

Re: [BangPypers] getpython.net Sprint

2011-01-30 Thread Noufal Ibrahim
On Sun, Jan 30 2011, Baiju M wrote: [...] Now the 13k distro data is getting loaded (it will take few more minutes, I guess). But this page is very slow already with real data :( http://getpython3.net/package [...] I think we should drop the jquery based pagination. It pops up a a script

Re: [BangPypers] User group meeting

2011-01-30 Thread Noufal Ibrahim
On Mon, Jan 31 2011, vikas ruhil wrote: YEP ready for meeting is it fine at rohini sec-11 ,near metro walk , all python lovers welcome there tell other friends if anyone ready so meet up like bengalru it is first meeting at delhi or anyone have office space then tell yep we do it yea

Re: [BangPypers] User group meeting

2011-01-29 Thread Noufal Ibrahim
On Thu, Jan 27 2011, Baiju M wrote: [...] ZeOmega office is confirmed. You can see the address and location here: http://goo.gl/maps/5OTm Please call to my mobile if you have any difficulty in finding the place. [...] I will be there for the sprint only post lunch. I have some personal

Re: [BangPypers] User group meeting

2011-01-29 Thread Noufal Ibrahim
On Sat, Jan 29 2011, Baiju M wrote: [...] So, whenever you move to other places, see whether a Python use group is there or not. If there is none, start one ! [...] +1 More power to you! -- ___ BangPypers mailing list BangPypers@python.org

Re: [BangPypers] User group meeting

2011-01-26 Thread Noufal Ibrahim
On Wed, Jan 26 2011, Baiju M wrote: On Wed, Jan 26, 2011 at 9:06 PM, devjyoti patra djpa...@gmail.com wrote: Hi Baiju, Your project is interesting. Will you be hacking on Sunday. If there is a seat left. I can join you on Sunday. So far just you and Noufal showed interest to come on

[BangPypers] User group meeting

2011-01-25 Thread Noufal Ibrahim
Shouldn't we hold one of these? It's been too long. Sometime early February? -- ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] User group meeting

2011-01-25 Thread Noufal Ibrahim
On Tue, Jan 25 2011, Sidu Ponnappa wrote: Feel free to use our office; the only limitation is that we don't have a projector. [...] Unfortunately, a nice office without participants does not a user group meeting make. Anyone interested in a meetup? I'm sure atleast a few people are working

Re: [BangPypers] User group meeting

2011-01-25 Thread Noufal Ibrahim
On Tue, Jan 25 2011, Baiju M wrote: [...] Well, I just started a new project: http://getpython3.net/ I want to build something like this site: http://isitruby19.com/ (with few extra links) I am going to work on this tomorrow and next weekend. Anyone interested for a coding sprint this

Re: [BangPypers] Doubt regarding python file management

2011-01-18 Thread Noufal Ibrahim
On Tue, Jan 18 2011, Harish S wrote: On Tue, Jan 18, 2011 at 5:39 PM, Harish S harishis...@gmail.com wrote: Hello, I am new to python. I have a doubt. How will I open a file which is placed in a different directory (other than the current working directory)? Wen I try to open the

Re: [BangPypers] Python 1.5.2 Application (compiled on PA-RISC)

2011-01-17 Thread Noufal Ibrahim
On Mon, Jan 17 2011, Wah Meng Wong wrote: [...] I am not sure if HP maintains patches for their own platform... as I said I am not familiar in this space. Ok I will try looking at the source codes in official site. BTW, you mean 2.5.2 is okay right? Your too far was referring to HP website

Re: [BangPypers] Python 1.5.2 Application (compiled on PA-RISC)

2011-01-14 Thread Noufal Ibrahim
On Fri, Jan 14 2011, Wah Meng Wong wrote: [...] That would be my first guess (especially since it's the binary crashing). Is it not an option to get the sources and try to recompile it for ia64 HP-UX? Yes it is an option however I am not familiar with the rebuild process so this is my

Re: [BangPypers] Python 1.5.2 Application (compiled on PA-RISC) crashes on Itanium

2011-01-12 Thread Noufal Ibrahim
On Wed, Jan 12 2011, Wah Meng Wong wrote: [...] I have following questions:- 1.) Could this berelated to the incompatibility of python binary (python version 1.5.2 compiled for PA-RISC processor on an older version of HP-UX, back in year 2000) and HP-UX Itanium 64-bit platform?

Re: [BangPypers] [JOB] Python developer required in Pune with web development experience

2011-01-12 Thread Noufal Ibrahim
On Thu, Jan 13 2011, Kenneth Gonsalves wrote: [...] everyone has a minimum - what I need to live in comparative luxury - given that minimum is assured, then what is the criterion? Two companies, somewhat similar work and atmosphere - one paying 1.5 times the other. Which job would you take?

Re: [BangPypers] Convert to Black and White to an image

2011-01-11 Thread Noufal Ibrahim
On Tue, Jan 11 2011, Anand Balachandran Pillai wrote: [...] Correction - as moderator of this forum, still you can go and take a hike. +1 and take the 25000+ hits on Google and the rest of the credentials with him. [...] -- ___ BangPypers

Re: [BangPypers] Suggestion for GUI

2011-01-10 Thread Noufal Ibrahim
On Mon, Jan 10 2011, Narendra Sisodiya wrote: [...] I will ask my query on company's email id and will forward to this mailing list but I would to say again... Please always reply what somebody is asking.. Even though you are trying to help by reply but actually you discourage and irritate

Re: [BangPypers] Distributing a python project as a binary.

2011-01-08 Thread Noufal Ibrahim
On Sat, Jan 08 2011, Narendra Sisodiya wrote: [...] I am still unable to understand that You company can still earn by making NonCommercial License. You can choose any opensource license and put a extra condition of non-commercial over it. This is the standard and legal way to make

Re: [BangPypers] Distributing a python project as a binary.

2011-01-08 Thread Noufal Ibrahim
On Sat, Jan 08 2011, kunal wrote: [...] Hmm , interesting , licenses are good as a legal protection. But once your software is cracked the time limitation etc removed, and its available online . No one ( the vast majority of home users ) is going to buy that software right ? Illegitimate

Re: [BangPypers] moving/clicking the mouse cursor using python

2011-01-07 Thread Noufal Ibrahim
On Fri, Jan 07 2011, Narendra Sisodiya wrote: In my application, I need to move mouse-pointer and generate click event. I am not making any GUI application. mouse and click event will be trigger on dekstop. Is this for some kind of testing? If so, the Linux Desktop Testing Project might offer

Re: [BangPypers] moving/clicking the mouse cursor using python

2011-01-07 Thread Noufal Ibrahim
On Fri, Jan 07 2011, Anand Balachandran Pillai wrote: You should be using ncurses for applications like this which need mouse positions (x,y) on the console. http://pyncurses.sourceforge.net/ Isn't ncurses used for CUI applications? I wasn't aware that you can control your graphical cursor

[BangPypers] [Job] Django consulting work

2011-01-03 Thread Noufal Ibrahim
Hello fellow Pythonistas, A friend of mine who I worked with in a startup on a Django based project needs a Python developer who's knowledgeable about Django (and the rest of the web thing - jquery etc.) to babysit an application which he's developed. The app is pretty much done

Re: [BangPypers] post method

2010-12-23 Thread Noufal Ibrahim
On Thu, Dec 23 2010, Anirudh Asokan wrote: [...] #!/usr/bin/python import urllib,urllib2 url = 'http://results.vtu.ac.in/default.php' parameters = {'rid' : '1hk09cs043'} data = urllib.urlencode(parameters) # Use urllib to encode the parameters request = urllib2.Request(url, data)

[BangPypers] PyCon India videos up

2010-12-21 Thread Noufal Ibrahim
Thanks to Sriram and others, I've managed to get the videos up onto blip.tv. The videos are at http://in.pycon.org/2010/blog/37-pycon-india-2010-videos-are-up. Please spread the word. Thanks! -- ___ BangPypers mailing list

Re: [BangPypers] PyCon India videos up

2010-12-21 Thread Noufal Ibrahim
On Tue, Dec 21 2010, Vishal wrote: Checked out a few ones. They are good. Nice effort guys. A few ones have low voice quality, one was this one.. day2_hall1_part2http://pyconindia.blip.tv/file/4533633/ [...] Unfortunately Yes. -- ___ BangPypers

[BangPypers] [Job] Fwd: [python-kerala] Python/Django Opportunity

2010-12-16 Thread Noufal Ibrahim
On Thu, Dec 16 2010, anish k wrote: Greetings! Senior Python resources on long term Assignment to be based out of Bangalore. Work Location - Bangalore Reporting - Direct Interaction with the US Based Client Compensation - Not a constraint. Academics - Post Graduation, Mandatory

[BangPypers] [ANN] CFP - PyCon Asia Pacific, Singapore 2011

2010-12-09 Thread Noufal Ibrahim
There's a lot of time for the event so if you can, please consider submitting a proposal. Singapore is a lovely place to take a vacation. :) -- ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] [ANN] CFP - PyCon Asia Pacific, Singapore 2011

2010-12-09 Thread Noufal Ibrahim
Somehow, the original forward got scrubbed. I've cut/pasted here. Hi all It's been some time since we last communicated. I hope this email finds all of you keeping 'pythonic-ally' and physically well. On behalf of the organizing committee for PyCon APAC, I would like to inform you that

Re: [BangPypers] refactoring

2010-12-03 Thread Noufal Ibrahim
On Fri, Dec 03 2010, Sriram Narayanan wrote: It's rather disappointing when I see a nice discussion thread degenerate into taking potshots at others - especially by posts by people who otherwise contribute in very constructive ways. I'm a Thoughtworker, proud of what and how we do

Re: [BangPypers] refactoring

2010-12-03 Thread Noufal Ibrahim
On Fri, Dec 03 2010, Sidu Ponnappa wrote: [...] I'm more worried that a perfectly good book and certain engineering practices that I find hugely useful will be ignored either because of sweeping, religious statements by zealots, or because a bunch of people have made an industry creating

[BangPypers] [Ann] Registration for PyCon 2011 now open

2010-12-03 Thread Noufal Ibrahim
Just in case anyone missed it. http://us.pycon.org/2011/blog/2010/12/01/registration-pycon-now-open/ -- ~noufal http://nibrahim.net.in ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] refactoring

2010-12-03 Thread Noufal Ibrahim
Your last point about fixing things and cleaning it up (refactoring?) becomes easy and possible if good engineering practices were followed in the first place. Repeating the same mistakes again and increasing your workload is not very smart. On 12/3/10, Kenneth Gonsalves law...@au-kbc.org wrote:

Re: [BangPypers] Django-based CMS recommendations?

2010-12-02 Thread Noufal Ibrahim
Haven't used it myself but just in case you're short of possible candidates http://mezzanine.jupo.org/ -- ~noufal http://nibrahim.net.in ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Object Oriented Python - Advice on books

2010-12-01 Thread Noufal Ibrahim
On Wed, Dec 01 2010, Jins Thomas wrote: Hi all, Would somebody advise some good beginner level books on Python, where Object Oriented concepts are also being discussed. May be because I haven't used much of the OO concepts, I'm feeling a bit difficulty in understanding this. Getting a

Re: [BangPypers] refactoring

2010-12-01 Thread Noufal Ibrahim
On Wed, Dec 01 2010, Kenneth Gonsalves wrote: [...] 'No self respecting developer could function without having read the refactoring book'. [...] If that's his tone of voice and his attitude, I'd pigeonhole him as a zealot and ignore him. Given Fowlers reputation, I'm sure it's a good book

Re: [BangPypers] What kind of applications can we develop with Python

2010-12-01 Thread Noufal Ibrahim
On Wed, Dec 01 2010, Baishampayan Ghose wrote: one that I know of is flickr. About the power of the language there are others on this list who can better articulate. Flickr is written in PHP. [...] And Cal Henderson's Djangocon keynote on Why I hate Django is real fun to watch

Re: [BangPypers] Python version 2.x or 3.x

2010-12-01 Thread Noufal Ibrahim
On Wed, Dec 01 2010, Jins Thomas wrote: Hi all, Would like to ask one more doubt regarding which version we should concentrate, considering a newbie to python. [...] Most production software right now is still using 2.* -- ~noufal http://nibrahim.net.in

Re: [BangPypers] How to do RSA encryption in python

2010-11-30 Thread Noufal Ibrahim
On Wed, Dec 01 2010, sarath babu wrote: Dear all, I am searching for doing rsa encryption in python. Please give me a method to do RSA key generation, encryption and decryption. [...] If you're looking for the encryption algorithm, google for RSA Algorithm and you'll get what you want. If

Re: [BangPypers] User group meeting

2010-11-29 Thread Noufal Ibrahim
On Fri, Nov 26 2010, Baiju M wrote: On Fri, Nov 26, 2010 at 5:09 PM, Noufal Ibrahim nou...@gmail.com wrote: Apologies if this is a repeat. My cellphone is not reliable. It's been a few months since the conference is done. We haven't had a User Group meeting in a while. Any takers

[BangPypers] User group meeting

2010-11-26 Thread Noufal Ibrahim
Apologies if this is a repeat. My cellphone is not reliable. It's been a few months since the conference is done. We haven't had a User Group meeting in a while. Any takers for sometime mid December? -- ~noufal http://nibrahim.net.in ___

Re: [BangPypers] regular expression for Indian landline numbers

2010-11-25 Thread Noufal Ibrahim
On Thu, Nov 25 2010, Kenneth Gonsalves wrote: hi, on looking at the telephone book, Indian landline numbers have three forms 3 digit STD code followed by 8 digits 4 digit STD code followed by 7 digits 5 digit STD code followed by 6 digits the first digit of the STD code has to be 0. The

Re: [BangPypers] [Announcement] Training on Extending Python using C

2010-11-24 Thread Noufal Ibrahim
On Wed, Nov 24 2010, steve wrote: [...] Firstly, wish you the best with this !! Like KG mentioned, we could do with some more python programmers. On the topic of slides/notes, IMHO, free (as in freedom) documents are good. My recommendation would be to make your slides/notes available

[BangPypers] [Announcement] Training on Extending Python using C

2010-11-23 Thread Noufal Ibrahim
Hello everyone, I've been working on a project to conduct public trainings on technologies/applications that I use on a semi-daily basis (Emacs, Git, Python etc.) As part of this, I'm organising my first training in Bangalore. It's on extending Python using C. I have a blog post

Re: [BangPypers] [Announcement] Training on Extending Python using C

2010-11-23 Thread Noufal Ibrahim
On Wed, Nov 24 2010, Kenneth Gonsalves wrote: [...] well, if it is paid lecture, normally slides are only available to those who pay. And anyway, having watched Noufal teaching python at last year's conference, I would say his lectures would be worth every paisa. We are desperately short

Re: [BangPypers] waiting for Third Party Applications in python

2010-11-19 Thread Noufal Ibrahim
On Fri, Nov 19 2010, Senthil Kumaran wrote: On Fri, Nov 19, 2010 at 11:04:16AM +0530, Mandar Vaze / मंदार वझे wrote: 2. Is there a way, i can know that third pary application has thrown up a dialog box, so that i can wait in Python till that point and execute clean up commands like killing

Re: [BangPypers] Access xml file form python script

2010-10-31 Thread Noufal Ibrahim
On Sun, Oct 31 2010, Avinash TM wrote: Hi All, I have created a simple xml document i.e., preferences.xml as follows ?xml version=1.0? object object name=category value=cricket property name=titleCricket/property property name=subscribers element name=avinash/ element

Re: [BangPypers] Simplest way to do web programming in python.

2010-10-28 Thread Noufal Ibrahim
On Wed, Oct 27 2010, ishan chhabra wrote: Hi all, I have a set of scripts in python that visualize a search result (produce an image) given a query. I will be building a flash based interface (to surf this visualized search space) to serve this over the web. I needed the most basic web

Re: [BangPypers] Python debugger help

2010-10-23 Thread Noufal Ibrahim
On Sun, Oct 24 2010, Nitin Kumar wrote: Hi All, I am using python 2.6.5 for one of testing framework development in my company. But the framework sometimes carses. I need to debug it. Can anyone please help me with some kind of Document/link or similar things. The think to notice is I

Re: [BangPypers] task tracker and issue manager

2010-10-20 Thread Noufal Ibrahim
On Wed, Oct 20 2010, Nigel Babu wrote: [...] I plead guilty. But yeah, I'm looking forward to something other than trac but built on python too. I'm still yet to find it and unsure if its worth the effort. [...] Trac is nice but with things like github, bitbucket etc. out there, it has

Re: [BangPypers] task tracker and issue manager

2010-10-20 Thread Noufal Ibrahim
On Wed, Oct 20 2010, Kenneth Gonsalves wrote: On Wed, 2010-10-20 at 13:48 +0530, Noufal Ibrahim wrote: However, both of these are 'mostly' bug trackers or at best software project management tools. You mentioned that you're looking for something more general. Would something like a internal

Re: [BangPypers] When *not* to use Python

2010-10-20 Thread Noufal Ibrahim
On Wed, Oct 20 2010, Anand Balachandran Pillai wrote: [...] Maybe for rough n dirty use-once-and-throw parsers, [...] Exactly. My point is that there are good use cases for it as there are for most languages and sticking to a langauge just because one has some kind of emotional attachment

Re: [BangPypers] When *not* to use Python

2010-10-20 Thread Noufal Ibrahim
On Wed, Oct 20 2010, steve wrote: On 10/20/2010 05:38 PM, Gopalakrishnan Subramani wrote: I won't develop DESKTOP based application in Python. Desktop means non-browser based application but like MFC/VC++ stuffs. Interesting. Not that I know anything about MFC/VC++ but in the linux world a

Re: [BangPypers] When *not* to use Python

2010-10-20 Thread Noufal Ibrahim
On Wed, Oct 20 2010, Dark Seid wrote: [...] By and large though, my primary driver is productivity. I don't care about much else. If it's more productive (for me), I'll adopt it, whether it's a OS, language, library, tool, community or methodology. Examples for me where I've made switches -

Re: [BangPypers] how to read remote uploads

2010-10-18 Thread Noufal Ibrahim
On Mon, Oct 18 2010, Kenneth Gonsalves wrote: [...] the gps program sends the info with a php url - I need to collect the info and massage it before sending it to the webserver for display. So I need a small python program to listen on that port and collect whatever comes (is it socket

Re: [BangPypers] how to read remote uploads

2010-10-18 Thread Noufal Ibrahim
On Mon, Oct 18 2010, Anand Balachandran Pillai wrote: [...] Or just use tcpdump as $ sudo tcpdump -A 'port 9000' on the machine where you want to capture the data. [...] I've not used tcpdump but wouldn't this give you a TCP packet level dump? Would not netcat (netcat -l 9000) be more

Re: [BangPypers] Python coaching classes

2010-10-14 Thread Noufal Ibrahim
I am preparing a tutorial on extending Python. I'm planning to cover vanilla C extensions (which is CPython specific) and ctypes (which should atleast in theory work for other implementations as well). Mostly a hands on thing to help people wrap C libraries. There are holes in my plan so I'm not

[BangPypers] Python training classes in Bangalore (was: Python coaching classes)

2010-10-12 Thread Noufal Ibrahim
On Tue, Oct 12 2010, Sujit Ghosal wrote: Hi Avinash, Well you can go through some Python VTC (if you are starting from scratch), and then refer Byte of Python PDF (Its very useful for beginners) and of-course *docs.python (http://docs.python.org/tutorial/index.html)* is cool. And AFAIK

Re: [BangPypers] How to retrieve file from another server using Python

2010-10-09 Thread Noufal Ibrahim
On Sat, Oct 09 2010, Nitin Kumar wrote: Hi all, I want to fetch/copy one file from a server. what all things i can do for the same? Plz help You can go to the server, burn the file onto a DVD, bring the DVD back to your machine and copy the file onto your hard disk. That's what I'd do if the

[BangPypers] [OT] PyCon India video upload help needed

2010-10-08 Thread Noufal Ibrahim
Hello everyone, I will be getting the videos of the talks at the recent PyCon we conducted here. There will be quite a few videos to upload so if a few people come forward, meet me somewhere in the city, take a DVD from me and upload the videos to blip.tv, it would be speed up the process

Re: [BangPypers] cgi help

2010-10-06 Thread Noufal Ibrahim
On Wed, Oct 06 2010, delegb...@dudupay.com wrote: Got it fixed. Thanks y'all. I defined a variable out of scope. I ran it on my IDE to discover it. rowNumber was out of scope. [...] Put the following line import cgitb ;cgitb.enable() at the top of your file if you're using it as a CGI.

Re: [BangPypers] cgi help

2010-10-06 Thread Noufal Ibrahim
[...] Even for Perl, you will have to load the interpretor. So, it is a heavy weight operation if you involve any scripting language. Loading the interpreter is a general term. Interpreters do various things when they start which can significantly affect performance (searching module include

Re: [BangPypers] cgi help

2010-10-06 Thread Noufal Ibrahim
On Wed, Oct 06 2010, Senthil Kumaran wrote: On Wed, Oct 06, 2010 at 04:57:15PM +0530, Noufal Ibrahim wrote: Loading the interpreter is a general term. Interpreters do various things when they start which can significantly affect performance (searching module include paths is one example

Re: [BangPypers] Latest Cricket News in Command Line

2010-10-04 Thread Noufal Ibrahim
On Mon, Oct 04 2010, Nitin Dahra wrote: [...] Apparently, 'in' is also faster than 'has_key' [...] A few quick numbers. In [2]: foo = {} # Without the key In [12]: timeit.timeit(lambda: 2 in foo) Out[12]: 0.2220299243927002 In [13]: timeit.timeit(lambda: foo.has_key(2)) Out[13]:

Re: [BangPypers] Beginner help

2010-10-03 Thread Noufal Ibrahim
On Sun, Oct 03 2010, Jeffrey Jose wrote: On Sun, Oct 3, 2010 at 9:28 AM, Gopalakrishnan Subramani gopalakrishnan.subram...@gmail.com wrote: If you want to be too smart, Emacs is the best one for all your typing need. It works well on Windows/Macs/Linux/Unix operating system. pymacs enable

Re: [BangPypers] feedparser

2010-10-03 Thread Noufal Ibrahim
On Sun, Oct 03 2010, Avinash TM wrote: How to install feedparser in 'eclipse environment' of python? [...] First thing (after you do an installation) is to make sure that it works properly in with the regular interpreter (honouring any virtualenv or other such settings you have). Once that's

Re: [BangPypers] Beginner help

2010-10-02 Thread Noufal Ibrahim
On Sat, Oct 02 2010, Dennis Varkey wrote: I heard about python and found that it was very simple to code. I would like to know any IDE's in which i can code python in windows [...] There should be something you're already comfortable with that has a plugin for Python. You should use that.

Re: [BangPypers] BangPypers Digest, Vol 37, Issue 19

2010-09-30 Thread Noufal Ibrahim
On Thu, Sep 30, 2010 at 3:32 PM, Aditya Sahay aditya.sa...@gmail.com wrote: If you have setuptools installed you can simply do: sudo easy_install feedparser distribute rather than setuptools and please don't quote the entire digest while replying. -- ~noufal http://nibrahim.net.in

Re: [BangPypers] videos upload

2010-09-26 Thread Noufal Ibrahim
On Mon, Sep 27, 2010 at 7:47 AM, Zubin Mithra zubin.mit...@gmail.com wrote: Hey everyone, Could someone here tell me a date by which the Pycon videos might be uploaded online? I expect it will be there in a week or so. I'll keep the list/twiter/blog posted. -- ~noufal

Re: [BangPypers] something in python similar to java applets

2010-09-07 Thread Noufal Ibrahim
On Tue, Sep 07 2010, naman jain wrote: [...] But a standalone downloadable executable needs to communicate back the results to the server. So you mean the applet launches it locally and keeps track of it to send the results back. [...] You could have some kind of an API (web maybe) which

Re: [BangPypers] Python Meetups in NCR?

2010-08-31 Thread Noufal Ibrahim
On Tue, Aug 31 2010, Kenneth Gonsalves wrote: [...] the most successful way of doing this is when the person who first proposes it also fixes a venue and announces it - then those who can come come. [...] (Benevolent) dictatorship rather than a (non-working) democracy. +1 --

Re: [BangPypers] Need Help : Setting Floating Precision Point as 2 in Python

2010-08-24 Thread Noufal Ibrahim
(I posted this to ChennaiPy but this list is wider so I'm reposting it). Arulalan T arulal...@gmail.com writes: Dear All, I need one help. In python, I need to set the floating point precision as 2. I am getting the following output in python while adding two float nos. Often, you

Re: [BangPypers] Need Help : Setting Floating Precision Point as 2 in Python

2010-08-24 Thread Noufal Ibrahim
Arulalan T arulal...@gmail.com writes: [...] Often, you *need* to only display the result of your calculations with n decimal places. Is yours such a situation? If so, forget the number of decimal points during the computation and when printing format it as appropriate (%.2f). I am not

Re: [BangPypers] Need Help : Setting Floating Precision Point as 2 in Python

2010-08-24 Thread Noufal Ibrahim
Arulalan T arulal...@gmail.com writes: [...] This gives the what I need. But I can not use this Decimal data type. In CDAT vcs module supports only the 'float data' type to represent the latitude logitude in map. so I need float value in 2 precision without changing the value. Not in

<    1   2   3   4   5   6   7   8   9   >