Re: Shipping Executables

2010-02-16 Thread Banibrata Dutta
On Wed, Feb 17, 2010 at 7:41 AM, Steven D'Aprano < ste...@remove.this.cybersource.com.au> wrote: > > security aspects I guess it would also not be much use, is this correct? > > Absolutely 100% wrong. It is an fundamental principle of security that > you must not assume that the enemy is ignorant

Re: Live Video Capture using Python

2009-12-20 Thread Banibrata Dutta
Have you searched the archives of this list ? I remember seeing a related discussion 5-6 months back. On Mon, Dec 21, 2009 at 2:35 AM, aditya shukla wrote: > Hello Guys, > > I am trying to capture images from a live broadcast of a "cricket match" or > say any video using python. I can see the vid

Re: Python book

2009-10-01 Thread Banibrata Dutta
Asking about 'Python' book recommendation is something that always leads to a near religious recommendation set. I have my favourites too, but would recommend original poster to check the no. of reviews on Amazon, B&N etc., after collecting recommendations from this list, before finalizing on one.

Re: unexplainable python

2009-09-26 Thread Banibrata Dutta
Without reading or trying to understand the program well enough, at the very outset, looks like it's a program to convert a set of numeric digits into it's equivalent whole number representation, in textual form, and that while author of this piece of code has taken care of english numeric nuances

Re: Finite state machine in python

2009-09-13 Thread Banibrata Dutta
For simplistic FSMs, if you want to avoid hand-coding all the transitions, actions etc., you could consider something like Libero ( http://www.cs.vu.nl/~eliens/documents/libero/lrintr.htm), although the last I checked Libero didn't generate Python yet (but I believe there might be similar options a

Re: mail

2009-07-05 Thread Banibrata Dutta
On Sat, Jul 4, 2009 at 9:51 PM, wrote: > Hi, > > I want to know that whether using python programming is it possible to > extract chemical shift information about some amino acids of some protein > from BMRB(BioMagResBank) or Ref-DB(referenced databank) or not. > > Thanks, > Amrita Kumari > Resea

Re: is it possible to write USSD / SMS /SS7 apps in python

2009-07-04 Thread Banibrata Dutta
On Sat, Jul 4, 2009 at 3:20 PM, Chris Rebert wrote: > On Sat, Jul 4, 2009 at 2:47 AM, Banibrata > Dutta wrote: > > QuoteGoke Aruna > >> > >> what am saying is reading the ITU info on USSD, is it possible to use > >> python > >> > >> to wr

Re: is it possible to write USSD / SMS /SS7 apps in python

2009-07-04 Thread Banibrata Dutta
ith inbuilt GSM modem), or a separate GSM-modem (PCMCIA, USB,...) via Python, to send / receive SMS's. On Sat, Jul 4, 2009 at 3:17 PM, Banibrata Dutta wrote: > QuoteGoke Aruna > > what am saying is reading the ITU info on USSD, is it possible to use python > > to write the ap

Re: is it possible to write USSD / SMS /SS7 apps in python

2009-07-04 Thread Banibrata Dutta
QuoteGoke Aruna what am saying is reading the ITU info on USSD, is it possible to use python to write the application SS7 with support for TCAP/MAP talking to E1 card to do the ss7 signalling. As Chris mentioned "possible, but probably not easy". AFAIK, not much of what you might need exists in

Re: Tool for browsing python code

