Re: [BangPypers] sending sms through the web

2010-06-09 Thread Kenneth Gonsalves
On Wednesday 09 June 2010 12:28:38 Kenneth Gonsalves wrote:
> > Quoting their website:
> > API Support
> > 
> 
> I have asked our service if they have an api support - waiting for an
>  answer -  but in the event that they do not have one, I would like to be
>  ready.
> 

I got a reply - they have a paid service which has an api
-- 
Regards
Kenneth Gonsalves
Senior Associate
NRC-FOSS at AU-KBC
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] sending sms through the web

2010-06-09 Thread B.Nanda Kishore
I would recommend checking out Kannel 

Regards,
Nandakishore


On Wed, Jun 9, 2010 at 5:35 PM, Kenneth Gonsalves  wrote:

> On Wednesday 09 June 2010 17:11:32 senthil kumar v s wrote:
> > in case if u r going for webservice..
> > i hve used a rest based api provided by ericsson lab..which works perfect
> >  across nations. but for commercial purpose ,i m not sure abt their
> >  quota..or clause of usage..
> >
> > for more info:
> >  https://labs.ericsson.com/apis/sms-send-and-receive/documentation
> >
>
> thanks, but this is not what I want (btw, just curious, did you send this
> mail
> by sms?)
> --
> Regards
> Kenneth Gonsalves
> Senior Associate
> NRC-FOSS at AU-KBC
> ___
> BangPypers mailing list
> BangPypers@python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] sending sms through the web

2010-06-09 Thread Kenneth Gonsalves
On Wednesday 09 June 2010 17:11:32 senthil kumar v s wrote:
> in case if u r going for webservice..
> i hve used a rest based api provided by ericsson lab..which works perfect
>  across nations. but for commercial purpose ,i m not sure abt their
>  quota..or clause of usage..
> 
> for more info:
>  https://labs.ericsson.com/apis/sms-send-and-receive/documentation
> 

thanks, but this is not what I want (btw, just curious, did you send this mail 
by sms?)
-- 
Regards
Kenneth Gonsalves
Senior Associate
NRC-FOSS at AU-KBC
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] sending sms through the web

2010-06-09 Thread senthil kumar v s
Folks,

in case if u r going for webservice..
i hve used a rest based api provided by ericsson lab..which works perfect 
across nations.
but for commercial purpose ,i m not sure abt their quota..or clause of usage..

for more info: https://labs.ericsson.com/apis/sms-send-and-receive/documentation

Regards,
Senthil VS
Bangalore







From: Kenneth Gonsalves 
To: Bangalore Python Users Group - India 
Sent: Wed, June 9, 2010 12:28:38 PM
Subject: Re: [BangPypers] sending sms through the web

On Wednesday 09 June 2010 12:13:13 Elvis Joel D'Souza wrote:
> > > Is there any api/webservice which we can call to send an sms (india
> > > specific
> > > and also worldwide)?
> 
> I was a part of a team that automated delivery of my college' Test Scores
> through SMS to students
> We used a webservice by SMSGupshup for sending SMSs
> 
> website: http://enterprise.smsgupshup.com/
> 
> All you have to do, is an API (REST) call.
> So programming language does not matter. urllib will do the job just fine
> 
> Quoting their website:
> API Support
> 

I have asked our service if they have an api support - waiting for an answer - 
but in the event that they do not have one, I would like to be ready.
-- 
Regards
Kenneth Gonsalves
Senior Associate
NRC-FOSS at AU-KBC
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers



  
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Enabling code completion features in eric python IDE

2010-06-09 Thread Kenneth Gonsalves
On Wednesday 09 June 2010 16:58:16 Guruprasad wrote:
> On Wed, Jun 9, 2010 at 4:35 PM, vijay  wrote:
> > Hi ,
> > In Eric editor go to setting select autocompletion (in editor it
> > subtab). click auto Completion check box.
> 
> I have enabled 'autocompletion' in the Editor section of the
> configuration dialog. I have even selected the Python APIs for the IDE
> and compiled them using the UI. But the code completion feature
> doesn't seem to work at all.
> 

I have noticed that too
-- 
Regards
Kenneth Gonsalves
Senior Associate
NRC-FOSS at AU-KBC
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Enabling code completion features in eric python IDE

2010-06-09 Thread Guruprasad
Hi,

On Wed, Jun 9, 2010 at 4:35 PM, vijay  wrote:
> Hi ,
>     In Eric editor go to setting select autocompletion (in editor it subtab).
>     click auto Completion check box.
>

I have enabled 'autocompletion' in the Editor section of the
configuration dialog. I have even selected the Python APIs for the IDE
and compiled them using the UI. But the code completion feature
doesn't seem to work at all.

Regards,
Guruprasad
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Enabling code completion features in eric python IDE

2010-06-09 Thread vijay
Hi ,
    In Eric editor go to setting select autocompletion (in editor it subtab). 
    click auto Completion check box.


with regard'svijay



--- On Wed, 9/6/10, L. Guruprasad  wrote:

From: L. Guruprasad 
Subject: [BangPypers] Enabling code completion features in eric python IDE
To: bangpypers@python.org
Date: Wednesday, 9 June, 2010, 4:14 PM

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,
I have installed eric4 python IDE (version 4.4.4a) to try it. I am
unable to get any form of code autocompletion like is available with an
IDE like NetBeans, Eclipse or like the IntelliSense feature found with
Microsoft's Visual Studio environment. Yeah there are options for
autocompletion given, but I can't find out how to get them to work. For
example if I type:


a = [1,2,3]
a.


I wanted to get all the possible completions when I type a. and pause,
like I would get with a bpython or ipython for example. How do I go
about getting this done?

Thank you.

Regards,
Guruprasad
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwPcHAACgkQ39Y4kDBGzYY5mgCgseckZNcpLev/NDxW7NSiklDe
g6wAoK0nlY13aUGtc/3YaWv6JM4YVr/X
=DSol
-END PGP SIGNATURE-

-Inline Attachment Follows-

___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


[BangPypers] Enabling code completion features in eric python IDE

2010-06-09 Thread L. Guruprasad
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,
I have installed eric4 python IDE (version 4.4.4a) to try it. I am
unable to get any form of code autocompletion like is available with an
IDE like NetBeans, Eclipse or like the IntelliSense feature found with
Microsoft's Visual Studio environment. Yeah there are options for
autocompletion given, but I can't find out how to get them to work. For
example if I type:


a = [1,2,3]
a.


I wanted to get all the possible completions when I type a. and pause,
like I would get with a bpython or ipython for example. How do I go
about getting this done?

Thank you.

Regards,
Guruprasad
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwPcHAACgkQ39Y4kDBGzYY5mgCgseckZNcpLev/NDxW7NSiklDe
g6wAoK0nlY13aUGtc/3YaWv6JM4YVr/X
=DSol
-END PGP SIGNATURE-
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] 2to3 conversion

2010-06-09 Thread Senthil Kumaran
On Wed, Jun 09, 2010 at 02:43:39PM +0530, Zubin Mithra wrote:
> Hey everyone,
> 
> I got this traceback while running 2to3 on a file.(
> http://paste.pocoo.org/show/223468/).
> 
> The file can be viewed here at (http://paste.pocoo.org/show/223469/).
> 

I see, you are not running 2to3 on the file, but you are using 2to3
apis in this util module to covert the other files.

UnicodeDecodeError: 'utf8' codec can't decode bytes in position
232-234: invalid data

This means that the points where this Exception is raised in the file,
it is not getting decoded to a proper unicode character using utf-8
encoding.

You might have manually see where this is happening and either use a
different encoding for converting.

This link gives some more information:
http://wiki.python.org/moin/UnicodeDecodeError


-- 
Senthil
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


[BangPypers] 2to3 conversion

2010-06-09 Thread Zubin Mithra
Hey everyone,

I got this traceback while running 2to3 on a file.(
http://paste.pocoo.org/show/223468/).

The file can be viewed here at (http://paste.pocoo.org/show/223469/).

Any clue on how to resolve the problem?

Thanks in advance,
Zubin
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] sending sms through the web

2010-06-09 Thread Kenneth Gonsalves
On Wednesday 09 June 2010 12:40:15 kausikram krishnasayee wrote:
>  I have asked our service if they have an api support - waiting for an
> 
> > answer -
> > but in the event that they do not have one, I would like to be ready.
> 
> fake the login process :)
> 

urllib2 has some features which I am trying out - have sent a few smss, 
nothing reached my phone yet!
-- 
Regards
Kenneth Gonsalves
Senior Associate
NRC-FOSS at AU-KBC
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] sending sms through the web

2010-06-09 Thread kausikram krishnasayee
>
> I have asked our service if they have an api support - waiting for an
> answer -
> but in the event that they do not have one, I would like to be ready.


fake the login process :)

do a urllib call to the login page submit with the username and password.
there will be a redirect issued after a cookie is being set. most of the
times the cookie will contain a sessionid. capture that session id string
along.
next do a call to the sms submit form with the required number and message.
but in this url call, add the "Cookie: sessionid:blah." string as header.
the server assumes authentication after looking at the sessionid and sends
of the message.

have done similar python wrappers for other sms services and it works like a
charm 99% of the time ..

-- 
Kausikram Krishnasayee
Company: http://silverstripesoftware.com | Webpage: kausikram.net | Blog:
blog.kausikram.net | Twitter: http://twitter.com/kausikram | Email:
kausik...@gmail.com | Mobile: +91 9884246490
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] sending sms through the web

2010-06-09 Thread Kenneth Gonsalves
On Wednesday 09 June 2010 12:13:13 Elvis Joel D'Souza wrote:
> > > Is there any api/webservice which we can call to send an sms (india
> > > specific
> > > and also worldwide)?
> 
> I was a part of a team that automated delivery of my college' Test Scores
> through SMS to students
> We used a webservice by SMSGupshup for sending SMSs
> 
> website: http://enterprise.smsgupshup.com/
> 
> All you have to do, is an API (REST) call.
> So programming language does not matter. urllib will do the job just fine
> 
> Quoting their website:
> API Support
> 

I have asked our service if they have an api support - waiting for an answer - 
but in the event that they do not have one, I would like to be ready.
-- 
Regards
Kenneth Gonsalves
Senior Associate
NRC-FOSS at AU-KBC
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers