Thanks to the hard work of Michal Kwiatkowski, I'm proud to announce
the launch of the Cheesecake Service (http://pypi.pycheesecake.org/
pypi/) and the release of Cheesecake 0.6.1 (http://python.org/pypi/
Cheesecake/0.6.1).
Details here:
:-)
Grig Gheorghiu
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations.html
://lists2.idyll.org/listinfo/pybots
Please send a message to the pybots list, and I'll respond to you.
See also my blog post here for pretty much the same information as in
this message, but with more links:
http://agiletesting.blogspot.com/2006/08/pybots-python-community-buildbots.html
Thanks,
Grig
Ziga Seilnacht wrote:
Dave Potts wrote:
Hi,
I'm just starting a development project in Python having spent time in
the Java world. I was wondering what tool advice you could give me
about setting up a continuous integration environment for the python
code: get the latest source, run
Check out twill http://www.idyll.org/~t/www-tools/twill/, which is
based on mechanize (http://wwwsearch.sourceforge.net/).
Grig
--
http://mail.python.org/mailman/listinfo/python-list
If you're in the L.A. area, please join the SoCal Piggies for their
monthly meeting at USC. Directions are available on the group's Wiki at
http://www.socal-piggies.org/socalpiggies/USC_Salvatori_Computer_Science_Center,_room_222.
Agenda: Grig Gheorghiu and Titus Brown will give a dry-run
subprocess gets my vote too.
You can do something like:
from subprocess import call, Popen, PIPE, STDOUT
def run_cmd(cmd):
arglist = cmd.split()
p = Popen(arglist, stdout=PIPE, stderr=STDOUT)
output = p.communicate()[0]
return (p.returncode, output)
rc, output = run_cmd(python
Thanks for the insightful answer, Magnus. I have a lot of stuff to
digest from your message :-) Maybe I'll continue the discussion on the
mailing list you mentioned.
Grig
--
http://mail.python.org/mailman/listinfo/python-list
Magnus,
I've been writing TextTest tests lately for an application that will be
presented at a PyCon tutorial on Agile development and testing. I
have to say that if your application does a lot of logging, then the
TextTest tests become very fragile in the presence of changes. So I had
to come up
See
http://pycheesecake.org/wiki/PythonTestingToolsTaxonomy#MiscellaneousPythonTestingTools
In particular, PySizer and HeapPy might be what you're looking for. I
can't say for sure, since I haven't used these tools myself.
Grig
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
Hi,
I was rifling through python.org to see if there was an existing Python
user's group for the Los Angeles area. Doesn't seem like it, so maybe
we should start one? I'm interested in helping with the coordination of
activities etc.
Since everybody living in
I have some code that looks something like this:
from ftplib import FTP
ftp = FTP()
# connect and login
ftp.connect(server_name)
ftp.login(user_name, password)
cmd = STOR %s % filename
#ASCII transfer
l = open(filename)
ftp.storlines(cmd, l)
#BIN transfer
l = open(filename, 'rb')
In my testing, I need to connect to Oracle, SQL Server and DB2 on
various platforms. I have a base class with all the common code, and
derived classes for each specific database type using specific database
modules such as cxOracle, mxODBC and pyDB2. The derived classes are
pretty thin, containing
Yes, I did run into the difference in the parameter styles, so I deal
with that in the database-specific classes. It's not a huge difficulty
though.
Grig
--
http://mail.python.org/mailman/listinfo/python-list
The next meeting of the SoCal Piggies will be this Thursday November 10
at USC, starting at 7 PM. We'll have 2 presentations:
* Python and Unicode -- Daniel Arbuckle
* What You Can Do with Python in 90 Minutes -- Mark Kohler
If you're a Python enthusiast living in the L.A./O.C. area, please
You might want to post your question to the twill mailing list. Info
about the list is available at http://lists.idyll.org/listinfo/twill
Grig
--
http://mail.python.org/mailman/listinfo/python-list
I successfully used mxODBC
(http://www.egenix.com/files/python/mxODBC.html)
Grig
--
http://mail.python.org/mailman/listinfo/python-list
This is really synchronicity in action! I started to think yesterday
about putting together a project that measures the 'goodness' of Python
packages in the PyPI Cheese Shop repository. I call it the Cheesecake
project. I took the liberty of citing Micah's post in a blog entry that
I just posted:
for the meeting is Python graphics and visualization.
Presentations:
PIL tutorial -- Brian Leair
matplotlib overview -- Diane Trout
Creating sparklines with matplotlib -- Grig Gheorghiu
Please consider joining us if you are in the area.
For more details on SoCal Piggies activities, see the group's home page
I used pySNMP successfully. I think it's the most active SNMP-related
Python project too.
Grig
--
http://mail.python.org/mailman/listinfo/python-list
TurboGears: Python on Rails? post:
http://developers.slashdot.org/developers/05/10/10/0650207.shtml?tid=156
--
http://mail.python.org/mailman/listinfo/python-list
By sheer coincidence I was looking into the same thing today. I just
downloaded the latest rrdtool release (rrdtool-1.2.11) and I noticed a
/bindings/python subdirectory. I haven't played with it yet, as I still
need to install tons of prerequisites before I can build rrdtool.
Grig
--
I don't know of any, so maybe it's time to roll our sleeves :-)
Actually, a while ago I started a python project called perfstats
(http://sourceforge.net/projects/perfstats) which uses SNMP to
retrieve various system performance metrics, stores them into a
Firebird database, then displays them
Try dummynet (http://info.iet.unipi.it/~luigi/ip_dummynet/ and/or
Google for it)
Grig
--
http://mail.python.org/mailman/listinfo/python-list
Achim,
Have you looked into twill? It's available at
http://www.python.org/pypi/twill/0.7.2
Grig
--
http://mail.python.org/mailman/listinfo/python-list
Jan,
Here's what I did to run a Python script (let's call it myscript.py) as
a service:
1. Install Win2K Resource Kit.
2. Run instsrv to install srvany.exe as a service with the name
myscript:
C:\Program Files\Resource Kit\instsrv myscript C:\Program
Files\Resource Kit\srvany.exe
3. Go to
I recommend py.log (part of the py lib) as an example of a pythonic
implementation of logging. It uses a keyword-based mechanism and it
distinguishes between producers of log messages (i.e. your app) and
consumers of log messages (i.e. stdout, stderr, a database, a mail
server, etc.)
You can do
Here are 2 recipes from the online Python Cookbook. I've used this one
very successfully:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/115875.
This one seems simpler:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/59872
Grig
--
Python enthusiasts from the L.A/Orange County areas are invited to the
next SoCal Piggies meeting on Tuesday August 16th from 7 PM to 9 PM.
The meeting will take place at USC. Directions available here:
http://socal-piggies.org/scp/USC_Salvatori_Computer_Science_Center,_room_222
On the agenda:
I had a similar problem when trying to compile Python 2.4.1 on AIX. The
configure script complained about not finding 'cc_r'. I simply did 'ln
-s /usr/bin/gcc /usr/bin/cc_r' and that solved my problem. You may
consider doing the same for cclplus.
Grig
--
The py.test module offers setup/teardown hooks at the method, class and
module level. The scenario you're describing would be covered at the
module level. See the py.test documentation for more details:
For Javascript automation, I recommend Selenium
(http://confluence.public.thoughtworks.org/display/SEL/Home).
Grig
--
http://mail.python.org/mailman/listinfo/python-list
As the other posters already mentioned, cx_Oracle is the way to go. I'm
using it to connect to Oracle not only on Windows, but also on Solaris,
Linux and AIX.
Grig
--
http://mail.python.org/mailman/listinfo/python-list
That's exactly the way to go. In my case, I'm using cx_Oracle to
connect from Python to Oracle and the same exact code runs on Windows,
Linux, Solaris and soon on AIX.
Grig
--
http://mail.python.org/mailman/listinfo/python-list
Why don't you donwload the source from python.org? Also, on Solaris tar
is sometimes broken (i.e. can't deal with long directory names etc.)
You may want to donwload and install gnu tar.
Grig
--
http://mail.python.org/mailman/listinfo/python-list
I concur with Larry. I find that by properly abstracting the database
connection code in my own class, I can then use any DB-API-compliant
Python module to connect to a variety of databases. I use for example
cxOracle to connect to Oracle and kinterbasdb to connect to firebird. I
haven't tried
1. Download and install MySQL-python from
http://sourceforge.net/project/showfiles.php?group_id=22307package_id=15775
2. Try to connect to a MySQL database that you have running. In this
example I'm connecting to the bugs database installed with Bugzilla,
and I'm connecting as MySQL user root
Use cx_Oracle: http://starship.python.net/crew/atuining/cx_Oracle/
Grig
--
http://mail.python.org/mailman/listinfo/python-list
How is your Firebird database configured -- Classic Server or Super
Server? If it's in classic server mode, you don't need to worry about
the host portion. You do need to worry about permissions on the
database file. I got it to work by making it 664 and owner + group
firebird.
Grig
--
Salut, Catalin
You can first convert your c string to unicode, and in the process
specify an encoding that understands non-ASCII characters (if you don't
specify an encoding, it will try to use your default, which is most
likely ASCII, and you'll get the error you mentioned.). In the
following
There may have been a reason for the win32 stuff at some pointbut I
don't remember and you're right, it does seem like getpass by itself
would do the job.
Grig
--
http://mail.python.org/mailman/listinfo/python-list
Try upcoming.org. In addition to the Web interface, they also offer a
REST-ful API that you can use from your own app.
Grig
--
http://mail.python.org/mailman/listinfo/python-list
The Southern California Python Interest Group (aka SoCal Piggies) will
meet tomorrow 05/17 at USC from 7 PM to 9 PM. If you are interested,
please check the group's Wiki for more details:
http://agile.unisonis.com/socalpiggies
Grig Gheorghiu
--
http://mail.python.org/mailman/listinfo/python
If you live in the Los Angeles/Orange County area and would like to
meet fellow Pythonistas, please consider attending the SoCal Piggies
meeting on Tuesday April 19 at 7:30 PM, at the Kerckhoff Marine Lab in
Newport Beach. Details are available at
http://agile.unisonis.com/socalpiggies . There's
In my experience, Python is more Windows-friendly than Perl. Mark
Hammond's Python Extensions for Windows are a lifesaver. You can
download the package from http://sourceforge.net/projects/pywin32/ or
install the ActiveState Python package, which includes the Windows
extensions.
I use Python for
I also recommend Firebird. I like the fact that the database is in its
own file that can be copied from one platform to another. I use it on
Linux, but it works just as well on Windows.
Grig
--
http://mail.python.org/mailman/listinfo/python-list
The Southern California Python Interest Group (SoCal Piggies) will meet
Tuesday April 12 @ 7:30 PM, at the Kerckhoff Marine Lab in Newport
Beach. If you're a Pythonista in the area and you're interested in
participating, please e-mail socal-piggies at lists.idyll.org and
request more info.
Try paramiko: http://www.lag.net/paramiko/
Grig
--
http://mail.python.org/mailman/listinfo/python-list
I subscribe to the other posters' opinion: cx_Oracle is what I use on
Windows, Linux and Solaris. Works great cross-platform and across
Oracle versions (I use it with Oracle 9 and 10, haven't tried 8 yet).
Grig
--
http://mail.python.org/mailman/listinfo/python-list
py.test intercepts the assert statements before they are optimized
away. It's part of the profuse magic that py.test does.
Grig
--
http://mail.python.org/mailman/listinfo/python-list
Check out http://pyre.third-bit.com/pyweb/index.html
Grig
--
http://mail.python.org/mailman/listinfo/python-list
Can't you use the tempfile module to generate unique names for
non-existent files and directories? Take a look at
http://www.python.org/doc/lib/module-tempfile.html -- it works on all
supported platforms.
Grig
--
http://mail.python.org/mailman/listinfo/python-list
In my mind, practicing TDD is what matters most. Which framework you
choose is a function of your actual needs. The fact that there are 3 of
them doesn't really bother me. I think it's better to have a choice
from a small number of frameworks rather than have no choice or have a
single choice that
From what I know, the PyPy guys already have a unittest-to-py.test
translator working, but they didn't check in the code yet. You can send
an email to py-dev at codespeak.net and let them know you're interested
in this functionality.
Grig
--
http://mail.python.org/mailman/listinfo/python-list
Is there an official procedure for signing up for presenting a
Lightning Talk, except for editing the PyCon05 Wiki page?
Grig
--
http://mail.python.org/mailman/listinfo/python-list
There's another current thread on c.l.py talking about testing Web
applications. Somenone suggested Jython in conjunction with HttpUnit, a
combination that worked for me too -- but the name HttpUnit is
misleading, since it does functional/black box testing and not unit
testing. It beats scraping
The Jython / HttpUnit combination worked well for me too. There's also
maxq (http://maxq.tigris.org/), which looks promising, but I haven't
used it yet.
Grig
http://agiletesting.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-list
At a command prompt, do which python to see where the python binary
lives. Then specify the full path to python in your exec() call,
instead of just python. What probably happens is that you don't have
the python binary in your PATH when you run exec() from your Java code.
Grig
--
Bogdan,
If your app is written in Java, take a look at Marathon
(http://marathonman.sourceforge.net/). It uses Jython as its scripting
language and it's pretty smart about how it does automation (i.e. it
doesn't look at screen coordinates, but at control names). It also
offers a capture/replay
What version of Python are you running on Linux vs. Windows?
--
http://mail.python.org/mailman/listinfo/python-list
As a tester, my vote goes to extending the Testing subsection of the
Testing, debugging and optimizing. I'd like to see more testing tools
discussed there. Maybe py.test, PyFIT, and possibly others.
Grig
--
http://mail.python.org/mailman/listinfo/python-list
61 matches
Mail list logo