2009-06-16 Thread Banibrata Dutta
On Tue, Jun 16, 2009 at 6:18 PM, Lucas P Melo wrote: > Is there any tool for browsing python code? (I'm having a hard time trying > to figure this out) > Anything like cscope with vim would be great. > -- > http://mail.python.org/mailman/listinfo/python-list > If you are not averse to GUI's, the

Re: Regarding GUI

2009-06-16 Thread Banibrata Dutta
Kindly search the archives of this mailing list... this is a fairly FAQ, and you should find a relevant thread which isn't older than 2-3 months, IIRC. In brief, you have several options, as you've probably already found, most one of the most popular is wxPython but then there are several other al

Re: What do you think of ShowMeDo

2009-04-28 Thread Banibrata Dutta
Personally, I faced some despair with a large number of the free ShowMeDo tutorials, example the one on WxPython, where for the first 4 free tutorials, the tutor hardly progresses to any bit of programming, and what is demonstrated was too basic, too slow - to hold my attention. As a concept, I li

Re: How to create a virtual serial port?

2009-04-10 Thread Banibrata Dutta
This might help: http://en.wikipedia.org/wiki/COM_port_redirector On Sat, Apr 11, 2009 at 8:34 AM, Banibrata Dutta wrote: > On Sat, Apr 11, 2009 at 3:17 AM, Stuart Davenport < > stuart.davenp...@gmail.com> wrote: > >> I'm on a OS X, python 2.5. Basically I will

Re: How to create a virtual serial port?

2009-04-10 Thread Banibrata Dutta
On Sat, Apr 11, 2009 at 3:17 AM, Stuart Davenport < stuart.davenp...@gmail.com> wrote: > I'm on a OS X, python 2.5. Basically I will have a remote application > pushing data (GPS) over the network to a python application I have > running on my Mac, I want this python application to again push the

Re: How to create a virtual serial port?

2009-04-10 Thread Banibrata Dutta
As others have already stated, "Virtual Serial Port" isn't descriptive enough. There are various forms of "Virtual Serial Ports" and different people use the term to mean different things. For example, emulating RS232 communication over Bluetooth, or USB, is also something done using "Virtual Seria

Re: Sending SMS using python script

2009-04-02 Thread Banibrata Dutta
Hi Guptha: Most SMS providers (you'd be dealing with resellers mostly) have some kind of HTTP API to send SMS (even bulk SMS, upto a point). So you using standard Python HTTP module to invoke the SMS provider API. For SMS service providers, just google thru or search yellow pages in your region of

Re: ANN: updates to Python-by-example

2009-03-01 Thread Banibrata Dutta
very useful for an off-and-on, foo-bar programmer! i'm sure it'd have something of value to more experienced programmers as well. On Fri, Feb 27, 2009 at 7:27 PM, Rainy wrote: > Python-by-example http://pbe.lightbird.net/index.html";>http:// > pbe.lightbird.net has some new modules added: pickle

Re: Regarding Joystick

2009-02-12 Thread Banibrata Dutta
AFAIK, the mechanism / API / protocol to actuate the Camera's tilt, pan, zoom functions are not standardized (happy to be corrected there!), so even if you find something, it'd most likely be something very specific to a particular device. As for Joystick usage, I remember seeing one thread on that

Re: Java to Python

2009-02-07 Thread Banibrata Dutta
Jython is not an option ? On Sat, Feb 7, 2009 at 9:54 PM, wrote: > Hi > > I have a following class that is written Java and makes use of apache > http client library,I am new to python can any one suggest me a python > equivalent of this following class, > > Thanks , > > public class Authenticat

rfi : bestpractises for implementing secure policies in python

2009-02-02 Thread Banibrata Dutta
Hi, Wondering if it is at-all possible to implement "secure" (s.a. not viewable / tunable / tweakable) "Policies" in python ? Use-cases: 1) License enforcement -- Same application, licensed at differential price levels, based on various feature-sets. 2) "Parental-Control" enforcement. Application u

Re: USB in python

2009-01-26 Thread Banibrata Dutta
high pitch is == high frequency, no higher amplitude... but the difference can be easily made out and the electronics for this is very well understood and used.point is, the gentleman asking the question might already have a USB controller built into his device, and while most modern computers have

Re: *Advanced* Python book?

2009-01-19 Thread Banibrata Dutta
2009/1/17 Michele Simionato : > "Expert Python Programming" by Tarek Ziadé is quite good and I wrote > a review for it: > > http://www.artima.com/weblogs/viewpost.jsp?thread=240415 Excellent review. -- regards, Banibrata http://www.linkedin.com/in/bdutta -- http://mail.python.org/mailman/listinf

Re: ruby -> python translator exists?

2008-12-26 Thread Banibrata Dutta
http://github.com/why/unholy/tree/master On Sat, Dec 27, 2008 at 11:19 AM, rogerdpack wrote: > > Search for the tool "Unholy". -- Al > > Thank you for your replies. > -=r > -- > http://mail.python.org/mailman/listinfo/python-list > -- regards, Banibrata http://www.linkedin.com/in/bdutta http:

