₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,134 members, 8,420,507 topics. Date: Thursday, 04 June 2026 at 10:42 PM

Toggle theme

PrinceNN's Posts

Nairaland ForumPrinceNN's ProfilePrinceNN's Posts

1 2 3 4 5 6 7 8 ... 18 19 20 21 22 (of 22 pages)

PhonesRe: Android, Anyone? by PrinceNN(m): 12:45pm On Jun 13, 2012
pls im getting this tablet (galaxy tab 2 7 inches) for someone, does anyone know if she can use it to make normal gsm phone callshuh
urgent reply pls

[img]http://www.notebookcheck.info/uploads/tx_nbc2/samsGALAXYtab2_7_.jpg[/img]
PhonesAndroid Question by PrinceNN(op): 12:45pm On Jun 13, 2012
pls im getting this tablet (galaxy tab 2 7 inches) for someone, does anyone know if she can use it to make normal gsm phone callshuh
urgent reply pls

[img]http://www.notebookcheck.info/uploads/tx_nbc2/samsGALAXYtab2_7_.jpg[/img]
WebmastersRe: What CMSes Support HTML 5 (mr Dunce Pls Keep Off) by PrinceNN(m): 4:40pm On Jun 12, 2012
Fork CMS
Wi3 CMS
Cumulus Clips
Backpage CMS
Impress Pages tongue
Dating And Meet-up ZoneRe: Pictures Of Nairalanders - Please Post Yours by PrinceNN(m): 7:27pm On Jun 07, 2012
me

WebmastersRe: Google Applies For .google, .docs, .youtube And .LOL Top-level Domains by PrinceNN(m): 10:26pm On May 31, 2012
somehow i dont like the idea tho... angry
so ICAN is now thinking of becoming profit oriented angry or am i getting something wrong
btw having right to tld like ".youtube", ".google", ".wikipedia" by one company is ok if they are the confirmed owner of the service, but ".lol", ".web", ".global", ".cloud", ".music" etc i dont think they deserve to be owned by just one company, or to be owned at all IMHO
moreover it would only lead to more domain confusion, and expenditure because most companies would like to secure their brand
ProgrammingRe: Named Tuple In Python by PrinceNN(op): 3:53pm On May 31, 2012
kodebin: Well, They aint Totally useless per say... Tuples can be used when Dealing with for Eg months, Dates in a year which is always Constant...
The Disadvantage as Mr Seun pointed out is that the Values aint Mutable..
Lists and Dictionaries are used more often due to Their mutable nature...
Well just started Learning python 2days ago..
My Humble 2cents...
nop...was referring to namedtuples not normal [url=docs.python.org/release/1.5.1p1/tut/tuples.html]tuples[/url]...but ur 2cents has been collected tho grin
am also new to the python scene too...but its been a blast
ProgrammingRe: Named Tuple In Python by PrinceNN(op): 7:23am On May 31, 2012
Seun: I don't use it as often as I thought I'd use it when it was first released.
I think that's because of the restrictions of the feature, namely:
1) You must know all the fields of the namedtuples before creating the type. Advantage: dict.
2) You can't update the elements of a namedtuple. Advantage: class.
thats exactly what i wanted to find out, i taught it would be a very important and neccessary feature to always implement in writing codes. thanks for your view anyways

ekt_bear: This seems pretty relevant: http://stackoverflow.com/questions/2970608/what-are-named-tuples-in-python
yea, came across this...just wanted to know how often its being used by the programmers themselves
ProgrammingNamed Tuple In Python by PrinceNN(op): 5:53pm On May 30, 2012
Came accross namedtuples in python documentation, and it seems to be a very important feature.
it helps to access fields by name instead of just index i think.
my question is; How relevant is this feature? and how often do u use it in your code?
PhonesRe: Best Android Phone For A Blackberry User? by PrinceNN(m): 3:21pm On May 30, 2012
the HTC Vivid is good, a lot of good android phones out there....
Review Here
you might want to also check a couple of other android phones reviews on youtube also.
ProgrammingRe: Little Help With This Python Function by PrinceNN(op): 1:13pm On May 30, 2012
Seun:
text = text.replace('\n').('<br>')
somehow this gives me an error, im using python 2.7

but this worked
w = w.replace('\n','<br />\n')
thanks.

ekt_bear: Looks like you are already handling the '\n' case in your code?
Or do you want something that behaves exactly like the PHP function (also handling '\r\n', etc)?
yea thanks, your ruby implementation was helpful. tho im only going to use that single line for this app. thnx again
ProgrammingLittle Help With This Python Function by PrinceNN(op): 11:08am On May 30, 2012
hello all, im new to python web programming and i have a little difficulty with this:

i just implemented the rot13 cipher here, but the problem is
How do i preserve the formatting of the text inserted using <textarea> of the form?
Normally all the spaces and lines are removed in the received message to give one continuous line of result.

Php has the nl2br function, but i am not using php in this case, python

the whole source code of is in one file here.
WebmastersLittle Help With This Python Function by PrinceNN(op): 11:03am On May 30, 2012

1 2 3 4 5 6 7 8 ... 18 19 20 21 22 (of 22 pages)