Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

arrays, Python vs Perl

Status
Not open for further replies.

AMiSM

Technical User
Jan 26, 2006
128
US
I'm trying to dive into Python from Perl. I've found the $#var convention very useful, and I'm wondering if one can query an array to determine the number of elements.
Thanks!
 
Use the .Count property.

[red]"... isn't sanity really just a one trick pony anyway?! I mean, all you get is one trick, rational thinking, but when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick[/red]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top