Re: Check file is

2008-12-20 Thread Banibrata Dutta
AFAI can tell... (from a quick google search), there is only a commercial product that can "read" PDF... i.e. PageCatcher from ReportLabs.http://www.reportlab.org/devfaq.html (look at item 2.1.5) BTW, an apparently, non platform-neutral way may be described h

Re: Good introductory book?

2008-12-03 Thread Banibrata Dutta
1+ for "Dive into Python"... get's you started very fast. After you are thru with DiP book, it's time to keep google (or ur favourite search engine) handy... search at the ActivePython site in the cookbooks, PEP's, mailing-list archive... the answer is generally found within first 4-5 hits. And th

Re: [ANN] Pyjamas 0.4: Python Web Toolkit Release

2008-12-02 Thread Banibrata Dutta
Amazing concept, and glad that someone thought of this and implemented this. The book's formatting on IE and Chrome looked a bit unusual. Content wise it is already firly decent (i.e. enough to get a programmer started), but sometimes text appears in a long & narrow col. format instead of the more

Re: Feedback

2008-11-22 Thread Banibrata Dutta
2008/11/21 Ali art <[EMAIL PROTECTED]> > I am using Windows XP professional version 2002 Service pack 3. AMD > Athlon(TM)XP 2400+ 2.00GHz 992MB RAM. > I have download Windows x86 MSI Instaler (3.0rc2) Python 3.0rc2 Release: > 06-Nov-2008. > > I want to use source code file from Python Command lin

Re: Best strategy for finding a pattern in a sequence of integers

2008-11-21 Thread Banibrata Dutta
Haven't followed the entire thread, so I could be making a silly, out-of-place remark, and apologies in advance for the same.However, to me it looks like Slaunger wants to find 2 of the longest repeating patterns, and not just 2 specific patterns (though from the introductory test, it appears to be

Re: More elegant way to try running a function X times?

2008-11-20 Thread Banibrata Dutta
On Thu, Nov 20, 2008 at 11:58 PM, Steve Holden <[EMAIL PROTECTED]> wrote: > Gilles Ganault wrote: > > Hello > > > > As a newbie, it's pretty likely that there's a smarter way to do this, > > so I'd like to check with the experts: > > > > I need to try calling a function 5 times. If successful, mov

Re: Midi manipulation

2008-11-17 Thread Banibrata Dutta
On Mon, Nov 17, 2008 at 2:43 PM, Massi <[EMAIL PROTECTED]> wrote: > On 16 Nov, 23:23, Tim Roberts <[EMAIL PROTECTED]> wrote: > > Massi <[EMAIL PROTECTED]> wrote: > > > > >Hi everyone, I'm searching for "something" which allows me to write > > >scripts which handle midi files. I'm totally a newbie

Re: python_and_WSDL

