logo

Combat Baby

My rating

exact phrase
Advanced Search  
weekendtranny weekendtranny {ratings}
Show 1 - 7 of 7 All posts by weekendtranny · Linking weekendtranny

Python 101: Lists and Tuples.


Data Structures A data structure is an organized collection of elements. The plus side is I understand these fandangled things. The downside is that I have trouble explaining them, so bear with me if it doesn't make sense the first time through. I had to fudge with lists for hours in IDLE to finally understand them. The most basic type of data structure in Python is a sequence . A sequence...

Tags: initialization data structure sequence none step length lists empty indices slicing tuples index

http://community.livejournal.com/weekendtranny/1944.html   (Cached)  0 links
Published: 1 year ago (Fri, 20 Jun 2008 21:14:59 PDT)

Python 101: Strings


strings Remember waaaaaay back when we did >>> print "Make tea, not love." Make tea, not love. >>> Well, print is a command, and "Make tea, not love." is a string! Strings are all over the damn place, and, as we used them here, one use is to represent a bit of text. Why the quotes? Why not! It gave us an error back in the day of a few hours ago when I tried it without, if you recall. Strings...

Tags: repr concatenating escaping backslash backticks strings raw input str long strings quotes

http://community.livejournal.com/weekendtranny/1579.html   (Cached)  0 links
Published: 1 year ago (Fri, 20 Jun 2008 19:29:03 PDT)

Python 101: Functions.


Functions A function is like a mini program. Python is kinda funky in that it has many many built-in functions. To use a function, you must call it. After you call a function, you must give it parameters , and then it does the work for you and returns the end result to you. Technically, a function is an expression, since it does something. Functions are also fun in that you can combine...

Tags: functions future comments modules

http://community.livejournal.com/weekendtranny/1395.html   (Cached)  0 links
Published: 1 year ago (Fri, 20 Jun 2008 17:53:03 PDT)

Python 101: Moar Basics!


Variables If you remember anything about math, surely variables are in there somewhere. Variables are pretty easy things to cope with. They make the world go 'round. Thing is, without them, we probably wouldn't be able to code anything really useful or fun! Fun Fact: Python is a case sensitive language. PRINT, Print and print are not interchangeable. Assigning a variable is super easy...

Tags: statements variables functions python assignments expressions

http://community.livejournal.com/weekendtranny/1080.html   (Cached)  0 links
Published: 1 year ago (Fri, 20 Jun 2008 16:28:44 PDT)

Python 101: The First Steps, Con't:.


Numbers and Expressions >>> print 5 + 6 11 >>> Unique! It appears our precious print command is far more complex than simply "regurgitate this crap at me." Here, it solves or simplifies the expression we've given it. However, if we stuff the expression back into a pair of quotes, it would return '5 + 6' to me. >>>print 10/3 3 >>> Hmm, that's interesting. As we can all guess, 10 divided...

Tags: future python operators import hexadecimals floats division numbers remainders integers octals expressions

http://community.livejournal.com/weekendtranny/897.html   (Cached)  0 links
Published: 1 year ago (Fri, 20 Jun 2008 14:17:55 PDT)

Python 101: The First Steps.


Welcome to Python! Over all, not a hugely complicated thing. Intro to IDLE First things first, you're gonna want to haul it over to python.org to download Python, if you haven't already got it. So, once you've done so, if you're following along bit by bit, fire up IDLE and make a new friend. I've chosen to reference two sources as my main learning tools. One is fairly complete, but a little...

Tags: strings beginning introduction python print promp first

http://community.livejournal.com/weekendtranny/585.html   (Cached)  0 links
Published: 1 year ago (Fri, 20 Jun 2008 12:39:45 PDT)

Welcome.


So, I have moved my Python learnings here. The name is totally irrelevant, I just decided it would be comedic. Anyways, first order of business, the basics.

http://community.livejournal.com/weekendtranny/510.html   (Cached)  0 links
Published: 1 year ago (Fri, 20 Jun 2008 11:49:50 PDT)

Result Page: 1


Top searches

Book Store
Camera
Celebrities
Computer
Cruise
Dating
Download
Games
Hotel
Humor
Ipod
Movie
Mp3
Music
Ringtones
School
Shopping
Travel
Vacation
Weather

Copyright © 2005,2006 ljseek.com This service is not affiliated with LiveJournal.com
Design by Steorra.com