Shea Grove wrote:
>> I'm using pyodbc to interact with MS SQL Server and I'm starting to
>> support mysql. My issue is that when I use a parameterized query, it
>> works for SQL Server, but crashes when I point to MySQL.
I assume it raise an Exception.
>> Is there a different syntax that I sh
"Emile van Sebille" wrote
print 'hello'
...
SyntaxError: invalid syntax
Actually, "the print statement is deprecated" ought not be out of
reach.
Its very unfortunate that Python 3 didn't include a special error or
warning
message for the print statement. This kind of error for a complete
I agree. What do we do to fix the "problem"?
--
Bob Gailer
919-636-4239
Chapel Hill NC
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
On Thu, Dec 16, 2010 at 10:13 AM, bob gailer wrote:
> I agree. What do we do to fix the "problem"?
something like "quit" (or friends) might be nice, as they are already
special cases in the interpreter:
$ python
Python 2.5.1 (r251:54863, Feb 9 2009, 18:49:36)
[GCC 4.0.1 (Apple Inc. build 5465)]
I'm new to Python and have been using IDLE for Python programming. My only
other significant text editor experience is with Notepad++ and Tinn-R, which
I've used for R programming. Vim seems more efficient, but I wanted to ask
you experts whether it makes sense (or is even possible) to use vim in
W
On 12/16/2010 1:58 PM, Joel Schwartz wrote:
I'm new to Python and have been using IDLE for Python programming. My only
other significant text editor experience is with Notepad++ and Tinn-R, which
I've used for R programming. Vim seems more efficient, but I wanted to ask
you experts whether it mak
On 16-Dec-10 10:58, Joel Schwartz wrote:
I'm new to Python and have been using IDLE for Python programming. My only
other significant text editor experience is with Notepad++ and Tinn-R, which
I've used for R programming. Vim seems more efficient, but I wanted to ask
you experts whether it makes
Joel,
> One more question: IDLE does not appear to have a way to review your command
> history, e.g., by hitting the up arrow.
To move through your command history, use Alt+P (previous) and Alt+N
(next).
Malcolm
___
Tutor maillist - Tutor@python.org
Maybe one of you can help with this. I've got some data that I
grabbed from a cobbler *.json file using simplejson.load(). Heres
what the data looks like:
In [120]: print mydata.keys()
['comment', 'kickstart', 'name_servers_search', 'ks_meta',
'kernel_options_post', 'image', 'redhat_management_k
On Thu, Dec 16, 2010 at 12:58 PM, Joel Schwartz wrote:
>
whether it makes sense (or is even possible) to use vim in
> Windows (I use Windows XP-SP3).
>
Alternatively, is there another basic Python GUI
> that has the up-arrow command history feature and is also good for Python
> coding in gener
"Joel Schwartz" wrote
you experts whether it makes sense (or is even possible) to use vim
in
Windows (I use Windows XP-SP3).
Yes, vim is great on Windows.
When i used unix primarily I was an emacs fan, but emacs just
doesn't feel right on windows to me so I moved to vim which
works hust as we
> I have a database with a table called "systems" that contains an
> auto-increment id field, as well as fields for each of the keys in
> mydata.keys(). But I can't seem to get the syntax to import
> mydata.values() into the table. I think the problem may be that some
> of the items in my list ar
12 matches
Mail list logo