mridulpv's Profile
Reputation: 0
Apprentice
- Group:
- New Members
- Active Posts:
- 10 (0.01 per day)
- Joined:
- 05-September 10
- Profile Views:
- 356
- Last Active:
Mar 11 2013 08:06 AM- Currently:
- Offline
Previous Fields
- Dream Kudos:
- 0
Posts I've Made
-
In Topic: how to create data base using python?is it possible?
Posted 18 Mar 2012
and how to access database? -
In Topic: Unicode to text file
Posted 18 Mar 2012
got it!
\x is replaced by \u
\u is used for 4 digit
s = u'\u0d05\n' sutf8 = s.encode('UTF-8') open('text.txt', 'w').write(sutf8)
now i can convert Unicode to Malayalam alphabets. -
In Topic: create image file from pixel value - python
Posted 7 Mar 2012
[code] im=Image.open('example.bmp') width, height=im.size pix = im.load() f=open('bandw.bmp','w') for x in range(width): for y in range(height): (r,g,B)/>=pix[x,y] if r<100 or g<100 or b<100: (r,g,B)/>=(0,0,0) pix[x,y]=(r,g,B)/> else: (r,g,B)/>=(255,255,255) pix[x,y]=(r,g,B)/> print>>f,pix[x,y] [\code] -
In Topic: create image file from pixel value - python
Posted 7 Mar 2012
im=Image.open('example.bmp') width, height=im.size pix = im.load() f=open('bandw.bmp','w') for x in range(width): for y in range(height): (r,g,B)/>=pix[x,y] if r<100 or g<100 or b<100: (r,g,B)/>=(0,0,0) pix[x,y]=(r,g,B)/> else: (r,g,B)/>=(255,255,255) pix[x,y]=(r,g,B)/> print>>f,pix[x,y]
My Information
- Member Title:
- New D.I.C Head
- Age:
- Age Unknown
- Birthday:
- Birthday Unknown
- Gender:
Contact Information
- E-mail:
- Click here to e-mail me
Friends
mridulpv hasn't added any friends yet.
|
|


Find Topics
Find Posts
View Reputation Given
|
Comments
mridulpv has no profile comments yet. Why not say hello?