Re: [BangPypers] Regarding organizing PyCon India 2018 at Bangalore

2017-10-25 Thread sayantan bhattacharya
Hi,

I am interested.

Looking forward to collaborate with you.

On Oct 25, 2017 11:21, "chandan kumar" 
wrote:

Hello BangPypers,

As you all know, PyCon India 2018 is the 10th edition of PyCon India.
We are planning to bring back PyCon India 2018 back to Bangalore
again, (possibly NIMHANS).

In order to execute the same, we need your support. Before announcing the
same
in Inpycon mailing list, we need to form an organizing team so that we can
work together to put a proposal out.

Those who are interested in the same, feel free to reply to this email.
If any queries, feel free to ask.

Thanks,

Chandan Kumar
Sayan Chowdhury
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] generating cisco config using templates?

2015-09-30 Thread sayantan bhattacharya
Can you please specify what configuration you are trying to generate? Are
you trying to configure multiple devices?

If yes, you can try using the Ansible module, provided you aim for
configuring devices issuing the master slave model.
On Sep 30, 2015 19:11, "Atul Tyagi"  wrote:

> Hi All,
>
> Has anyone tried to generate the cisco switch config using yaml + jinja.
> Any experience, best practices or ideas that you might want to share?
>
> I am trying to do this. It seems simple with a very basic yaml but it's
> getting extremely confusing as I expand by yaml and make it more readable
> (other than just key/value pairs
>
> Any suggestions please?
>
> Thanks,
> Atul
> ___
> BangPypers mailing list
> BangPypers@python.org
> https://mail.python.org/mailman/listinfo/bangpypers
>
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Online communication channel

2015-08-15 Thread sayantan bhattacharya
I have not used Slack, but here's an idea that I have. We could always
create a custom python module enabling us to have all the functionalities
mentioned by Krace. This will in itself become an Open Source contribution
as well as can be attributed to 10 years of Bangpypers(an open source
framework made for group communication).

I am not sure if one exists, but if it doesn't we can obviously start.

On Sat, Aug 15, 2015 at 9:09 PM, anu sree anusree@gmail.com wrote:

 Slack is good, but I think we have to pay to keep chat history.
 On Aug 15, 2015 8:59 PM, kracekumar ramaraju 
 kracethekingma...@gmail.com
 wrote:

  Hi
 
   BangPypers doesn't have any online channel to discuss. Most of the Open
  source/Free software projects use IRC as tool for instant communication.
 
  Lately, lot of people have asked in meetup and at various places does one
  exist one for BangPypers. Many organizations like Wordpress [1], gopher
  [2], d3js [3] are using slack and indeed most people suggested the same.
 
  IRC is default tool for most the projects/organization, but slack has
 whole
  lot of advantages like mobile app, multi account login, email
 notification
  etc ... Also slack has bridge for IRC [4].
 
  Thoughts ?
 
 
  [1]: https://make.wordpress.org/chat/
  [2]: http://blog.gopheracademy.com/gophers-slack-community/
  [3]: https://d3js.slack.com/
  [4]:
 
 
 https://slack.zendesk.com/hc/en-us/articles/201727913-Connecting-to-Slack-over-IRC-and-XMPP
 
  --
 
  *Thanks  RegardskracekumarTalk is cheap, show me the code -- Linus
  Torvaldshttp://kracekumar.com http://kracekumar.com*
  ___
  BangPypers mailing list
  BangPypers@python.org
  https://mail.python.org/mailman/listinfo/bangpypers
 
 ___
 BangPypers mailing list
 BangPypers@python.org
 https://mail.python.org/mailman/listinfo/bangpypers




-- 
Sayantan Bhattacharya
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Connecting developers and companies

2015-07-20 Thread sayantan bhattacharya
Going through the mails, I think it would be better for us to maintain a
job posting site/place separately. Personally, I like the meet-ups for the
information they provide as well as chatting with other programmers.
Allowing companies/startups to present their content would not fit the
actual purpose of the meet ups. But, there's the portion of companies
allowing us to meet at their locations, to which we can allow the hosting
company to present their content as compared to allowing other companies to
come up too.

For example, Company A is hosting our meet-up, so by default Company A gets
the chance to place their content, availing this chance will be at the sole
disposal of Company A. But in case Company B wishes to present too, they
will have to get prior permission from Company A along with the organizers
of the meet-up.

On Mon, Jul 20, 2015 at 1:47 PM, Sreekanth S Rameshaiah s...@mahiti.org
wrote:

 On 20 July 2015 at 13:42, Nitin Kumar nitin.n...@gmail.com wrote:

  So in such case isn't it our responsibility to give a chance (to speak
  about opportunity) to the company hosting the workshop.
  Even I feel some of the audience would be quite interested in them (after
  having a look to their infra, teams)
 

 No, its volunteering. Even speaks give their time and share knowledge. They
 are not incentivised either.
 Informal conversations between whoever are interested are not an issue.

 - sree


 --
 Sreekanth S Rameshaiah
 Executive Director
 Mahiti Infotech Pvt. Ltd.
 An ISO 9001:2008  ISO 27001:2013 Enterprise

 Phone:  +91 80 4905 8444
 Mobile:  +91 98455 12611
 www.mahiti.org
 ___
 BangPypers mailing list
 BangPypers@python.org
 https://mail.python.org/mailman/listinfo/bangpypers




