Re: Python vs C for a mail server

2006-01-27 Thread Ravi Teja
>> Why don't you use an existing mail server? Probably because that was his homework assignment for a networking class. Not uncommon to be told to implement a server from the scratch from the RFC. Although that does not explain his concern about performance. Abhinav, if that is the case, using so

Re: Checking free disk space on Win32 ?

2006-01-28 Thread Ravi Teja
http://mail.python.org/pipermail/python-list/2001-January/025344.html -- http://mail.python.org/mailman/listinfo/python-list

Re: Calling C++ function from python script

2006-01-28 Thread Ravi Teja
Pankaj wrote: > The module which i am creating is like > > Part A: > 1. It does some processing by using python code. > 2. The result of this python code execution is written to a text file. > [This part is already compelete]] > > Part B: > 1. I read a text file which is outputted by above python

Re: calling python from C#...

2006-01-28 Thread Ravi Teja
I actually find Python for .NET most convenient http://www.zope.org/Members/Brian/PythonNet I did not try py2exe with these applications, so I cannot comment. -- http://mail.python.org/mailman/listinfo/python-list

Re: calling python from C#...

2006-01-28 Thread Ravi Teja
Python for .NET http://www.zope.org/Members/Brian/PythonNet -- http://mail.python.org/mailman/listinfo/python-list

Re: Calling C++ function from python script

2006-01-28 Thread Ravi Teja
Extending -- http://mail.python.org/mailman/listinfo/python-list

Re: Calling C++ function from python script

2006-01-28 Thread Ravi Teja
Right. They are complicated(Assuming that you are reading Python API docs), especially if you have not done a substantial amount of C. You spent 8 minutes trying to understand them. What did you expect? People spend days sorting out the API issues. If you are in a hurry, Pyrex is easiest approch t

Re: VB to Python migration

2006-01-29 Thread Ravi Teja
Magnus Lycka wrote: > Ravi Teja wrote: > > 230 UI screens is a lot. An app of that nature is not something people > > commonly do in Python (although I would be happy to see people show me > > wrong). > > Maybe not, but I don't doubt that it's reasonable to r

Re: mod_python installation

2006-01-30 Thread Ravi Teja
I have Ubuntu which uses the Debian package tree. I see libapache2-mod-python2.4 with "apt-cache search mod_python" Perhaps you don't have all the repositories enabled? -- http://mail.python.org/mailman/listinfo/python-list

Re: Server side newbie

2006-02-03 Thread Ravi Teja
swisscheese wrote: > I have a simple python desktop app with several edit controls and a > couple of buttons. It just does some math. What's the simplest way to > make it a server-side app so visitors to my site can run the app via > their browser? If the math is simple, you can just use JavaScri

Re: Graphical introspection utilities?

2006-02-04 Thread Ravi Teja
> as it would be so obviously a good thing to have a graphical (or maybe > curses-base) browser through the dynamic state of a Python program, it's > probably there. > > Can someone point me to something? If you mean graphical debuggers, most Python specific IDEs have them. Few examples .. Python

Re: Graphical introspection utilities?

2006-02-04 Thread Ravi Teja
Oops. http://www.activestate.com/_images/screenshots/ss_Komodo_rails_large.gif is the debugger screenshot for Ruby (Komodo supports more than one language). Python's debugger in Komodo looks exactly the same. -- http://mail.python.org/mailman/listinfo/python-list

ActiveGrid and Python Frameworks.

2006-02-05 Thread Ravi Teja
Why is no one talking about ActiveGrid, which at least on the surface seems to be the most polished way to build web applications in Python so far. They have a sound financial backing, $10 million when I last heard, made news on non-Python circles, have a relatively friendly authoring environment

Re: Compiling

2006-02-05 Thread Ravi Teja
>> For short : this was kind of a joke... I understand that what you were looking for is a 'native code' compiler. AFAIK, this could of course be done, but due to Python's very dynamic nature, it's not sure this would lead to drastically better performances. This is a standard response to a rather

Re: Compiling

2006-02-05 Thread Ravi Teja
Fredrik Lundh wrote: > Ravi Teja wrote: > > > This is a standard response to a rather frequent question here. But I > > am not sure I ever understood. Scheme / Lisp are about as dynamic as > > Python. > > if that were fully true, it would be fairly trivial to transl

Re: Compiling

2006-02-05 Thread Ravi Teja
Actually optimizations are not what concern me. I am pretty happy with Pyrex/Swig etc for that. What I want is the ability to make a native DLL/SO. A whole lot easier to integrate/embed to other languages. -- http://mail.python.org/mailman/listinfo/python-list

Re: Compiling

2006-02-05 Thread Ravi Teja
> So while it would be possible to apply the same strategy to > Python, it likely wouldn't gain any performance increase over > the interpreter. Thanks, That was quite illustrative. But as I posted elsewhere, I am looking at the other advantages of native compilation rather than speed. Python's ab

Re: Python and Flash

2006-02-06 Thread Ravi Teja
You have not stated where the Python code needs to reside. On the server, you can use XML-RPC or SOAP. Flash either supports them natively or has libraries for those. Your web service servers can be written in Python. This is the perhaps the best approach. On the client, Python can be installed a

Re: Compiling

2006-02-07 Thread Ravi Teja
Martin v. Löwis wrote: > Ravi Teja wrote: > > But more often I am looking to use Python libraries > > in other languages since I am more familiar with them and they > > typically tend to be more high level (the way I like it) than the > > standard libraries of others

Re: Single-file executables

2006-02-11 Thread Ravi Teja
Actually, py2exe (from version 0.6.1) onwards does create single file exes without ANY additional dependencies. -- http://mail.python.org/mailman/listinfo/python-list

Re: Single-file executables

2006-02-12 Thread Ravi Teja
As Peter later pointed out, that is a licencing issue rather than a tool issue. After browsing through the PyInstaller documentation, I came across a curious snippet. "On Windows, this provides support for doing in-process COM servers. It is not generalized. However, embedders can follow the same

Re: Jedit

2006-02-13 Thread Ravi Teja
ziggy wrote: > Just wondering if there is something out there like Jedit, but written > in python ( not just supporting, but actually written in it.. ) > > Nothing large like Stanzi's or Boa.. Just something quick and simple, > with code completion, and a debugger.. PythonWin, so long as you are

Re: Is there anything like ASP.NET for Python web apps ?

2006-02-17 Thread Ravi Teja
If what you want is a web IDE that supports visual development, no standalone Python IDE has such support. But you can use Python in IDEs that do support these features. 1.) ActiveGrid (http://www.activegrid.com/) - closest visual web IDE where Python is a first class member. 2.) Use ASP.NET with

Re: web crawler in python or C?

2006-02-17 Thread Ravi Teja
This is following the pattern of your previous post on language choice wrt. writing a mail server. It is very common for beginers to over emphasize performance requirements, size of the executable etc. More is always good. Right? Yes! But at what cost? The rule of thumb for all your Python Vs C qu

Re: Another stupid newbie question

2006-02-17 Thread Ravi Teja
Benjamin Niemann wrote: > Byte wrote: > > > How can I make the following code: > > > > from random import random > > > > > > > > def stuff(a, mx): > > x = 2 > > while x == 2: > > x = random() > > if x == mx: print x > > else: print 'No luck,', x > > x = 2 >

Re: Komodo - Will it Lock Me In?

2006-02-17 Thread Ravi Teja
> Not sure about the "install-packages-until-you-go-blind" thing. Komodo > doesn't help you install packages into your Python implementation. Nor I think he is confusing with Visual Package Manager. Matt, in most cases, installing packages in Python is about as easy as it gets. As a newbie, you sh

Re: Delete a file

2006-02-17 Thread Ravi Teja
No! It's .. os.remove(filename) or os.unlink(filename) -- http://mail.python.org/mailman/listinfo/python-list

Re: Little tool - but very big size... :-(

2006-02-21 Thread Ravi Teja
Dependency tracking is usually not perfect in exe generators. I don't recall how good py2exe is at this. If you understand which of those files will not be used by your program, you can safely delete them. A bit of trial and error here if you are not sure. Unless you are using floppies or dialup to

Re: What are COM-enabled applications?

2006-02-21 Thread Ravi Teja
COM is Windows only. (Actually there is DCOM for Linux, but that's another story). Read about it here. http://en.wikipedia.org/wiki/Component_object_model -- http://mail.python.org/mailman/listinfo/python-list

Re: What's happened to Jython?

2006-02-22 Thread Ravi Teja
According to http://sourceforge.net/project/showfiles.php?group_id=12867 The last release of 2.2a was on July 17, 2005 - about 7 months. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and Java

2006-03-06 Thread Ravi Teja
For most purposes Jython 2.1 is just fine. The lack of recent features is not a show stopper. What do you need metaclasses? decorators? BTW, there is Jython 2.2 as an alpha release. There are a number of ways you can use Java code through Python. Use JPype to start a Java VM http://jpype.sourcefo

Re: Helpbook and CHM

2007-04-19 Thread Ravi Teja
On Apr 19, 3:58 am, Teja <[EMAIL PROTECTED]> wrote: > On Apr 19, 3:48 pm, Tim Golden <[EMAIL PROTECTED]> wrote: > > > Teja wrote: > > > how to generate CHM files in Boa(Python)??? > > >http://www.rutherfurd.net/software/rst2chm/index.html > > > TJG > > Can't I do it in Boa constructor ??? I hav

Re: Helpbook and CHM

2007-04-19 Thread Ravi Teja
> > > > Teja wrote: > > > > > how to generate CHM files in Boa(Python)??? > > > > >http://www.rutherfurd.net/software/rst2chm/index.html > > > > > TJG > > > > Can't I do it in Boa constructor ??? I have seen an option in Boa to > > > create a new helpbook and compile it to CHm and help files, B

Re: Interop between C# and Python

2007-04-27 Thread Ravi Teja
; > thx, >Uriel Katz Use soaplib instead of ZSI. It has better WSDL support which makes it easier to create client stubs from other languages. http://trac.optio.webfactional.com/ Ravi Teja. -- http://mail.python.org/mailman/listinfo/python-list

Re: Interop between C# and Python

2007-04-28 Thread Ravi Teja
nvenient because working with typed systems is more convenient in dynamic languages than it is to work with untyped systems in typed languages. Of course, if the project is really small, none of this really matters. Pick your poison. Ravi Teja. -- http://mail.python.org/mailman/listinfo/python-list

Re: ZSI, SOAP and .NET web services - problem

2007-03-26 Thread Ravi Teja
, although I mainly used it as a server than a client. Ravi Teja. -- http://mail.python.org/mailman/listinfo/python-list

Re: I need to consume a .NET web service in a Python client

2007-01-12 Thread Ravi Teja
e to the Python world so please be bear with my novice > queries. > > thanks in advance, > Mohit Start Here http://www.diveintopython.org/soap_web_services/index.html Example Client http://www.diveintopython.org/soap_web_services/first_steps.html Ravi Teja -- http://mail.python.org/mailman/listinfo/python-list

Re: Making a simple script standalone

2007-01-18 Thread Ravi Teja
, check out ShedSkin. Since you mentioned that you were using very few modules (ShedSkin supports os, stat, string, time), it might just work. ShedSkin translates your Python code to fast C++ code that can be compiled to a tight app. http://sourceforge.net/projects/shedskin/ Ravi Teja. -- http://mail.python.org/mailman/listinfo/python-list

Re: confused on python rpc with apache, is it possible?

2007-01-19 Thread Ravi Teja
there but I thought that if some > thing needs to be done in php in the future then apache better be > there but as I said that is no need if pythone can do it on a stand > alone basis. Use mod_python with some xmlrpc handler. There is more than one around. Google for them. That way

Re: How to convert a string into an integer

2007-01-22 Thread Ravi Teja
licitly convert yourself. In this case with int_value = int(string_value) Ravi Teja. -- http://mail.python.org/mailman/listinfo/python-list

Re: While loop with "or"? Please help!

2007-01-25 Thread Ravi Teja
> while usrinp != "y" or "Y" or "N" or "n": <<<<PROBLEM Correct way: while usrinp != "y" or usrinp != "Y" or usrinp != "N" or usrinp != "n": There has to be a boolean evaluation on both

Re: Hi, I'm new to python

2007-01-27 Thread Ravi Teja
esources. If you have very basic questions, IRC (freenode has a Python channel), is a better option. When you post, make the question as specific as possible. Sometimes typing a good question itself gives you an answer. Ravi Teja. -- http://mail.python.org/mailman/listinfo/python-list

Re: Help me with this!!!

2007-02-01 Thread Ravi Teja
ile in notepad (or other text editor)? You do not use regex to search binary files. Ravi Teja. -- http://mail.python.org/mailman/listinfo/python-list

Re: Java Developer Exploring Python

2006-04-17 Thread Ravi Teja
>> I've traditionally been a Java developer, although I play around with LISP. For most java developers, understanding dynamic typing is a big step. Your Lisp background however would mean that you will pick up Python very quickly. >> I recently migrated to Linux and I was exploring Mono as an op

Re: what has python added to programming languages? (lets be esoteric, shall we ; )

2006-04-21 Thread Ravi Teja
>>"like the hashtable in java" People don't give a reference to a language feature only because it added/invented it but also because it is a popular one that many are familiar with. Java did not invent HashTables. They existed long before and were available to most languages before Java. Neither

Re: what has python added to programming languages? (lets be esoteric, shall we ; )

2006-04-21 Thread Ravi Teja
> Well, Java does have this great feature called "market-hype"... I ... concede. -- http://mail.python.org/mailman/listinfo/python-list

Re: basic python programing

2006-04-30 Thread Ravi Teja
How To Ask Questions The Smart Way http://www.catb.org/~esr/faqs/smart-questions.html -- http://mail.python.org/mailman/listinfo/python-list

Re: string.find first before location

2006-05-02 Thread Ravi Teja
text[:text.find('Here')].rfind('abc') -- http://mail.python.org/mailman/listinfo/python-list

Re: cross platform libraries

2006-05-04 Thread Ravi Teja
No! That's not the way things work. Such code needs to run locally (in this case, Windows). You can run this program as a daemon on Windows with some nice simple remote interface (Eg: xmlrpc) and send a message to trigger the shutdown. -- http://mail.python.org/mailman/listinfo/python-list

Re: cross platform libraries

2006-05-05 Thread Ravi Teja
Not much to it. Just follow the SimpleXMLRPCServer example from Python docs and register your shutdown function. Call it using xmlrpclib remotely. Actually, I prefer the telnet method below. Simple and straight forward. -- http://mail.python.org/mailman/listinfo/python-list

Re: Can Python installation be as clean as PHP?

2006-05-09 Thread Ravi Teja
PHP and Python are different languages. They do things differently. You are just familiar more with one than the other. Give it some time. The many file approach is the modular design of Python. Having the standard library separate from the main Python DLL is an advantage, not a disadvantage. For

Re: Can Python installation be as clean as PHP?

2006-05-09 Thread Ravi Teja
Addendum: Python has zip imports (similar to Java's jar files). You can put all your *.py files in a zip file and access them from it if this means so much to you. -- http://mail.python.org/mailman/listinfo/python-list

Re: Can Python installation be as clean as PHP?

2006-05-10 Thread Ravi Teja
No! mod_python needs Python. It is simply an integration module for Apache and Python, not an interpreter. -- http://mail.python.org/mailman/listinfo/python-list

Re: Calling C/C++ functions in a python script

2006-05-10 Thread Ravi Teja
If all you have are functions, the easiest is to create a simple dll/so and load it into Python with ctypes. http://starship.python.net/crew/theller/ctypes/tutorial.html For more advanced needs, take a look at some of the extending options available. http://www.suttoncourtenay.org.uk/duncan/accu/i

Re: Calling C/C++ functions in a python script

2006-05-11 Thread Ravi Teja
You are working with the debug configuration, use release instead and python24.lib will suffice. http://news.hping.org/comp.lang.python.archive/6741.html -- http://mail.python.org/mailman/listinfo/python-list

Re: Time to bundle PythonWin

2006-05-11 Thread Ravi Teja
> I write applications that use COM and Tkinter to automate basic office > tasks. My users are thankfully benevolent enough to download and install > Python on their own. They don't know what PythonWin is, they aren't > remembering it, and frankly, I don't think it should be their concern. > It's

Re: calling perl modules from python

2006-05-11 Thread Ravi Teja
> This thing implements a perl interpreter inside python. That seems like > overkill to me. It does not *implement* Python, just embeds it. It is not an overkill if you can get it to work quickly and move on. If you are Windows, you can use COM. Support is available for both languages and is fai

Re: python soap web services

2006-05-12 Thread Ravi Teja
> Is there any reason why there isn't any python library that makes > using soap as easy as how microsoft .net makes it. SOAP with Python is easy too in a different sort of way. I don't know about the equivalent for autogenerating WSDL bit as in .NET. #!/usr/bin/env python def hello(): return "

Re: deleting texts between patterns

2006-05-12 Thread Ravi Teja
[EMAIL PROTECTED] wrote: > hi > say i have a text file > > line1 > line2 > line3 > line4 > line5 > line6 > abc > line8 <---to be delete > line9 <---to be delete > line10 <---to be delete > line11 <---to be delete > line12 <---to be delete > line13 <---to be delete > xyz > line15 > line16 > lin

Re: deleting texts between patterns

2006-05-12 Thread Ravi Teja
>> I don't think that's what you really meant ^ 2 Right! That was very buggy. That's what I get for posting past 1 AM :-(. -- http://mail.python.org/mailman/listinfo/python-list

Re: Web based application in python

2006-05-21 Thread Ravi Teja
>> I would like to know whether it is possible to develop web based application >> using Python. Any general purpose language may be used for developing web applications. Even your favorite shell language. You should really at least read the python.org main page before asking this question. It po

Re: Access C++, Java APIs from Python..

2006-05-23 Thread Ravi Teja
> I'm new to python. > I would like to know whether is it possible to access Java/C++ APIs from > python. > I have two applications written in Java and API, I wanted to call the APIs > of these applications from Python. > I'm developing web-based application using Zope. CPython can access Java thr

Re: IronPython 1.0 Beta 7 Released

2006-05-24 Thread Ravi Teja
Also, IronPython cannot access CPython libraries. So it cannot be used as a drop-in replacement for CPython in most non-trivial apps. Python for .NET however allows you to both use both CPython and .NET libraries. > Ironpython is not a first class .NET language. > That means that although you can

Re: IronPython 1.0 Beta 7 Released

2006-05-25 Thread Ravi Teja
> > Also, IronPython cannot access CPython libraries. So it cannot be used > > as a drop-in replacement for CPython in most non-trivial apps. Python > > for .NET however allows you to both use both CPython and .NET > > libraries. > > It will be able to access the standard libraries, as long as they

Re: IronPython 1.0 Beta 7 Released

2006-05-25 Thread Ravi Teja
> Can you recommend a book or a link for a person learning Python on > Windows who does not yet know C# or .NET? Since Python is cross-platform, any Python book will do. If you need to do MS Windows specific programming (COM and OLE automation, Windows Services etc), you can use Mark Hammond's "Py

Re: Parsing python dictionary in Java using JPython

2006-05-26 Thread Ravi Teja
> I have a python dictionary file. I want to create a map of that dictionary > and want to use the same in my Java Program. > Can anybody please tell me how to use the same python dictionary in Java as > well as in Python. Try a JSON parser for Java http://www.json.org/ http://www.json.org/jav

Re: need a start point for wsdl

2006-03-06 Thread Ravi Teja
Everything you need. http://diveintopython.org/soap_web_services/index.html -- http://mail.python.org/mailman/listinfo/python-list

Re: Checking function calls

2006-03-06 Thread Ravi Teja
You can match if the list contains the legal number of arguments with. func_variable.func_code.co_argcount Type checking arguments has to be done manually since Python is a dynamic language. Perhaps, you could try some typechecking decorators. http://www.ilowe.net/software/typecheck/ >From the doc

Re: need a start point for wsdl

2006-03-06 Thread Ravi Teja
Everything you need. http://diveintopython.org/soap_web_services/index.html -- http://mail.python.org/mailman/listinfo/python-list

Re: sending a text message via webpage button

2006-03-08 Thread Ravi Teja
http://wwwsearch.sourceforge.net/ClientForm/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Basic Python FTP Question

2006-03-08 Thread Ravi Teja
Have you seen Python's ftplib? http://effbot.org/librarybook/ftplib.htm http://docs.python.org/lib/module-ftplib.html -- http://mail.python.org/mailman/listinfo/python-list

Re: RAD tutorials and tools for GUI development with Python?

2006-03-08 Thread Ravi Teja
Jarek Zgoda wrote: > Michael Ekstrand napisa³(a): > > > Glade + PyGTK + libglade does the trick. libglade (exposed as gtk.glade > > in Python) allows you to load Glade interface files (the raw XML Glade > > saves your interfaces as) and then connect to various signals, access > > the widgets, etc.

Re: RAD tutorials and tools for GUI development with Python?

2006-03-09 Thread Ravi Teja
>> Interesting link, but the focus there seems to be encoperating Python into >> Delphi apps in Windows. My focus is more getting Delphi like GUI building, >> but coding python on Linux. According to the web site http://mmm-experts.com/VersionHistory.aspx?ProductId=3 it supports Lazarus, which

Re: Hashtables in pyhton ...

2006-03-09 Thread Ravi Teja
Hashtables (dictonaries) and ArrayLists(lists) are integral parts of modern languages (for example: Python, Ruby, OCaml, D). They are builtin data types unlike say, Java or C++, where they are added to the library as an afterthought. -- http://mail.python.org/mailman/listinfo/python-list

Re: Please, I Have A Question before I get started

2006-03-12 Thread Ravi Teja
http://www-inst.eecs.berkeley.edu/~maratb/readings/NoSilverBullet.html -- http://mail.python.org/mailman/listinfo/python-list

Re: Please, I Have A Question before I get started

2006-03-12 Thread Ravi Teja
Sigh. I could not have imagined that a link without an offending word could be taken as an insult. Perhaps the lack on accompanying text contributed? Anyway, it just was not my day (and not just you). To me, that article makes many points. I was thinking in terms of technology stagnation and parti

Re: Please, I Have A Question before I get started

2006-03-14 Thread Ravi Teja
I did not check prices earlier. There are many other clones. How about Hyperstudio? $70 for student edition? -- http://mail.python.org/mailman/listinfo/python-list

Re: Other languages for PVM

2006-03-15 Thread Ravi Teja
Yes! But not many. http://www.livelogix.net/logix/ Logix also allows you to create your own custom languages for Python's VM. But for some reason, there does not seem to be much interest in it's development. Odd, given that it has great potential. -- http://mail.python.org/mailman/listinfo/pyth

Re: Binary python extensions with Free Pascal Compiler

2006-03-16 Thread Ravi Teja
I posted this a few days ago. According to the website (http://mmm-experts.com/VersionHistory.aspx?ProductId=3), FPC support has been added since version 3.29. -- http://mail.python.org/mailman/listinfo/python-list

Re: Other languages for PVM

2006-03-16 Thread Ravi Teja
I did not mean the lack of interest on part of the developer. That was explained here. http://www.livelogix.net/logix/future-work.html His complaints were Efficiency and Security. I was wondering why the Python community did not show interest in this. There is tremendous potential in this product.

Re: How to search XML? Are there special libs?

2006-03-17 Thread Ravi Teja
Yes! XPath is a good bet. You can also try some Pythonic XML libraries like Amara. You need not learn any special language even. There are good database approaches to XML too, especially if you are going to query a document collection as a whole rather than file by file. You can try XQuery. I thin

Re: Python 2.5 Schedule

2006-03-19 Thread Ravi Teja
http://msdn.microsoft.com/visualc/vctoolkit2003/ Free. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python 2.5 Schedule

2006-03-20 Thread Ravi Teja
Only MS can answer those questions. Even though, Python on Windows is compiled with VC++, you can still use Mingw32 to compile extensions. There are some articles floating around on how to do this and I did try it successfully in the past. Please note that I am not advocating either compiler. Just

Re: UML from py sources

2006-03-22 Thread Ravi Teja
Not to interrupt the valuable lesson with Google :-) Boa Constructor. -- http://mail.python.org/mailman/listinfo/python-list

Re: need SOAPpy help

2006-03-22 Thread Ravi Teja
Did you read http://diveintopython.org/soap_web_services/index.html ? and specifically http://diveintopython.org/soap_web_services/introspection.html ? These docs are slightly dated but I doubt much has changed. If there is a problem, you can always try the older version from the site. -- http:/

Re: is mysqlsb compatible with MySQL 5.0?

2006-03-25 Thread Ravi Teja
Yes! It does. Assuming that you are not terribly bandwidth constrained, isn't it easier for you to try it yourself on your own machine than wait for other people to assure you, given that both are free and pretty much run on any platform? -- http://mail.python.org/mailman/listinfo/python-list

Re: is mysqlsb compatible with MySQL 5.0?

2006-03-25 Thread Ravi Teja
Ah! An overzealous firewall! My sympathies :-). I am using the free Kerio personal firewall on Windows. -- http://mail.python.org/mailman/listinfo/python-list

Re: Plone or TurboGears for Intranet

2006-03-28 Thread Ravi Teja
They are very different tools, apples and oranges. Plone is built for content management needs and TurboGears is built for general application development purposes. Both can work behind Apache but are not based on Apache. They use their own servers. Plone gives you a lot out of the box, but build

Re: UML from py sources

2006-03-29 Thread Ravi Teja
No! That's Python from UML. OP asked for the opposite. -- http://mail.python.org/mailman/listinfo/python-list

Re: a hobbyist's dilemma

2006-03-29 Thread Ravi Teja
I don't have any dearth of Python needs ( I now, sort of pay my tuition through Python :-) ). But I use it for fun as well, say gaming. For example, I have scripts that send keystrokes based on voice commands or other keystrokes. Having a productive language like Python at your disposal can help a

Re: Best IDE for Python?

2006-03-30 Thread Ravi Teja
This topic has come up a few dozen times at the least. Please use google to search for the threads. People have their preferences. The best way to choose is to try several by yourself. Most of them are free. http://wiki.python.org/moin/IntegratedDevelopmentEnvironments -- http://mail.python.org

Re: How to debug python code?

2006-03-31 Thread Ravi Teja
1.) Print statements 2.) IDEs Most Python IDEs provide visual debuggers so that you don't have to use command line ones such as pdb. As with all languages that allow to be executated as a script as well, print statements usually get the job done quite well in most cases. Please read the Python F

Re: Looking for a language/framework

2006-03-31 Thread Ravi Teja
> For example, I've never seen an "object-relational mapping" (technical > term for cruft that tries to avoid people having to learn and use SQL) > which doesn't drive me into a murderous, foam-at-mouth rage in a very > short time -- I *WANT* my SQL, I *LOVE* SQL, it's *WAY* more powerful > and sui

Re: Find similar images using python

2006-03-31 Thread Ravi Teja
Finding similar images is not at all a trivial task. Entire PhD dissertations have been committed to it. The solutions are still very unreliable as of yet. If you want to find more, you can read the research out of the ongoing Image CLEF track. I worked with them briefly a couple of years ago in co

Re: Can I control Video Card by using Python under linux?

2006-03-31 Thread Ravi Teja
Here's a wrapper for V4L. http://antonym.org/libfg -- http://mail.python.org/mailman/listinfo/python-list

Re: Looking for a language/framework

2006-03-31 Thread Ravi Teja
Agreed. Mine was hardly a complete list. Another bit I lost is keeping data operations close to the database. I am more likely to use multiple languages/frameworks over the same database than change databases for the same application. I actually prefer functions and procedures within the DB (even

Re: Berkeley DB XML vs 4suite for fast searching in XML DB?

2006-04-01 Thread Ravi Teja
Last time I tried, BDB XML's Python extension crashed and I did not try too hard to figure out why and switched to something else that did not (eXist). BDB has been marketed for long as a fast database and will probably be faster than 4Suite. I doubt that you will find any benchmarks comparing thos

Re: Standalone Python functions in UML?

2006-04-04 Thread Ravi Teja
>> Out of curiosity, how do I draw functions outside classes with UML? How module could be drawn in this case? As a utility class. >> More theoretical question is if I create classes on the fly, how UML can reflect that? "On the fly" usually means "at runtime". I guess you mean if you "change co

Re: Standalone Python functions in UML?

2006-04-04 Thread Ravi Teja
> So, function could be a utility class method. If there are no better ways. What I mean is <> is the formal notation for a class in which global functions are aggregated. It's not a hack. Python is not alone here. Most OO languages aside Java and Smalltalk have functions outside classes and UML a

Re: Standalone Python functions in UML?

2006-04-05 Thread Ravi Teja
> Well, you can have a lot of things happening during the import stage. Is this 'runtime' or not ?-) Runtime. > And you can actually *create* (not 'change') classes at runtime too. Yes sir! By now I am quite well aware what 'dynamic typing' means. Once again, round trip tools today model program

<    1   2   3   >