Hi,
Just curious if anyone can give me an explanation of when using the pkg
dirsync 2.2.2 what the difference is between --update and --sync option.
Maybe my brain is just a bit slow this morning.
Thanks!
Jeff
___
Tutor maillist - Tutor@python.org
To
program is still
operating on the original USB drive?
Thanks,
Jeff
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
On 08/24/2011 10:17 AM, Alan Gauld wrote:
On 24/08/11 18:09, Christopher King wrote:
how do you unzip a gz on windows?
Pretty much any zip tool (Qzip, Winzip etc) will
handle gz files too.
7 zip works great on Windows for most formats.
http://www.7-zip.org/
Jeff
On 08/16/2011 01:46 PM, Peter Otten wrote:
Jeff Peters wrote:
Hi;
I am trying to run a function inside a continuing loop, but do not seem
to be able to pass any parameters (arguments ) when I do so.
I have placed working and non-working code , with output below.
## This works:
def loop(fn
nction(a=" i am not a string"):
print( a )
loop(this_function("I am a string") ) ## note the only change is here
## With this as output:
>>>
I am a string
Traceback (most recent call last):
File "/home/jeff/MyPythonStuff/call_sub.py", line 9, in
loo
Alan: Thank you for all you do. I always look for your posts! You
have helped me immensely with Python and I appreciate it!
Jeff
---
Jeff Johnson
j...@dcsoftware.com
Jeff
---
Jeff Johnson
j...@san-dc.com
(623) 582-0323
www.san-dc.com
On 06/11/2011 08:30
Greg,
You might try…
Import sting
delimiter = ‘.’
f = open('words.txt', "r")
lines = f.readlines()
for line in lines:
line_items = string.split(line,delimiter)
From: tutor-bounces+jeffpeery=seametrics@python.org
[mailto:tutor-bounces+jeffpeery=seametrics@python.org] On Behal
html doc from my desktop. The
document loads as I can see it on the screen, but it chokes when printing.
any ideas?
thanks,
Jeff
line 23, in Print
win32com.client.constants.OLECMDEXECOPT_DONTPROMPTUSER)
File
"C:\Python27\lib\site-packages\win32com\gen_py\EAB22AC0-30C1-11CF-A7EB-C05BAE0
I'm trying to run the below program and get it to print out feedback as the
loop goes. However, if you enter a number too high or too low, it skips the
print statement under the if and elif clauses and asks the user to "Guess a
number between 1-100" again. Any suggestions on how to get it to print
I want to produce a model very much like the one here:
http://demonstrations.wolfram.com/SolowGrowthModel/
--
Jeffrey Horn
http://www.failuretorefrain.com/jeff/
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
ht
On 12/28/2010 01:35 PM, Brett Ritter wrote:
On Tue, Dec 28, 2010 at 3:06 PM, Jeff Johnson wrote:
Webfaction supports long processes and that is why they are the largest
Django hosting site. They support a ton of software, too. SVN, Trac are
two I use.
I didn't see git hosting among
y they are the largest
Django hosting site. They support a ton of software, too. SVN, Trac
are two I use.
I've been with them at least 3 years and I find their cost amazing for
what I get! Their documentation, support and forums are about the best
I've seen.
eck out Webfaction for a hosting company. They are probably the
largest Django host, but using their control panel to do things is very
easy! I have been using them for over two years.
Jeff
---
Jeff Johnson
j...@dcsoftware.com
___
Thanks Adam and Alan for responding, I'm very much a non-programmer, but my
14 year old son wants to learn, so I have to learn to teach him...slow
process lol.
Happy Thanksgiving!
Jeff
On Wed, Nov 24, 2010 at 8:27 PM, Alan Gauld wrote:
>
> "Jeff Goodwin" wrote
>
>
Ok, I found the problem, I had saved the file as random.py looks like that
was a no-no. Its working now that I changed the name.
Thanks!
Jeff
On Wed, Nov 24, 2010 at 5:06 PM, Jeff Goodwin wrote:
> Thanks Adam, that was a typo on my part, in the program the print is
> actually indente
Thanks Adam, that was a typo on my part, in the program the print is
actually indented. Any other suggestions?
Thanks again!
Jeff
On Wed, Nov 24, 2010 at 5:00 PM, Adam Bark wrote:
> On 24/11/10 21:51, Jeff Goodwin wrote:
>
> Hello,
>
> I'm trying to find a way to us
t number: ")
z = random.randint(x,y)
print "The random number between ", x, " and ", y, " is ", z
main()
Can you tell me where I'm going wrong here? When I run the program it allows
me to enter the numbers for x and y, then freezes.
Thanks!
Jeff
Steven D'Aprano, et al,
Thanks everyone for the thorough explanations on variable use and scope in
Python. It was enlightening...and sometimes confusing, but I'm working on that.
It just points out all the new things I have yet to learn about the language.
--
¤¤
¤ kyoboku kazeo
I have a question about where variables are exposed in python.
I have a monolothic script with a number of functions defined, can those
functions share variables? can I instantiate them outside the function of where
they are needed? do they need to be wrapped in quotes, ever? For example:
blah
I am trying to create a function to plug into a restart script I'm creating. I
can't seem to successfully loop through making an http connection, if it fails
to retry, if it succeeds, to end and continue with its parent function.
I'm using the Fabric project's module and including my functions
I have six books on my bookshelf for Django. There are others I don't
have. Django 1.0 Template Development is my favorite. Many of them
walk you through building apps step by step. Do a search on Amazon.
That is where I got most of them.
--
Jeff
On 07/03/2010 08:25 AM, Jim Byrnes wrote:
Jeff Johnson wrote:
On 07/02/2010 11:40 AM, Chris C. wrote: I'm writing this question
because I want, for my own satisfaction, to rewrite one of my Access dbs
(one that does our finances) into a stand-alone Python database program
using SQLite. I
On 07/02/2010 08:19 PM, bob gailer wrote:
On 7/2/2010 5:56 PM, Jeff Johnson wrote:
[snip]
Visual FoxPro ... is very similar to Access
I differ. Access and FoxPro are very different. Yes they both use
tables, relationships, indexes and SQL. Yes they both have visual
designers for forms and
plications.
--
Jeff
---
Jeff Johnson
j...@san-dc.com
(623) 582-0323
www.san-dc.com
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
y Mac Book Pro? You do have to
make some decisions before moving on. The choices are endless.
I have found Dabo and Django to be beneficial for me because they target
what I want to do.
Your mileage may vary. ;^)
--
Jeff
---
Jeff Johnson
j...@san-dc.com
(623) 582-0323
www.san-d
creates too many decisions then you can consider Microsoft .NET and
Microsoft SQL Server on Windows 7.
I am a recovering Microsoft developer of over 20 years. ;^)
BTW learning Python is awesome!
--
Jeff
---
Jeff Johnson
j...@san-dc.com
(623) 582-0323
www.san-dc.com
_
On 07/02/2010 05:35 PM, Chris C. wrote:
Hi Jeff, thank for your reply! I'm aware of Dabo and was pretty much
sold on using it until the last couple of days. I was trying to
install it so I could start connecting to my tables when I ran into a
problem with the instructions for insta
plications.
--
Jeff
---
Jeff Johnson
j...@dcsoftware.com
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
too many decisions then you can consider Microsoft .NET and
Microsoft SQL Server on Windows 7.
I am a recovering Microsoft developer of over 20 years. ;^)
BTW learning Python is awesome!
--
Jeff
---
Jeff Johnson
j...@dcsoftware.com
___
On 07/02/2010 05:35 PM, Chris C. wrote:
Hi Jeff, thank for your reply! I'm aware of Dabo and was pretty much
sold on using it until the last couple of days. I was trying to
install it so I could start connecting to my tables when I ran into a
problem with the instructions for insta
com and subscribe to the
dabo-user email list.
--
Jeff
---
Jeff Johnson
j...@dcsoftware.com
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
ile if you want me to.
--
Jeff
---
Jeff Johnson
j...@dcsoftware.com
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
nd
WritePrivateProfileString. On Linux I use ConfigParser to read and write
to an ".ini" file in the home directory.
I have avoided the Windows registry completely. Obviously you could use
ConfigParser on Windows because of Python.
--
Jeff
hello,
I want to browse the windows registry for the program ids listed under the
categories:
63D5F430-CFE4-11d1-B2C8-0060083BA1FB
63D5F432-CFE4-11d1-B2C8-0060083BA1FB
where might be the best way to learn how to do that with python?
thanks,
Jeff
the component
category CLSID.
details are here: http://opcactivex.com/Support/General/OPCEnum/opcenum.html
how can I improve things here?
thanks,
Jeff
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
ust didn't on that thread.
Thanks,
--
Jeff
Jeff Johnson
j...@dcsoftware.com
http://www.VetsFindingVets.org
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
nfo/tutor
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Take out the = in the following line
if item1 >= item2:
and it will sort like items together, whic
day
tutorials have great merit and can help you.
YMMV
--
Jeff
Jeff Johnson
j...@dcsoftware.com
Phoenix Python User Group - sunpigg...@googlegroups.com
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
ate Python.
http://www.amazon.com/Python-Phrasebook-Brad-Dayley/dp/0672329107
I am not suggesting Amazon, it was just the first link I found. I see
it in bookstores like Borders.
--
Jeff
Jeff Johnson
j...@dcsoftware.com
Phoenix Python User Group - sunpigg...@google
dules ***
Traceback (most recent call last):
File "C:\Users\Jeff\Documents\Working\App\setup.py", line 298, in
cmdclass = {"py2exe": build_installer},
File "C:\Python26\lib\distutils\core.py", line 152, in setup
dist.run_commands()
File "C:\Python26\lib\distu
wing you to take another stab at it.
-jeff
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
on of list1 into p() also.)
Another thing... play in the interpreter with range(1,5) and
range(0,5). Can you see another little bug your program has? It is not
doing precisely what you think it is yet...
-jeff
___
Tutor maillist - Tutor@python.org
To unsubscri
You are looking for the __str__ method. See
http://docs.python.org/reference/datamodel.html#object.__str__
class Foo():
def __init__(self):
pass
def __str__(self)
return "hello world!"
-jeff
___
Tutor maillist - Tutor@pyt
a feeling there's an
interesting lesson hidden in this example...
Thanks.
-jeff
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
s in this procedure are not required but don't do any
harm. I often use extra parentheses to clarify what I am doing so it is
more readable when going back to look at it a couple of years later.
Especially in long calculations or SQL with lots of ands and ors.
--
Jeff
Jeff Johnson
j...@dcs
cost (free), licensing, and ease of use.
One other thing that is important to me is packaging an application for
distribution and updating existing applications. That "language" would
be Inno Setup.
HTH
FWIW, Python is my favorite language to use for too many reasons to list
here!
Thanks for the clarification Kent!
Kent Johnson wrote:
On Fri, Sep 18, 2009 at 2:14 PM, Jeff Johnson wrote:
Kent:
How about this:
self.cursor.execute("SELECT CUSTID FROM Stories WHERE NAME = '%s'" % (name,
))
No, that has the same result as your original. For example,
n wrote:
On Fri, Sep 18, 2009 at 11:49 AM, Jeff Johnson wrote:
Kristina:
I would format it as follows:
self.cursor.execute("SELECT CUSTID FROM Stories WHERE NAME = '%s'" % name)
No, that is a recipe for SQL injection attacks such as this:
http://xkcd.com/327/
self.cur
e invalid cursor
state error online but most of it occurs on the fetchall statement not
the execute statement.
Any ideas?
Thanks!
--
Cheers,
Krissy
---
Testing the waters is always fun...
--
Jeff
Jeff Johnson
j...@dcsoftware
raw once to
reflect the 10 samples. so there are 9 redraws that are a waste of energy.
I was hoping there was some feature in the queue class the would prevent or
discard a duplicate message. This way my drawing thread won't draw more than it
needs to.
thanks!
Jeff
_
Lie Ryan wrote:
Jeff Johnson wrote:
I have an application that uses something that auto updates but it may
not be the same process as yours. I have a "stub" executable that
checks a network location for a different copy of the "real"
executable. If one exists, it c
ot;real" executable.
If one exists, it copies the exe to the application folder and
executes it. My solution for Vista - which works very well - is to put
my application in a folder C:\users\public\applications\myapplication.
This way there is no need for raised privileges.
--
Jeff
Je
pretty straight forward. my sample code
is listed below. I'm using Python 2.6.2, and I'm running on Microsoft Vista.
Any thoughts would be much appreciated. thanks!
Jeff
import threading
import Queue
import time, random
WORKERS = 2
class Worker(threading.Thread):
def __init__(s
then calculates some
stats and writes data to a file. eventually I will put a GUI on it.
I think you are correct that since my logic is in its own thread I can put a
portion of code that watches the queue.
Thanks for the advice!
Jeff
--- On Thu, 8/27/09, Kent Johnson wrote:
From: Kent Jo
7;m not sure how the main thread handles this, my guess is that it can only do
one thing at a time so it might be exactly that same as 'posting an event'.
any thoughts would be much appreciated. thanks!
Jeff
___
Tutor
lude files that begin with '.', but it does not include
the entries '.' and '..'.
-jeff
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
from the Python interpreter
no memory error occurs. Any idea why this might be?
Dinesh
Jeff
Jeff Johnson
j...@dcsoftware.com
Phoenix Python User Group - sunpigg...@googlegroups.com
___
Tutor maillist - Tutor@python.org
http://mail.python.org
k it out. The video of the report designer
will get you hooked. I just wish I had more time.
Malcolm Greene wrote:
Hi Jeff,
My success as a programmer has little to do with the language or even
how well I program. It has more to do with my ability to understand the
problem and communicate
that
beneficial for income.
Sincerely
Hussain
--
Jeff
Jeff Johnson
j...@dcsoftware.com
Phoenix Python User Group - sunpigg...@googlegroups.com
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
There was an add-on to the GNU C compiler for FORTRAN77 at one time
(g77). I don't know if it is still available to how well it works
though.
Jeff
From: tutor-bounces+jsmith=medplus@python.org
[mailto:tutor-bounces+jsmith=medplus@python.org] On B
type of information, please
let me know. I thought members might be interested in available Python
courses.
--
Jeff
Jeff Johnson
[EMAIL PROTECTED]
Phoenix Python User Group - [EMAIL PROTECTED]
___
Tutor maillist - Tutor@python.org
http://mail.python.
that it needs because it is looking in the parents
directory location and not its own. I want to keep the child wxapp in its own
sub directory for organizational purposes, but what is the best way to deal
with this problem?
thanks,
Jeff
_
--
Jeff
Jeff Johnson
[EMAIL PROTECTED]
Phoenix Python User Group - [EMAIL PROTECTED]
greg whittier wrote:
Hi gang,
I know this is probably like asking whether vi or emacs is better, but
I'm looking for the best cross-platform (linux, windows, mac os x) user
interface toolkit. Sinc
ed quite a bit for
performing
functional testing from Python.
- Jeff Younker - [EMAIL PROTECTED] -
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
rtual
machine on whatever flavor of unix you're using.
- Jeff Younker - [EMAIL PROTECTED] -
--
Spencer Parker
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
___
against sqlite, but runs against mysql in production.]
-jeff
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
ten the whole program. Instead of passing around
arrays or urls and results you can pass around the queues directly.
In addition you can run the report function as another thread. It prints
the jobs from the result pool as they're completed. These will make
the code more elegant, but the
ormat = "this is a %s"
subst = 'test'
print format % subst
FYI: You shouldn't reply to a message when you have a new
question. That attaches it to the previous topic.
- Jeff Younker - [EMAIL PROTECTED] -
___
Tutor mail
ms to kill both the current python
program and the one I just launched. How can I launch a new program and kill
the current one without killing the new one as well?
Thanks!
Jeff
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailma
I'm assuming you do that so that you don't confuse what a Python
built-in method (or function) is,
compared to methods (or functions) that you've authored.
It's done more to distinguish classes from methods and attributes. I
can't claim
any credit though. It's part of the python coding con
On Aug 18, 2008, at 9:13 AM, Adrian Greyling wrote:
def MainToSecond(self, event): # wxGlade:
MyMainFrame.
MySecondFrame(self).Show()
MySecondFrame.text_ctrl_2.SetValue("This text was generated
from the 'MainFrame' window")
The expression MySecondFrame(self) creates a n
You can use just the Editor if you wish. Editor.py is the program.
Dick Moores wrote:
Thanks for the info. I'll take a look at Dabo.
Dick
--
Jeff
Jeff Johnson
[EMAIL PROTECTED]
Phoenix Python User Group - [EMAIL PROTECTED]
___
Tutor mai
coloring and I can make changes, save and run it
all in the editor.
YMMV
--
Jeff
Jeff Johnson
[EMAIL PROTECTED]
Phoenix Python User Group - [EMAIL PROTECTED]
Dick Moores wrote:
At 06:36 AM 8/14/2008, Jeff Johnson wrote:
I use Dabo's Editor.py. It has templates to provide code
highlighting, et
This is a three tier framework where you can use any back end you want.
They currently support the major ones: MySQL, SQLite, PostGreSQL,
MSSql to name the ones I can think of.
http://dabodev.com/wiki/FrontPage
--
Jeff
Jeff Johnson
[EMAIL PROTECTED]
Phoenix Python User Group - [EMAIL
s you like. It is not intended to be a web framework.
http://dabodev.com/wiki/FrontPage
--
Jeff
Jeff Johnson
[EMAIL PROTECTED]
Phoenix Python User Group - [EMAIL PROTECTED]
Jaggo wrote:
Hello.
I haven't much experience with programming.
I'd like to point this question to programme
or more details check out the project's page at:
http://wwwsearch.sourceforge.net/mechanize/
- Jeff Younker - [EMAIL PROTECTED] -
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
put.
The argument that processes are too expensive might have had some
truth back in '92 or '93 when machines had 8M or 16M of memory, had
500M hard drives, and ran at a fraction of the speed they do now, but
that was a long time ago.
-jeff
__
ions should be up to the job.
-jeff
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
born of C++,
Java, etc. In Python classes are first-class values and constructors
are (mostly) normal methods with a funky name, so the LSP applies
to them just like any other method in a class.
-jeff
___
Tutor maillist - Tutor@python.org
http://mail.
They can hang
around for a while until a garbage collection is triggered.
-jeff
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
hello,
I'm using internet explorer to print out html documents and I'm not sure how
to close it once it is created. How do I do this? below is the simple bit of
code I use to print documents.
thanks!
Jeff
ie = win32com.client.Dispatch("InternetExplo
ges.
If you have pages which are no longer referenced from any root
pages then a spider won't find them. These dangling pages
are precisely the sort of thing you're trying to remove. Consider
other options such as looking through the filesy
more growing
room, and that this is well worth the initial investment. The
documentation
for SQLAlchemy tends to be better too. (That said I work primarily with
SQLObject, and the addition of a revision system will keep me from
switching our product to SQLAlchemy for a while longer.)
- Jeff Yo
editing via SQLExplorer plugin
- HTML/XML/Javascript development plugins
- Run external tools from within the IDE
- To do lists
- Multi-language development
- etc.
- Jeff Younker - [EMAIL PROTECTED] -
___
Tutor maillist - Tutor@python.org
http://ma
he details of the conversation.
You might give them a try before completely giving up on the
command line mechanisms.
Alas controlling applications is very hard in Unix land and
very easy in the Windows world.
-jeff
___
Tutor maillist - Tutor@pytho
On May 21, 2008, at 6:42 AM, Kinuthia Muchane wrote:
st = "String"
print "%s " %st*3
String String String
Does this help?
Another approach is to use dictionaries for string
replacement.
>>> subst = {'some': 'thing'}
>>> print
I followed the advice on this page:
http://mail.python.org/pipermail/python-list/2006-December/417208.html
and the problem is now gone.
There are two pieces of advice on that page. Which did you follow?
- Jeff Younker - [EMAIL PROTECTED
completes. Try looking at the SocketServer module. It takes
care of a lot of the details for you.
- Jeff Younker - [EMAIL PROTECTED] -
On Apr 26, 2008, at 5:56 PM, James Duffy wrote:
I have a problem w/ a file transfer receiver. They way it works is
it binds a port for incoming transfer , whe
y prefix.
As I recall, English words are more similar at the
front, so once you have an indexing scheme you'll
probably to do even less work if you index and search
from the back of the words towards the front.
-jeff
___
Tutor maillist - T
o and bar
foo
bar
"""
dt_elements = ElementTree.XML(document).findall('dt')
-jeff
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
into it. The Win32 extensions for Python make
talking to office applications via COM nearly effortless.
-jeff
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
thout needing to incorporate a bunch of api's or third party
applications.
Jeff
Jeff Johnson
[EMAIL PROTECTED]
SanDC, Inc.
623-582-0323
Fax 623-869-0675
Kent Johnson wrote:
> Marc Tompkins wrote:
>> It's funny - years ago I used to use Visual Studio and _enjoy_ it. I
r or so.) I has a feature set that
no other
python IDE has at this point. (Let me qualify that: I haven't looked
at the Iron
Python tools on windows, and they might be better, but I don't do much
in
the windows world so I haven't looked at it yet.)
- Jeff Younker - [EMAI
OMMAND')
cmd.expect('# ') # the prompt
cmd.sendline('A COMMAND')
cmd.expect('# ') # wait for the prompt again
output = cmd.before # the stuff before the prompt
cmd.sendline('exit')
cmd.close()
- Jeff Younker - [EMAIL PROTECTED] -
uage and to use those,
but
developing fluency is much harder, and it takes a much longer time.
- Jeff Younker - [EMAIL PROTECTED] -
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
get this finished). As I advance more in Python, a design
> change might happen :)
Telling us your goal might allow us to recommend a better
and faster way of accomplishing it.
- Jeff Younker - [EMAIL PROTECTED] -
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
th certain things like, well, input and output. (On
the other hand they do multiple threads of execution very well.)
What it comes down to is this: does you program work with an idealized
universe, or does it work with the messy innards of a computer?
-jeff
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
1, 2] # new list
>>> b = list(a) # make a copy of the list in b
>>> a == b # the original and copy are equal
True
>>> a is b # but they are not the same list
False
- Jeff Younker - [EMAIL PROTECTED] -
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
, and it takes far, far
less time and effort.
-jeff
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
False
elif table[room][6] != 0:
return False
else:
return True
def random_treasure():
return random.randint(low_treasure_value, high_treasure_value)
distribute_treasure(table, treasure_rooms)
distribute_monsters(table, monster_rooms)
for x in table:
print x
1 - 100 of 320 matches
Mail list logo