Can any body tell how to access data from mysql using python. I am using python
version 3.4.1 and Mysql version 5.1
--
https://mail.python.org/mailman/listinfo/python-list
http://www.etoro.com/B520_A26094_TClick.aspx
--
http://mail.python.org/mailman/listinfo/python-list
http://www.bigextracash.com/aft/3e8b26c3.html
--
http://mail.python.org/mailman/listinfo/python-list
http://bigcash.zipnadazilch.com/index.php?referral=87081
--
http://mail.python.org/mailman/listinfo/python-list
http://www.surftrafficexchange.com/?refid=5979
--
http://mail.python.org/mailman/listinfo/python-list
On Aug 25, 1:53 pm, Cousin Stanley <[EMAIL PROTECTED]> wrote:
> >
>
> > def generate_output():
> > print ''
>
> > generate_output()
>
> Raja
>
> You might try adding a Content-type header followed by
#x27;,'database','dcrno1')
cur=connection.cursor()
cur.execute('select shipment_id from
pending_customer_shipments where rownum < 10')
return cur
cursor = test_dbconnect()
def generate_output():
print ''
generate_output()
Thanks,
Raja.
--
http://mail.python.org/mailman/listinfo/python-list
Fault Seal Analysis
Analyse Reservoir Fault, Lateral & Top Seal quickly and efficiently
http://finance4u.synthasite.com/
--
http://mail.python.org/mailman/listinfo/python-list
DreamTemplate.com
World's Largest Web Template Store 3000+ CSS, Website, Flash, Logos
http://finance4u.synthasite.com/
--
http://mail.python.org/mailman/listinfo/python-list
Download Latest Simulation Software Try Risk Solver Free for 15 Days.
http://finance4u.synthasite.com/
--
http://mail.python.org/mailman/listinfo/python-list
Start B2B storefronts on Alibaba, Show products to all buyers - Free!
http://finance4u.synthasite.com/
--
http://mail.python.org/mailman/listinfo/python-list
Learn Web Design Online or in SF w/ Academy of Art. Free Info Packet.
http://finance4u.synthasite.com/
--
http://mail.python.org/mailman/listinfo/python-list
Don't Forget Your Own Toolbar Keep The User a Step Away. Act Now
http://finance4u.synthasite.com/
--
http://mail.python.org/mailman/listinfo/python-list
Apply to Over 2,00,000 High Paying Jobs. Register Free Now!
http://finance4u.synthasite.com/
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, 10 Aug 2008 21:40:55 -0700, Mensanator wrote:
> On Aug 10, 11:18�pm, ssecorp <[EMAIL PROTECTED]> wrote:
>> Is there a syntax for looping through 2 iterables at the same time?
>>
>> for x in y:
>> � � for a in b:
>>
>> is not what I want.
>>
>> I want:
>> for x in y and for a in b:
>
> Som
On Sat, 02 Aug 2008 21:58:09 +0200, TP wrote:
> Hi everybody,
>
> When using raw_input(), the input of the user ends when he types Return
> on his keyboard.
> How can I change this behavior, so that another action is needed to stop
> the input? For example, CTRL-G. It would allow the user to inpu
On Thu, 31 Jul 2008 14:09:12 -0700, James Calivar wrote:
> I'm a newbie trying to write a script that uses threads. I'm right now
> a little bit stuck in understanding why the code snippet I wrote doesn't
> seem to be entering the function defined in the start_new_thread() call.
>
> If I run it
On Fri, 01 Aug 2008 14:47:17 +0100, Sion Arrowsmith wrote:
> Simon Strobl <[EMAIL PROTECTED]> wrote:
>>I tried to load a 6.8G large dictionary on a server that has 128G of
>>memory. I got a memory error. I used Python 2.5.2. How can I load my
>>data?
> Let's just eliminate one thing here: this s
On Fri, 01 Aug 2008 14:47:17 +0100, Sion Arrowsmith wrote:
> Simon Strobl <[EMAIL PROTECTED]> wrote:
>>I tried to load a 6.8G large dictionary on a server that has 128G of
>>memory. I got a memory error. I used Python 2.5.2. How can I load my
>>data?
>
> Let's just eliminate one thing here: this
Six Elements of Superfruit Success Buy new book of expert insights!
http://food-drinks.page.tl/
--
http://mail.python.org/mailman/listinfo/python-list
with italian regional recipes with italian master chefs
http://food-drinks.page.tl/
--
http://mail.python.org/mailman/listinfo/python-list
Eccelsa Qualità di Montagna per Rivenditori, Ristoranti e Privati.
http://food-drinks.page.tl/
--
http://mail.python.org/mailman/listinfo/python-list
I fought with excess belly fat for years until I found this 1 trick.
http://food-drinks.page.tl/
--
http://mail.python.org/mailman/listinfo/python-list
How To Gain Freaky Muscle Mass. As Seen On CNN.
http://food-drinks.page.tl/
--
http://mail.python.org/mailman/listinfo/python-list
Historical half-timbered house with excellent cuisine in Oberwesel
http://food-drinks.page.tl/
--
http://mail.python.org/mailman/listinfo/python-list
Customized Excel Workbook to Cost All Your Recipes & Menu Items
http://food-drinks.page.tl/
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 7, 1:21 pm, Raja <[EMAIL PROTECTED]> wrote:
> Hi All,
> Thanks for replies. Daniel- I am looking at just a wrapper
> around GDB. I dont want to emulate the functionalities of GDB but
> instead use them in python scripting.
> Martin - Misc/gdbinit looks pr
Hi All,
Thanks for replies. Daniel- I am looking at just a wrapper
around GDB. I dont want to emulate the functionalities of GDB but
instead use them in python scripting.
Martin - Misc/gdbinit looks promising. Thanks a lot.
Thanks,
Raja.
On Mar 7, 12:43 pm, "Martin v. Löwis&quo
Hi,
I am trying to develop a a GDB wrapper script in python which is
able to extract a stack trace and all relevant data.
Has anyone does this before ? Even some basic idea or code as to how
to proceed would be great.
Thanks,
Raja.
--
http://mail.python.org/mailman/listinfo/python-list
gdb)
The "putting" and number 3 are program's print statements.
Can anyone please provide me with a insight into this problem and
solution to it ? What might be the cause of this problem or how to go
about further debugging it ?
Thanks,
Raja.
--
http://mail.python.org/mailman/listinfo/python-list
db)
The "putting" and number 3 are program's print statements.
Can anyone please provide me with a insight into this problem and
solution to it ? What might be the cause of this problem or how to go
about further debugging it ?
Thanks,
Raja.
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 25, 8:10 pm, Steve Holden <[EMAIL PROTECTED]> wrote:
> Raja wrote:
> > Hi,
> > I want to override the sys.settrace() call, create a way to trace
> > the execution of a python program. Keep track of all objects created
> > and destroyed. Keep track o
Hi,
I want to override the sys.settrace() call, create a way to trace
the execution of a python program. Keep track of all objects created
and destroyed. Keep track of the call pattern throughout the execution
of the program and output a simplified "call graph" to standard out.
Please help me in
Hi,
I want to override the sys.settrace() call, create a way to trace
the execution of a python program. Keep track of all objects created
and destroyed. Keep track of the call pattern throughout the execution
of the program and output a simplified "call graph" to standard out.
Please help me in
Hi,
I want to override the sys.settrace() call, create a way to trace
the execution of a python program. Keep track of all objects created
and destroyed. Keep track of the call pattern throughout the execution
of the program and output a simplified "call graph" to standard out.
Please help me in
Hi,
I want to override the sys.settrace() call, create a way to trace
the execution of a python program. Keep track of all objects created
and destroyed. Keep track of the call pattern throughout the execution
of the program and output a simplified "call graph" to standard out.
Can anyone please
Hi,
I want to override the sys.settrace() call, create a way to trace
the execution of a python program. Keep track of all objects created
and destroyed. Keep track of the call pattern throughout the execution
of the program and output a simplified "call graph" to standard out.
Can anyone please
dc = win32ui.CreateDCFromHandle(hdc)
dc.StartDoc('My Python Document')
dc.StartPage()
dc.EndPage()
dc.EndDoc()
del dc
You help is greatly appreciated.
Thank You,
Raja.
--
http://mail.python.org/mailman/listinfo/python-list
ng
state) when the screensaver is
deactivated. Note that this substate should only be
entered if the app was in the active
window tracking state when the screensaver activated.
Awaiting Your Reply,
Thank You ,
Raja.
--
http://mail.python.org/mailman/listinfo/python-list
eeded. The
business object or the functional layer is unaffected as the default
value returned by the __getattribute__ is the unencoded data from the
DB.
Raja
Diez B. Roggisch skrev:
> >> I have data stored in the database which has special characters
> >> like <, >
Correction: I meant __builtin__.getattr method and not the other one I
mentioned.
:-)
Thanks
Raja
Raja Raman Sundararajan skrev:
> Hello guys,
> I have data stored in the database which has special characters
> like <, > etc.
> Case 1: Whenever I wanted to present the o
les that get the attribute values of objects stored in the
database and I do not want to manually change the way of DB access in
those files. I rather prefer a centralized way to achieve this.
Good inputs are always appreciated.
:-)
Raja
--
http://mail.python.org/mailman/listinfo/python-list
y links or resources in this regard. How to modify the headers ? ie. all in 35 bytes .
Thank You, Raja.
--
http://mail.python.org/mailman/listinfo/python-list
and if any links or resources in
this regard. How to modify the headers ? ie. all in 35 bytes .
Thank You,
Raja.
--
http://mail.python.org/mailman/listinfo/python-list
Hi paron,
I am using PyRTF as of now and it seems to fit my need quite well
and it works like a charm :-).
I have made a wrapper around it so that it will easier for me to switch
the backend for generating the word/RTF docs later.
May be, it will be openoffice :-)
I appreciate your input. Thank
Hi Michel,
Well, Office 12 will have very many features. Thats true.
But my document needs to work in all versions of Office.
I hope that pyRtf generated file is fully rtf compatible. :-)
But so far I think it is quite okay.
To answer my first question:
> 1. do an align right of contents inside
Yeah, thats a good approach.
I have been fiddling around to implement that feature in elements.py
and RTF specification from msdn
However, I have not been successful thus far.
To answer my first question:
> 1. do an align right of contents inside a cell
Its not possible by speficying alignment in
Hello,
I have been playing around with pyRTF module for generating rtf
documents.
Its a very nice tool that fits my basic needs. However I have a problem
controlling cells in
a table.
I am not able to
1. do an align right of contents inside a cell
2. set backgroundcolor of a cell
3. I wonder i
Hi guys,
Thanks for your note Grant.
I had a look at the pyRTF and it seems to be quite impressive :-)
I actually works for my needs except the below, concerning cells in a
table
For cells in a table, pyRTF does not support
1. ALIGN_RIGHT
2. Cell background
Do you guys have any idea of how to
Hi Tim,
Thanks for your PyRTF suggestion. I am checking it out now
:-)
/R
--
http://mail.python.org/mailman/listinfo/python-list
Hello guys,
Is there any nice library to generate word documents using Python.
As of today I am generating a HTML document and then open it with MS
Word.
But the problem is that I am not able to control the pages in the
document and as a result of it the output looks terrible.
I have been usi
Hello guys,
I was investigating how one can use the "text indexers" in python
and I stumbled across several ones. eg., pylucene
I wanted to know how the algorithm of indexers look like. I have heard
people talking about B-Trees. But this info. is simply know enough. I
would like to know exactl
Oh! yes you can use re for that.
You just need to change the pattern a bit
I did not understand where the "title" will be so I have ignored it,
but I got something below which will be helpful for you
>>> value = """name:asasasasas\nrequest: play\ntitle"""
>>> reg = re.compile('Name:.*\\nrequest:.
try this. maybe this is what you want?
reg = re.compile('Name:.*\\n', re.IGNORECASE)
--
http://mail.python.org/mailman/listinfo/python-list
27; is only going to fetch you fnames that == 'raj'
Originally my problem was using the LIKE statement itself. But I guess
you already know.
/Raja Raman
--
http://mail.python.org/mailman/listinfo/python-list
p)
query = query % {'in_params': in_params[:-1]}
Any inputs to improve the IN statement logic?
My dream is to use just one create parameter for the SQL list
so that the query looks like
query = "SELECT * FROM tb_name WHERE firstname IN ?"
Nice and easy...
:-)
Thanks in advanc
Yes, reportlad is a good tool for creating pdf and images
--
http://mail.python.org/mailman/listinfo/python-list
This does not seem to work well Roger
>>> value = '%raj%'
>>> cmd.CommandText = "select * from table_name where firstname LIKE ?"
result is 0 where I expected 4
/Raja Raman
--
http://mail.python.org/mailman/listinfo/python-list
x27;
How should we do this using createparameter in python?
There should be a wasy toa chieve this in ADO using python.
C# has a way to do this using ADO.Net.
Please keep providing inputs, in the mean time I will also do some
research on this problem and get back to you if I find a solution.
Thanks
Hi Gregarican,
I am the original poster and yes this is a production code level
problem.
Do u have inputs for a solution?
/Raja Raman
--
http://mail.python.org/mailman/listinfo/python-list
Yes, the statement you tried is a valid statement
also
>>> name = "%'WAITFOR DELAY '00:00:03'--%"
>>> "SELECT * FROM tb_name WHERE firstname LIKE '%s'" % name
is also valid.
My question is how to use the LIKE statements using ADO.in python
:-|
--
http://mail.python.org/mailman/listinfo/python-lis
ike '%s' " % (name)
The server will have to wait for three seconds and will return all the
rows in the table,
which is unwanted.
I am trying to use parameterized statements to avoid these sort of SQL
injection problems
and have not managed yet to fix the LIKE and IN statement probl
62 matches
Mail list logo