2008-11-04 Thread Banibrata Dutta
>From a quick look at the pywebsvcs mailing-list archive here ( http://sourceforge.net/mailarchive/forum.php?forum_name=pywebsvcs-talk)looks like pywebsvcs (http://pywebsvcs.sourceforge.net/)is not dead ! On Tue, Nov 4, 2008 a

Re: locating the chorus in a MIDI song?

2008-11-04 Thread Banibrata Dutta
Without pretending to be an expert on the subject of music-theory or audio-processing, my n00b'ish doubt is -- MIDI, unlike MP3 would be devoid of voice... and in my overtly simplistic thinking -- presence / absence of which (i.e. voice) could be a "brute-force" way of detecting refrain/chorus ...

Re: Commercial Products in Python

2008-10-21 Thread Banibrata Dutta
On Tue, Oct 21, 2008 at 11:48 PM, namekuseijin <[EMAIL PROTECTED]>wrote: > On 21 out, 15:59, "Sebastian Bassi" <[EMAIL PROTECTED]> wrote: > > On Tue, Oct 21, 2008 at 2:50 PM, Paulo J. Matos <[EMAIL PROTECTED]> > wrote: > > > > > I was just wondering, if you wish to commercialize an application > >

Re: Does anybody use this web framework ?

2008-09-24 Thread Banibrata Dutta
On Wed, Sep 24, 2008 at 12:56 PM, Bruno Desthuilliers <[EMAIL PROTECTED]> wrote: > Phil Cataldo a écrit : > >> Hi, >> >> I just found this new? python web framework >> (http://pypi.python.org/pypi/nagare/0.1.0). >> >> Does anybody know or use it ? >> > > First time I hear of it, but it looks inter

Re: PyGUI as a standard GUI API for Python?

2008-09-04 Thread Banibrata Dutta
On Thu, Sep 4, 2008 at 3:45 PM, M.-A. Lemburg <[EMAIL PROTECTED]> wrote: > On 2008-09-04 11:14, Kay Schluehr wrote: > > On 4 Sep., 10:31, "M.-A. Lemburg" <[EMAIL PROTECTED]> wrote: > >> On 2008-09-04 07:49, Kay Schluehr wrote: > >> > >>> 3) Following the public rumor mill and the latest hype RIA i

Re: Psyco == tracing optimization?

2008-08-24 Thread Banibrata Dutta
Apologies for the inaccurate comment, without completely researching the "Trace trees" logic. Indeed, it is not apparent that Perl or other common languages use it or have used it for long. On 8/24/08, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > > Banibrata Dutta wrote: >

Re: Psyco == tracing optimization?

2008-08-23 Thread Banibrata Dutta
AFAIK, the same logic used in runtime optimization of several other dynamic languages or shell-scripting languages (including Perl), for quite a while. On 8/23/08, Paddy <[EMAIL PROTECTED]> wrote: > > Just wondered if this: > > http://arstechnica.com/news.ars/post/20080822-firefox-to-get-massive-j

Re: wxPython IDE question

2008-08-09 Thread Banibrata Dutta
This is generally a easy-find on 'google', or your favourite search-engine! :-) ... and of course the Python Wiki too... http://wxglade.sourceforge.net/ http://boa-constructor.sourceforge.net/ are the free ones most often cited, and I'm sure there are others. From a pure IDE (non Visual GUI compo

Re: free dictionary english - spanish?

2008-05-16 Thread Banibrata Dutta
if it is complete sentence translation that you intend to do, then there is a lot more than just word dictionary that you need. you need the grammer too. hope you have that covered. On 5/16/08, globalrev <[EMAIL PROTECTED]> wrote: > > i want to write a translationprogram, i have the webapp done a

Re: What is self.file = file for?

2008-05-13 Thread Banibrata Dutta
__init__() is the object-constructor for TextReader class, accepting an argument 'file' (reference to an Object). TextReader has a member variable / attribute, called 'file' too (same name as the argument to __init__()). The constructor is invoked when an object of TextReader class is being create.

Re: Is there no single/uniform RDBMS access API module for Python ?

2008-05-12 Thread Banibrata Dutta
Thank you all for the pointers and precise information. Python community support surely rocks!! On 5/12/08, Daniel Fetchinson <[EMAIL PROTECTED]> wrote: > > > >> Again a noob question. > > >> Based on this URL http://wiki.python.org/moin/DatabaseInterfaces , > is it > > >> correct to conclude t

Re: Is there no single/uniform RDBMS access API module for Python ?

2008-05-11 Thread Banibrata Dutta
Found that SnakeSQL does implement DB2.0 API. However are there such implementations for MySQL ? On 5/12/08, Banibrata Dutta <[EMAIL PROTECTED]> wrote: > > > On 5/12/08, Laszlo Nagy <[EMAIL PROTECTED]> wrote: >> >> Banibrata Dutta írta: >> >>> Hi

Re: Is there no single/uniform RDBMS access API module for Python ?

2008-05-11 Thread Banibrata Dutta
On 5/12/08, Laszlo Nagy <[EMAIL PROTECTED]> wrote: > > Banibrata Dutta írta: > >> Hi, >> Again a noob question. >> Based on this URL http://wiki.python.org/moin/DatabaseInterfaces , is it >> correct to conclude that there is no RDBMS agnostic, sin

Is there no single/uniform RDBMS access API module for Python ?

2008-05-11 Thread Banibrata Dutta
Hi, Again a noob question. Based on this URL http://wiki.python.org/moin/DatabaseInterfaces , is it correct to conclude that there is no RDBMS agnostic, single/uniform DB access API for Python ? Something in the lines of JDBC for Java, DBD for Perl etc. ? How is the RDBMS change handled for solu

