~mysql/myconnpy/1.0

« back to all changes in this revision

Viewing changes to python2/examples/client.py

  • Committer: Geert Vanderkelen
  • Date: 2010-05-21 13:52:17 UTC
  • Revision ID: geert.vanderkelen@sun.com-20100521135217-tpwcchrzqhjt2qlt
Reorganizing source: splitting python2 and python3

o Python v2.x specific code resides in the subdirectory python2/
o Python v3.x specific code can be found in python3/ (previously py3k/)
o setup.py, make_release.py and MANIFEST.in, unittests.py are using
  the new locations
o setup.py and unittests.py will raise a RuntimeError when unsupported
  Python version is used
o README has been corrected
o python3/tests/test_examples.py doesn't use py3k-module anymore
o client.py has been moved to python2/examples/
o More copyright changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/env python
2
2
# -*- coding: utf-8 -*-
3
3
# MySQL Connector/Python - MySQL driver written in Python.
4
 
# Copyright 2009 Sun Microsystems, Inc. All rights reserved
 
4
# Copryright (c) 2009,2010, Oracle and/or its affiliates. All rights reserved.
5
5
# Use is subject to license terms. (See COPYING)
6
6
 
7
7
# This program is free software; you can redistribute it and/or modify