|
|
| [19:07:46] |
kenbolton: |
joins |
| [19:20:44] |
waltd3: |
leaves |
| [19:31:34] |
mczuy: |
joins |
| [19:34:02] |
waltd3: |
joins |
| [19:36:08] |
jczuy: |
joins |
| [19:37:44] |
waltd3: |
https://github.com/thisgeek/topiCal |
| [19:37:44] |
waltd3: |
[5:46pm] |
| [19:39:28] |
thisgeek: |
joins |
| [19:41:28] |
thisgeek: |
https://www.google.com/calendar/ical/nejg6qrt46rq2csultodcpvqjk%40group.calendar.google.com/public/basic.ics |
| [19:42:10] |
thisgeek: |
Alternate data set, holidays |
| [19:42:11] |
thisgeek: |
https://www.google.com/calendar/ical/usa__en%40holiday.calendar.google.com/public/basic.ics |
| [19:42:27] |
thisgeek: |
leaves |
| [19:47:51] |
kenbolton: |
`/msg ChanServ topic #digitalsalon Next Meeting Nov 12 7pm @ Bank^2 | http://digitalsalon.github.com/ | http://bscientific.org/digitalsalon/irc/archive/` |
| [19:48:59] |
kenbolton: |
hello? |
| [19:49:04] |
mczuy: |
hello? |
| [19:49:11] |
mczuy: |
leaves |
| [19:49:41] |
mczuy: |
joins |
| [20:18:12] |
kenbolton: |
leaves |
| [21:07:36] |
thisgeek: |
joins |
| [21:17:47] |
waltd3: |
leaves |
| [21:17:50] |
mczuy: |
leaves |
| [21:18:06] |
mczuy: |
joins |
| [21:24:57] |
thisgeek: |
leaves |
| [21:35:45] |
jczuy: |
leaves |
| [21:40:40] |
waltd3: |
joins |
| [21:53:12] |
mczuy: |
leaves |
| [22:40:48] |
mczuy: |
joins |
| [22:53:18] |
jczuy: |
joins |
| [22:58:19] |
mczuy: |
@jczuy how would i inport the randRange function as a particular function |
| [22:59:52] |
jczuy: |
What function do you want to use? |
| [23:00:17] |
jczuy: |
Format is usually: |
| [23:00:17] |
jczuy: |
from ModuleName import function_name |
| [23:00:54] |
mczuy: |
yes but if the function uses parameters how do i show that? |
| [23:01:08] |
jczuy: |
random.random() returns a number from 0 to 1 (but does not include 1) |
| [23:05:16] |
mczuy: |
yes but i want to use random.randrange(x,y) that retuurns a random number from the range x to y not including y |
| [23:05:17] |
jczuy: |
try dir(function) in python shell |
| [23:05:17] |
jczuy: |
or help(function name) |
| [23:07:46] |
jczuy: |
Here is some info on it: |
| [23:07:47] |
jczuy: |
http://stackoverflow.com/questions/3540431/difference-between-random-randint-vs-randrange |
| [23:10:17] |
jczuy: |
random.randint(0,5) is what I think you are looking for |
| [23:10:17] |
mczuy: |
randrange gives an integer i do believe but im more asking what to put for the inport line |
| [23:10:18] |
mczuy: |
like what does it look like for a inport of a function thats needs parameters |
| [23:10:19] |
jczuy: |
import random |
| [23:10:38] |
mczuy: |
o yeah |
| [23:10:41] |
jczuy: |
then you can do: r = random.randint(0,5) |
| [23:10:41] |
mczuy: |
that way |
| [23:10:54] |
jczuy: |
will give r a value from 0 to 5 |
| [23:12:14] |
jczuy: |
or you could do: from random import randint |
| [23:12:39] |
jczuy: |
then use it like this: r = randint(0,5) |
| [23:12:39] |
mczuy: |
yeah |
| [23:14:03] |
jczuy: |
got it? |
| [23:17:21] |
mczuy: |
yeah |
| [23:41:19] |
jczuy: |
leaves |
| [23:41:40] |
jczuy: |
joins |
| [00:29:38] |
mczuy: |
leaves |
| [01:14:42] |
jczuy: |
leaves |
| [08:22:37] |
thisgeek: |
joins |
| [10:00:37] |
kenbolton: |
joins |
| [12:31:05] |
mczuy: |
joins |
| [12:33:44] |
mczuy: |
leaves |
| [12:58:04] |
mczuy: |
joins |
| [13:46:38] |
thisgeek: |
leaves |
| [14:01:15] |
thisgeek: |
joins |
| [14:58:18] |
mczuy: |
leaves |
| [17:25:57] |
thisgeek: |
leaves |
| [17:27:12] |
waltd3: |
leaves |
| [17:37:27] |
mczuy: |
joins |
| [17:57:58] |
mczuy: |
leaves |