Re: multiple Python versions, but on Windows (how to handle registry updates)

2008-05-10 Thread Banibrata Dutta
Is this a completely manual exercise ? On 5/11/08, Banibrata Dutta <[EMAIL PROTECTED]> wrote: > > Thanks Gabriel & Terry. Those explanations make perfect sense. > > What is the recommended way, to find the "compatible" packages that include > .dll's / .pyd&#

Re: multiple Python versions, but on Windows (how to handle registry updates)

2008-05-10 Thread Banibrata Dutta
version of package ? On 5/11/08, Gabriel Genellina <[EMAIL PROTECTED]> wrote: > > En Sat, 10 May 2008 01:38:24 -0300, Banibrata Dutta < > [EMAIL PROTECTED]> escribió: > > > given that I already have Python2.5 installed & will install Python2.4, > will > >

Re: multiple Python versions, but on Windows (how to handle registry updates)

2008-05-09 Thread Banibrata Dutta
but still asking. is it package specific ? does it matter if the packages were egg drops ? On 5/10/08, Terry Reedy <[EMAIL PROTECTED]> wrote: > > "Gabriel Genellina" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > En Fri, 09 May 2008 07:58:33 -0300

Re: Pythonwin

2008-05-09 Thread Banibrata Dutta
oops moment! I was wrong. indeed, you should find PythonWin there, if you installed ActiveState Python. On 5/9/08, Banibrata Dutta <[EMAIL PROTECTED]> wrote: > > if one has installed ActiveState Python 2.5, I think it'd have been > Start Menu --> Programs -->

Re: Pythonwin

2008-05-09 Thread Banibrata Dutta
if one has installed ActiveState Python 2.5, I think it'd have been Start Menu --> Programs --> ActiveSte ActivePython 2.5 --> and I think it delivers IDLE, not PythonWin. On 5/9/08, Mike Driscoll <[EMAIL PROTECTED]> wrote: > > On May 9, 5:30 am, Clive_S <[EMAIL PROTECTED]> wrote: > > Hi > > >

Re: How to kill Python interpreter from the command line?

2008-05-09 Thread Banibrata Dutta
Any chance that there is a "catch-all" in the code. As per PEP8 and I'm sure common knowledge of all the folks programming in Python for a while -- a >>>catch: could just lead to this problem. On 5/9/08, Floris Bruynooghe <[EMAIL PROTECTED]> wrote: > > On May 9, 11:19 am, [EMAIL PROTECTED] wrote:

multiple Python versions, but on Windows (how to handle registry updates)

2008-05-09 Thread Banibrata Dutta
Hi, I already have Python25, and need to install Python24. I would prefer not to remove Python25, but each Python version seems to update the registry, I guess (not sure), overwriting each other's entries. Any way to have both versions ? -- regards, Bani -- http://mail.python.org/mailman/listinf

Python module for SNMP bindings ?

2008-05-08 Thread Banibrata Dutta
Hi, While looking around for Python API's to do SNMP, found the following link with a high level comparison -- http://urchin.earth.li/~twic/SNMP_in_Python.html i.e. options seems to be: PySNMP (complete SNMP impl.), SNMPy, yapSNMP (Net-SNMP bindings). Of those, yapSNMP seems to be most promising

Re: How do you debug memory usage?

2008-05-06 Thread Banibrata Dutta
Ah yes. Thanks for posting your finding. Had come accross Heapy, earlier, but forgotten about it completely. On Tue, May 6, 2008 at 8:34 PM, David <[EMAIL PROTECTED]> wrote: > > > > I'll check a few of those results and post to the list if I find > something good. > > > > It looks like Heapy, p

Re: How do you debug memory usage?

2008-05-06 Thread Banibrata Dutta
Many not be the most intuitive and elegant solution (I'm just a Python newbie), but if your Python code is constrained to the usage of Python 2.2 language features, you could use Jython, and then (I'm hoping, since I've not tried this myself), use the Java Memory usage profiling/debugging tools. W

Re: Module to read input from commandline

2008-05-06 Thread Banibrata Dutta
something like "curses" but w/o the fancy window decorations perhaps ? if so, then following link might help ( http://www.amk.ca/python/howto/curses/). thanks & regards, banibrata On Tue, May 6, 2008 at 6:56 PM, <[EMAIL PROTECTED]> wrote: > On May 6, 2:11 pm, [EMAIL PROTECTED] wrote: > > > Check

Re: #!/usr/bin/env python vs. #!/usr/bin/python

2008-05-06 Thread Banibrata Dutta
On 5/6/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > At our site we run IRIX, UNICOS, Solaris, Tru64, Linux, cygwin and > other unixy OSes. > > We have python installed in a number of different places: > /bin/python > /usr/local/bin/python > /usr/bin/python > /opt/freeware/Python/Python-2.5.1

Re: Newbie question - probably FAQ (but not exactly answered by regular FAQ)

2008-05-06 Thread Banibrata Dutta
On 5/6/08, Bruno Desthuilliers <[EMAIL PROTECTED]> wrote: > Nick Craig-Wood a écrit : > > Banibrata Dutta <[EMAIL PROTECTED]> wrote: > > > > > I've gone through the list of "language differences" between 2.3 / 2.4 > > > &

Newbie question - probably FAQ (but not exactly answered by regular FAQ)

2008-05-03 Thread Banibrata Dutta
Hi, I've gone through the list of "language differences" between 2.3 / 2.4 & 2.5 of CPython. I've spend around 2 weeks now, learning v2.5 of CPython, and I consider myself still very very newbie. So, unable to take a call as to how-important or desirable the newer language features are -- so wheth

Checking for existance of feature / tools / solutions -- Something like Java webstart

2008-04-28 Thread Banibrata Dutta
Hi, I've tried searching this list & googling around a bit -- trying to see if there is a Java-Webstart like alternative for Python, the closest approximate I've found is something suggested in this post: http://mail.python.org/pipermail/python-list/2004-September/282837.html Is this still prett

Re: Python development tools

2008-04-24 Thread Banibrata Dutta
On 4/24/08, Banibrata Dutta <[EMAIL PROTECTED]> wrote: > On Windows, I use "PyScripter", and it's quite nice and functional. > > On 4/24/08, Torsten Bronger <[EMAIL PROTECTED]> wrote: > > Hallöchen! > > > > Bruno Desthuilliers writes: > >

Re: Witty retorts (was: Python Success stories)

2008-04-22 Thread Banibrata Dutta
"F**k you" -- is generally an indication of "creativity blackout" followed by "frustration". Not exactly a clever retort. On 4/22/08, Max Erickson <[EMAIL PROTECTED]> wrote: > Ben Finney <[EMAIL PROTECTED]> wrote: > > > Carl Banks <[EMAIL PROTECTED]> writes: > > > >> Let me tell you a little stor

Re: Does Python 2.5 include or not include SQLite engine?

2008-04-21 Thread Banibrata Dutta
Doesn't this depend on the source / distro ? My Python is from the ActivePython distro, while I am not sure (since I've just about started playing with it), I haven't seen SQLite included ... possible that I missed it. On 4/22/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > While reading feed

Re: Any reliable obfurscator for Python 2.5

2008-04-20 Thread Banibrata Dutta
On 4/21/08, Steve Holden <[EMAIL PROTECTED]> wrote: > > If it's important to you to be able to obfuscate your code then you have > made an inapposite choice of language. Cutting through all the smoke (thanks to the slight flame we had), this seems to be the answer that 'shines thorough'... if th

Re: Any reliable obfurscator for Python 2.5

2008-04-20 Thread Banibrata Dutta
On 4/20/08, Gabriel Genellina <[EMAIL PROTECTED]> wrote: > > En Sun, 20 Apr 2008 01:55:51 -0300, Banibrata Dutta < > [EMAIL PROTECTED]> escribió: > > > Wanted to check if there is any known, reliable, FOSS/Libre -- > Obfurscator > > for Python 2.5 code. >

Any reliable obfurscator for Python 2.5

2008-04-19 Thread Banibrata Dutta
Hi, Wanted to check if there is any known, reliable, FOSS/Libre -- Obfurscator for Python 2.5 code. -- regards, Banibrata http://www.linkedin.com/in/bdutta -- http://mail.python.org/mailman/listinfo/python-list