Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #94772 > unrolled thread

Logical Query in Python

Started bysubhabrata.banerji@gmail.com
First post2015-07-30 06:28 -0700
Last post2015-07-30 09:29 -0700
Articles 3 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  Logical Query in Python subhabrata.banerji@gmail.com - 2015-07-30 06:28 -0700
    Re: Logical Query in Python Steven D'Aprano <steve@pearwood.info> - 2015-07-31 01:04 +1000
      Re: Logical Query in Python subhabrata.banerji@gmail.com - 2015-07-30 09:29 -0700

#94772 — Logical Query in Python

Fromsubhabrata.banerji@gmail.com
Date2015-07-30 06:28 -0700
SubjectLogical Query in Python
Message-ID<90d0e539-d9ab-4c9a-ad79-7607fcd05531@googlegroups.com>
Dear Group,

I am trying to query JSON with Logical operators. 

I tried to experiment lot with it, but could not do much. 
I came many times pretty close but missed it almost. 

I tried to experiment with json, jsonquery, jsonschema, jsonpipe, objectpath, requests. 

I got a good example from http://www-01.ibm.com/support/knowledgecenter/SSEPEK_11.0.0/com.ibm.db2z11.doc.json/src/tpc/db2z_jsonlogicaloperators.dita

But I was looking for one or two worked out examples to start with. 

I am using Python2.7+ on Windows 7 with IDLE as GUI. 

I am trying and if anybody of the esteemed members may kindly help me with.

 

Regards,
Subhabrata Banerjee. 

[toc] | [next] | [standalone]


#94776

FromSteven D'Aprano <steve@pearwood.info>
Date2015-07-31 01:04 +1000
Message-ID<55ba3d10$0$1643$c3e8da3$5496439d@news.astraweb.com>
In reply to#94772
On Thu, 30 Jul 2015 11:28 pm, subhabrata.banerji@gmail.com wrote:

> Dear Group,
> 
> I am trying to query JSON with Logical operators.

What does that mean?

> I tried to experiment lot with it, but could not do much.
> I came many times pretty close but missed it almost.

Please:

- show an example of what you tried;

- give the results you expected;

- show the results you actually got.

COPY and PASTE the code and results, do not re-type them, or summarise them.




-- 
Steven

[toc] | [prev] | [next] | [standalone]


#94783

Fromsubhabrata.banerji@gmail.com
Date2015-07-30 09:29 -0700
Message-ID<4010db96-eb1e-44e3-91b1-99331543667b@googlegroups.com>
In reply to#94776
On Thursday, July 30, 2015 at 8:35:08 PM UTC+5:30, Steven D'Aprano wrote:
> On Thu, 30 Jul 2015 11:28 pm,  wrote:
> 
> > Dear Group,
> > 
> > I am trying to query JSON with Logical operators.
> 
> What does that mean?
> 
> > I tried to experiment lot with it, but could not do much.
> > I came many times pretty close but missed it almost.
> 
> Please:
> 
> - show an example of what you tried;
> 
> - give the results you expected;
> 
> - show the results you actually got.
> 
> COPY and PASTE the code and results, do not re-type them, or summarise them.
> 
> 
> 
> 
> -- 
> Steven

Dear Sir,

I redrafted it and reposted the question. This post I tried to drop but some how came. Please ignore this post. My reposting is with JSON. 

Regards,
Subhabrata Banerjee. 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web