-- 
Sayantan Bhattacharya
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Connecting developers and companies

2015-07-20 Thread sayantan bhattacharya
Exactly. So, in case the organizers are looking for sponsors for the next
meetup, the search time reduces too.
On Jul 20, 2015 3:03 PM, Mandar Vaze / मंदार वझे mandarv...@gmail.com
wrote:

 
  But in case Company B wishes to present too, they
  will have to get prior permission from Company A along with the
 organizers
  of the meet-up.
 

 Or Company B can just sponsor next meetup ;)

 -Mandar
 ___
 BangPypers mailing list
 BangPypers@python.org
 https://mail.python.org/mailman/listinfo/bangpypers

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


Re: [BangPypers] about code

2014-12-14 Thread sayantan bhattacharya
Hello,

I haven't worked that much with openCV in python, so can't provide choosing
help right away. But searched on Google for similar topic and found the
following link:

http://stackoverflow.com/questions/13211745/detect-face-then-autocrop-pictures

Hope this helps.
On Dec 15, 2014 11:52 AM, narayan naik narayannaik...@gmail.com wrote:

 Hi,
 import cv2

 def detect(path):
 img = cv2.imread(path)
 cascade = cv2.CascadeClassifier(haarcascade_frontalface_alt.xml)
 rects = cascade.detectMultiScale(img, 1.3, 4,
 cv2.cv.CV_HAAR_SCALE_IMAGE, (20,20))

 if len(rects) == 0:
 return [], img
 rects[:, 2:] += rects[:, :2]
 return rects, img

 def box(rects, img):
 for x1, y1, x2, y2 in rects:
 cv2.rectangle(img, (x1, y1), (x2, y2), (127, 255, 0), 2)


 rects, img = detect(hi.jpg)

 cropped = img[70:17, 40:40]
 cv2.imshow(cropped, cropped)
 cv2.waitKey(0)
 box(rects, img)

 cv2.imshow('img',img)
 cv2.waitKey(0)
 cv2.destroyAllWindows()

 This is a face detection code.This will work properly.but I want to crop
 the detected faces and it should display on the screen.
 ___
 BangPypers mailing list
 BangPypers@python.org
 https://mail.python.org/mailman/listinfo/bangpypers

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


Re: [BangPypers] Best books for python

2014-09-24 Thread sayantan bhattacharya
You can also try out Beginning Python - from Novice to Professional.
On Sep 21, 2014 12:28 PM, Ashok K mails.as...@yahoo.com.dmarc.invalid
wrote:

 Hello All,

 I have learnt the python basics by viewing few videos. Want to gain
 in-depth knowledge and master python:)

 Please suggest some books/materials that would help me master python.

 Thanks,
 Ashok
 ___
 BangPypers mailing list
 BangPypers@python.org
 https://mail.python.org/mailman/listinfo/bangpypers

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


Re: [BangPypers] face detection

