Thanks Fredrik for the info.
It was not a must-have, I was just curious if it was possible.
Thanks,
Swaroop
www.SwaroopCH.info
--
http://mail.python.org/mailman/listinfo/python-list
See http://pirate.tangentcode.com/
- Swaroop
--
http://mail.python.org/mailman/listinfo/python-list
Is there a Python equivalent of Perl's IPC::Run module [
http://search.cpan.org/dist/IPC-Run/lib/IPC/Run.pm ] ?
Thanks!
--
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
http://mail.python.org/mailman/listinfo/python-list
the Python binding to FAM (File Alteration Monitor):
http://python-fam.sourceforge.net/
HTH,
--
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
http://mail.python.org/mailman/listinfo/python-list
For Linux/BSD, use your favorite package management software (yum in
Fedora, urpmi in Mandrake, emerge in Gentoo, apt-get in Debian,
pkg_add in FreeBSD), etc.
For Mac, use Fink.
HTH :-)
--
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
http://mail.python.org/mailman
is on top.
Why would you want to do that ?
--
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
http://mail.python.org/mailman/listinfo/python-list
C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
http://mail.python.org/mailman/listinfo/python-list
limitation of Python (in my view) - it
doesn't have a module repository to rival CPAN.
AFAIK, there isn't any reliable way to call Perl modules from Python.
--
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 4, 2005 10:06 PM, Terry Reedy [EMAIL PROTECTED] wrote:
what book or books on regexes
A standard is Mastering Regular Expressions, 2nd ed, by xxx (sorry, forget)
Mastering Regular Expressions, by Jeffrey Friedl
See http://www.regex.info/
Regards,
--
Swaroop C H
Blog: http
particular question, but maybe you can
have a look at how the HarvestMan works:
http://freshmeat.net/projects/harvestman
Regards,
--
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 1, 2005 8:14 PM, Greg Lindstrom [EMAIL PROTECTED] wrote:
How do I read the data from a file in a zip archive?
http://www.devshed.com/c/a/Python/Python-UnZipped
Regards,
--
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
http://mail.python.org/mailman
add code later.
why and when we should inherit Object?
You can inherit from Object if you want to have a 'new-style class'.
See http://www.python.org/doc/newstyle.html
--
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
http://mail.python.org/mailman/listinfo
/Main/Features
--
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
http://mail.python.org/mailman/listinfo/python-list
/Calendars/
IMHO, using Javascript is a better idea for this particular purpose
instead of writing a lot of checking in Python.
--
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
http://mail.python.org/mailman/listinfo/python-list
a IRCbot.
I am not sure if you want to write the program completely from scratch.
If not, you could perhaps use the Twisted IRC module to do most of your work :)
http://twistedmatrix.com/documents/current/api/twisted.protocols.irc.html
Regards,
--
Swaroop C H
Blog: http://www.swaroopch.info
Book
('0.111') ?
--
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
http://mail.python.org/mailman/listinfo/python-list
On 22 Mar 2005 11:44:03 -0500, Roy Smith wrote:
A tuple, a dict, and a list,
And whitespace which mus'n't be missed.
Imported together,
And stirred with a feather,
Yields a language whose name must be hissed!
Nice! +1
--
Swaroop C H
Blog: http://www.swaroopch.info
Book: http
://unixhelp.ed.ac.uk/CGI/man-cgi?tee
HTH,
--
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
http://mail.python.org/mailman/listinfo/python-list
import *
Suggestion: Maybe you use builtin `__import__` to load a module ? Note
that in this way, you'll have to use the module name prefix.
--
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
http://mail.python.org/mailman/listinfo/python-list
?
You can have any number of cursor objects and can run with a single
connection object
A good introduction is at http://www.amk.ca/python/writing/DB-API.html
Regards,
--
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
http://mail.python.org/mailman/listinfo/python
award this year (along with
Python 2.4).
I have heard Gambas to be a very good option too:
http://gambas.sourceforge.net/
--
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
http://mail.python.org/mailman/listinfo/python-list
)
^
SyntaxError: invalid syntax
Please check the indentation you have used.
Also, it should be re.VERBOSE (note the ending 'e')
Regards,
--
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
http://mail.python.org/mailman/listinfo/python-list
(4suite has it) to get the parts that you want.
A really quick intro is at
http://simon.incutio.com/archive/2003/10/21/xpathRocks
Regards,
--
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
http://mail.python.org/mailman/listinfo/python-list
along with ChiPy (Chicago
Pythonistas) and of course, the distutils-sig and catalog-sig.
For details, please see
http://www.swaroopch.info/archives/2005/03/13/uraga-the-cpan-for-python/
We welcome you to help us in this endeavour.
Regards,
--
Swaroop C H
Blog: http://www.swaroopch.info
Book: http
://www.trolltech.com/newsroom/announcements/0192.html
I hope the PyQt guys are on top of this ;)
Regards,
--
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
http://mail.python.org/mailman/listinfo/python-list
--- Xah Lee [EMAIL PROTECTED] wrote:
so, python 2.3.5 is released about 2 months later than 2.4??
As far as I understand, 2.3.5 is a maintenance release in the 2.3
branch. It is independent of the 2.4 branch.
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
side of the HTTP and HTTPS protocols. It is
normally not used directly -- the module urllib uses it to handle
URLs that use HTTP and HTTPS.
HTH,
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
http://mail.python.org/mailman/listinfo/python-list
--- Donald L. Dietmeyer [EMAIL PROTECTED] wrote:
What yum repository do you use to pick up
python rpms?
Search for 'Yum' at:
http://www.python.org/2.4/rpms.html
Cheers,
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
http://mail.python.org/mailman/listinfo
,
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
http://mail.python.org/mailman/listinfo/python-list
= d)
doesnt work
You need to use it as follows:
def foo(**args):
... '''Takes in key=value parameters.'''
... for key, value in args.items():
... print key, '-', value
...
foo(a=1,b=2)
a - 1
b - 2
Hope this makes some sense,
Swaroop C H
Blog
/release/install mechanics.
Regards,
--
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
http://mail.python.org/mailman/listinfo/python-list
Groleo Marius wrote:
How can i execute a string in python?
How can I execute the code that s keeps inside, considering that the
code is correct?
Use the exec statement : `exec s`
Details at http://www.python.org/doc/ref/exec.html
Regards,
--
Swaroop C H
Blog: http://www.swaroopch.info
Book: http
subscribe
to comp.lang.python.
If you can't find a Usenet server, try news.gmane.org
--
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
http://mail.python.org/mailman/listinfo/python-list
with this?
This is exactly what you need:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/134892
Title: getch()-like unbuffered character reading from stdin on both
Windows and Unix
This recipe was a lifesaver for me once :-)
Regards,
--
Swaroop C H
Blog: http://www.swaroopch.info
Book
--
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
--
http://mail.python.org/mailman/listinfo/python-list
, the default
behavior is the same as if IGNORE is specified; this is because the
server has no way to stop transmission of the file in the middle of
the operation.
P.S. Its best to take this discussion off the list since its not
directly related to Python.
--
Swaroop C H
Blog: http
/writing/DB-API.html
HTH,
--
Swaroop C H
Blog: http://www.swaroopch.info/
--
http://mail.python.org/mailman/listinfo/python-list
37 matches
Mail list logo