2014-09-22 Thread sayantan bhattacharya
Check haarcascade in open cv
On Sep 22, 2014 6:23 PM, narayan naik narayannaik...@gmail.com wrote:

 good evening sir,
 I am doing my M.Tech project on face
 detection,but I am confused with the algorithm,can u please tell me a
 simple and best face detection algorithm.
 ___
 BangPypers mailing list
 BangPypers@python.org
 https://mail.python.org/mailman/listinfo/bangpypers

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


Re: [BangPypers] Python is still greek to india's top IT firms

2014-09-13 Thread sayantan bhattacharya
Hello all,

I work at TCS and they didn't know about Python either. Now that I have
written a script that does the log monitoring easy for the Application
support guys, they have accepted the language. But there seems to be a
resistance among the people using Java to accept that Python is powerful
and capable enough to do the same task that Java does.

On Sat, Sep 13, 2014 at 2:37 PM, Bibhas m...@bibhas.in wrote:


 On 09/13/2014 01:27 PM, Asif Jamadar wrote:

 http://timesofindia.indiatimes.com/...-Indias-top-
 IT-firms/articleshow/41535783.cmshttp://timesofindia.
 indiatimes.com/tech/jobs/Python-is-still-greek-to-Indias-top-IT-firms/
 articleshow/41535783.cms

 NEW DELHI: Recently, one of India's top software companies was faced with
 quandary. It had won a $200 million (Rs 1,200 crore) contract to develop an
 app store for a large US bank, but did not have adequate numbers of
 programmers who could write code in Python, the language most suited for
 the job. Eventually, it paid thrice the billing rate to a group of
 freelance Python programmers in the US. And learned a valuable lesson about
 the importance of a language named after the British television comedy
 series Monty Python.


 I'd like to know which company this `one of India's top software
 companies` is. Sounds like they don't network enough to find out the Python
 developers in India.


 For a nation regarded as a software programming powerhouse, the episode
 has salutary lessons. While skills in traditional computer languages meant
 for stitching software applications and maintaining large mainframe
 computers are a strength, ignoring Python could prove to be a costly
 mistake.

 Because companies like Infosyshttp://economictimes.
 indiatimes.com/infosys-technologies-ltd/stocks/companyid-10960.cms and
 TCS prefer proprietary languages like Java or dot NET most students think
 of these as an option in college. That is the reason you don't get good
 quality talent in the industry to work with us in Python, said Jofin
 Joseph, cofounder and chief operating officer of Profoundis, a Kochi-based
 technology startup which has been struggling for about a year to hire young
 Python programmers.


 Checked out the social network profiles of Profoundis, they are almost
 non-existent. They don't attend any events at all. I wonder how they are
 trying to hire Python programmers. That might tell us why they are
 struggling.


 Anyway, other points about big companies working with Java and as a result
 colleges teaching only those, is true. It's become a circle.


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


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




-- 
Sayantan Bhattacharya
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] xlrd

2014-08-24 Thread sayantan bhattacharya
Hi Jayanth,

Can you provide me the excel file or a similar file with corresponding
arbit data? I have worked with xlrd and xlwt before and have not faced any
issue like this - though the files I have been using are not password
protected.

--
Sayantan
On Aug 21, 2014 8:32 PM, Jayanth Koushik jnkous...@gmail.com wrote:

 If the encryption does not matter, then the easier way might be to remove
 the encryption and proceed normally using xlrd. But I'm not sure how to do
 that (don't use excel). Can anyone else in the group help with this?

 Jayanth


 On Thu, Aug 21, 2014 at 7:19 PM, Shashidhar Paragonda 
 shashidha...@gmail.com wrote:

  Hi Jayanth,
   sorry the files were encrypted, with option available in MS-excel
 s/w.
  They are in read-only mode.
   I saw the book.py program of xlrd lib, I dint understood about
  verbosity level and all.
   is there any changes to be made to book.py ?
   thanks in advance.
 
 
 
  ---
  Regards,
 
  Shashidhar N.Paragonda
  shashidha...@gmail.com
  +919900093835
 
 
  On Thu, Aug 21, 2014 at 5:03 PM, Jayanth Koushik jnkous...@gmail.com
  wrote:
 
   Actually, that might be outdated. I grepped the xlrd source for this
   particular exception. It's raised only from once place:
 xlrd/book.py:896
   (assuming you're using the latest version: 0.9.3). The particular
  function
   'handle_filepass' is weird...:
  
   def handle_filepass(self, data):
   if self.verbosity = 2:
   logf = self.logfile
   fprintf(logf, FILEPASS:\n)
   hex_char_dump(data, 0, len(data), base=0, fout=logf)
   if self.biff_version = 80:
   kind1, = unpack('H', data[:2])
   if kind1 == 0: # weak XOR encryption
   key, hash_value = unpack('HH', data[2:])
   fprintf(logf,
   'weak XOR: key=0x%04x hash=0x%04x\n',
   key, hash_value)
   elif kind1 == 1:
   kind2, = unpack('H', data[4:6])
   if kind2 == 1: # BIFF8 standard encryption
   caption = BIFF8 std
   elif kind2 == 2:
   caption = BIFF8 strong
   else:
   caption = ** UNKNOWN ENCRYPTION METHOD **
   fprintf(logf, %s\n, caption)
   raise XLRDError(Workbook is encrypted)
  
   Is that function only handling encryption if verbosity is greater than
 2?
  
   Jayanth
  
  
  
   On Thu, Aug 21, 2014 at 4:50 PM, Jayanth Koushik jnkous...@gmail.com
   wrote:
  
Are you sure the files aren't encrypted? If they are, then xlrd can't
handle them.
   
http://www.lexicon.net/sjmachin/README.html (Look at 'Unlikely to be
done')
   
Jayanth
   
   
   
On Thu, Aug 21, 2014 at 3:26 PM, Shashidhar Paragonda 
shashidha...@gmail.com wrote:
   
Hello all,
 I am using xlrd library to read .xls files,
 wb = xlrd.open_workbook(workbook_name.xls)
 when I execute I get error :
   
Traceback (most recent call last):
  File rater_document_parser.py, line 72, in module
wb = xlrd.open_workbook(row.SERVER_MOUNT_PATH)
  File /usr/lib/python2.6/site-packages/xlrd/__init__.py, line
 435,
  in
open_workbook
ragged_rows=ragged_rows,
  File /usr/lib/python2.6/site-packages/xlrd/book.py, line 116, in
open_workbook_xls
bk.parse_globals()
  File /usr/lib/python2.6/site-packages/xlrd/book.py, line 1178,
 in
parse_globals
self.handle_filepass(data)
  File /usr/lib/python2.6/site-packages/xlrd/book.py, line 896, in
handle_filepass
raise XLRDError(Workbook is encrypted)
xlrd.biffh.XLRDError: Workbook is encrypted
   
 when I manually open, it open
 any suggession on resolving this error.
Thank you.
   
   
   
---
Regards,
   
Shashidhar N.Paragonda
shashidha...@gmail.com
+919900093835
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers
   
   
   
   ___
   BangPypers mailing list
   BangPypers@python.org
   https://mail.python.org/mailman/listinfo/bangpypers
  
  ___
  BangPypers mailing list
  BangPypers@python.org
  https://mail.python.org/mailman/listinfo/bangpypers
 
 ___
 BangPypers mailing list
 BangPypers@python.org
 https://mail.python.org/mailman/listinfo/bangpypers

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


Re: [BangPypers] How to Distribute Commercial Python Applications

2014-08-03 Thread sayantan bhattacharya
I haven't personally written any code that obfuscates the main source code,
but I think - you can search in those lines. An example of the same is the
youtube-dl script. It runs fine but the data could not be viewed - you can
check out their code/repository for any information on the way the code is
being obfuscated.


On Mon, Aug 4, 2014 at 10:27 AM, Deepak Tripathi apenguinli...@gmail.com
wrote:

 Hi,
 How to distribute commercial python application without giving source code
 to the customer, dev platform in Unix (FreeBSD), Python2.x.

 --

 --
 |--|
 | Deepak Tripathi  |
 | irc: irc.debian.org  |
 | nick: deepak, gnumonk|
 | web: http://www.gnumonk.com  |
 | E3 71V3 8Y C063(we live by code) |
 |--|
 ___
 BangPypers mailing list
 BangPypers@python.org
 https://mail.python.org/mailman/listinfo/bangpypers




-- 
Sayantan Bhattacharya
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Pygtk

2014-07-25 Thread sayantan bhattacharya
Yes, functionally they are same. I am sorry to have missed out the link :
http://stackoverflow.com/questions/3961397/gtk-and-pygtk-difference.

Internally the calls the same.
On Jul 25, 2014 5:29 PM, Ankita Rath ankitarath2...@gmail.com wrote:

 Thank you Gora.
 Sayantan i did not understand the page you have mentioned. i could not find
 any link i your reply. Functionality wise QT n pygtk are same na.


 On Thu, Jul 24, 2014 at 1:03 AM, sayantan bhattacharya 
 skb655...@gmail.com
 wrote:

  Here's another page which kind of summarizes the difference between gtk
 and
  pygtk. If you are into creating UI using gtk, I would suggest using some
  wrapper module like wx or QT.
 
  --
  Sayantan
 
 
  On Thu, Jul 24, 2014 at 12:38 AM, Gora Mohanty g...@mimirtech.com
 wrote:
 
   On 22 July 2014 21:27, Ankita Rath ankitarath2...@gmail.com wrote:
   
Hi,
   
I am using pygtk for GUI. We can import gtk module for this. But lot
 of
places i have seen pygtk module along with gtk module. So can
 somebody
   tell
me what is the use of this pygtk module.
   
import pygtk
import gtk
   
we can do everything with gtk module only. So when is this pygtk
 module
   is
useful.
  
  
   pygtk has pretty decent documentation, which you might want to read
   carefully:
   Please see the right-hand sidebar at http://www.pygtk.org/
  
   From the tutorial: The variables and functions that are defined in the
   PyGTK
   module are named as gtk.*. So, you are very likely using functions from
   pygtk,
   even when they are named as gtk.XXX. If you are so inclined, you can
 look
   into
   the two modules to figure out what is defined where.
  
   Regards,
   Gora
   ___
   BangPypers mailing list
   BangPypers@python.org
   https://mail.python.org/mailman/listinfo/bangpypers
  
 
 
 
  --
  Sayantan Bhattacharya
  ___
  BangPypers mailing list
  BangPypers@python.org
  https://mail.python.org/mailman/listinfo/bangpypers
 
 ___
 BangPypers mailing list
 BangPypers@python.org
 https://mail.python.org/mailman/listinfo/bangpypers

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


Re: [BangPypers] Pygtk

2014-07-23 Thread sayantan bhattacharya
Here's another page which kind of summarizes the difference between gtk and
pygtk. If you are into creating UI using gtk, I would suggest using some
wrapper module like wx or QT.

--
Sayantan


On Thu, Jul 24, 2014 at 12:38 AM, Gora Mohanty g...@mimirtech.com wrote:

 On 22 July 2014 21:27, Ankita Rath ankitarath2...@gmail.com wrote:
 
  Hi,
 
  I am using pygtk for GUI. We can import gtk module for this. But lot of
  places i have seen pygtk module along with gtk module. So can somebody
 tell
  me what is the use of this pygtk module.
 
  import pygtk
  import gtk
 
  we can do everything with gtk module only. So when is this pygtk module
 is
  useful.


 pygtk has pretty decent documentation, which you might want to read
 carefully:
 Please see the right-hand sidebar at http://www.pygtk.org/

 From the tutorial: The variables and functions that are defined in the
 PyGTK
 module are named as gtk.*. So, you are very likely using functions from
 pygtk,
 even when they are named as gtk.XXX. If you are so inclined, you can look
 into
 the two modules to figure out what is defined where.

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




-- 
Sayantan Bhattacharya
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] python callback module

2014-05-01 Thread sayantan bhattacharya
This link might be of help, I have not coded any such module till date,
only bootstrapped modules in Python only.

https://docs.python.org/2/extending/extending.html




On Wed, Apr 30, 2014 at 3:49 PM, Nitin Kumar nitin.n...@gmail.com wrote:

 Hi All,

 I am trying to write a code which talks with C.
 Is there a module in python which can talk to asynchronous calls. I have
 done that on windows using pythoncom. but need to do the same on linux

 Nitin K
 ___
 BangPypers mailing list
 BangPypers@python.org
 https://mail.python.org/mailman/listinfo/bangpypers




-- 
Sayantan Bhattacharya
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers