Why does Python not have a "case" statement, like C?
Thanks! -Mike
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Is there a utility that generates documentation for your python
modules/scripts/programs based on their doc strings that looks similar to the
library documentation on the python web site?
What do you use to generate documentation for your python
modules/scripts/programs?
Mike
> Subject:
> Re: [Tutor] generating documentation for a module
> From:
> Wolfram Kraus <[EMAIL PROTECTED]>
> Date:
> Thu, 07 Jul 2005 16:17:11 +0200
> To:
> tutor@python.org
>
> To:
> tutor@python.org
>
>
> Mike Hansen wrote:
>
>> Is the
27;ve imported
many modules. Don't you avoid namespace pollution too by using import module
instead of from module import * or from module import Name, Name2, Name3...?
What is the preferred/better way to import modules?
Mike
___
Tutor maillist
> Subject:
> Re: [Tutor] Confused "from module import Name" better than "import module"?
> From:
> Kent Johnson <[EMAIL PROTECTED]>
> Date:
> Mon, 11 Jul 2005 12:30:16 -0400
>
> CC:
> tutor@python.org
>
>
> Mike Hansen wrote:
>
procedures in the
mailing list.
-Mike
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
ting and
unmounting hardware. So a call to 'su' would be in order as well as
sending the user provided password back to it.
Aside from that, just so copying of files, making dirs, and changing
file permissions.
[EMAIL PROTECTED] wrote:
>Quoting Mike Pindzola <[EMAIL PROTECTED]>
any responses
Mike Pindzola wrote:
> Yes, I have did 'import os'. For starters I want to read the result of
> 'pwd' and print it out in the program for the user to see what path is
> being read. Also, I need to have a function to handle root access if
> the us
this into a datetime object, but I can't seem to figure out
how. Once it's a datetime object, I can do simple (datetime.datetime.today() -
filedatetime).days to figure out the days old.
How do you convert a time represented in seconds from the epoch into a datetime
> Subject:
> Re: [Tutor] deleting files that are older than x days old
> From:
> Kent Johnson <[EMAIL PROTECTED]>
> Date:
> Wed, 13 Jul 2005 13:50:47 -0400
>
> CC:
> tutor@python.org
>
>
> Mike Hansen wrote:
>
>> How do you convert
headers)
response = conn.getresponse()
print response.status, response.reason
conn.close()
It looks like your indenting 2 spaces. I believe the recommendation is 4
spaces. You might read the style guide.
http://www.python.org/doc/essays/styleguide.html
Out of curiosity, what editor
ffbot.org/pyfaq/tutor-im-learning-python-what-should-i-program.h
tm
or http://tinyurl.com/yalvar
Mike
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Part of the web app that I'm writing will allow users to upload small
images to be stored in a database. Is there a way to limit how big of a
file that the user can upload? Is there some cgi setting that would
prevent a user from upload a huge file, or stop at a certain size and
error?
anks much.
>
> Always looking for a faster way,
> Rohan
>
I primarily use VIM. What do you mean by "switching between files"? You
might look at the mini-buffer explorer plug-in. It makes it easy to
switch between buffers.
Mike
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
essica Brink
> Business/Computer Teacher
> Northland Pines High School
> Eagle River, WI
> 715-479-4473 ext. 0701
Instead of int(C), I think you need C = int(C)
Mike
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
0]: for chr in x:
:if chr.isalpha():
:newx += chr
:
In [41]: print newx
rakanishu
Mike
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
hat is the preferred way of generating simple HTML
> or XHTML files these days? Is there a 'son of HTMLgen' or
> similar module?
>
> Cheers
> Duncan
>
> PS. Apologies if this shows up twice. My first post seems to be MIA.
Did you search the Cheese Shop. I did a search
> http://www.codeplex.com/Wiki/View.aspx?ProjectName=IronPython
>
> Kent
Did the original poster mean to create a web service and have a .NET
program consume it?
Mike
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
op iteration.
> (possibly after printing an error message with the pdb name
> in it so you can check why it failed later)
>
> >print(type(Pdb))
> >os.system("dsspcmbi -v Pdb temp1")
Should the os.system command be something like
command = "dsspcmbi -v %s %s" %(Pdb, temp1)
os.system(command)
?
Mike
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
['colorless', 'green', 'ideas', 'sleep', 'furiously']
> lengths = {}
> for word in phrase2:
> lengths = lengths[word, len(word)]
>
> print lengths
>
>
> Thank you in an
oster should have put a subject. On the other
hand, we need to be nicer too. More like... "Glad you figured it out.
Hey, could you do us a favor next time and put a subject on your
message?"
Mike
___
Tutor maillist - Tutor@python.org
htt
Any examples would be awesome. Thanks!
>
I did a quick search on Google for MS SQL Python, and this came up. It
looks like it will do the trick.
http://pymssql.sourceforge.net/
Mike
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
""" % (recip, smtpresult[recip][0], smtpresult[recip][1], errstr)
> raise smtplib.SMTPException, errstr
>
> Thanks in advance,
>
> --
> Daniel McQuay
> Jaluno.com
> H: 814.825.0847
> M: 814-341-9013
>
It seems a little easier to use the email module along with the smtp
module to create and send a message.
http://docs.python.org/lib/node162.html
Mike
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Daniel McQuay
> Sent: Wednesday, May 23, 2007 3:52 PM
> Cc: tutor@python.org
> Subject: Re: [Tutor] smtplib howto send with a subject line
>
> Thanks Mike, it seems that I
im-learning-python-what-should-i-program.h
tm
or http://tinyurl.com/yalvar
Mike
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
n
> > was removed, False otherwise
>
> Doesn't sound like, better to use a question style name like
> is_removed(question)
>
Would it be better to have remove_question remove the question or raise
an exception if it can't remove the question? Then you'd put
I was just looking at the Daily Python URL and there are two new Python
tutorials:
Building Skills in Programming
How To Write Your Own Software Using Python
http://homepage.mac.com/s_lott/books/nonprog/htmlchunks/index.html
Hands-on Python
http://www.cs.luc.edu/~anh/python/hands-on/
Mike
pt
> > (actually nowadays I'm using a a PyCrust shell)
> >
> > And I alt-tab between the windows.
I also use the three window solution(VIM, IPython, and shell to run
program.)
You might look at Pida which turns VIM into a IDE. I'm not sure, but I
think it's Python friendly since it's written in Python.
http://pida.co.uk/
Mike
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
quot;:
print "GoodBye"
deleteAll()
Any pointers you can offer would be appreciated.
Thanks,
Mike Hoy
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Argh... My e-mail program really messed up the threads. I didn't notice
that there was already multiple replies to this message.
Doh!
Mike
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
27;
In [70]: vr = row_items.pop()
In [71]: vr
Out[71]: 'LO'
In [72]: desc = ' '.join(row_items)
In [73]: new_row = "%s; %s; %s; %s" %(tag, desc, vr, vm, )
In [74]: new_row
Out[74]: '(0012,0042); Clinical Trial Subject Reading ID; LO; 1'
Someone might think of a better way with them thar fancy lambdas and
list comprehensions thingys, but I think this will work.
Mike
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
is it possible to take information contained inside a text file and put
it into a list? My text file contains info derived from a list so it
looks like this: ['foo','bar'].
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo
a
program you want into pieces and work on a piece of it. Maybe you want
some sort of GUI program. Well, first you can create a command line
version on it. Then later you can make it a GUI program. The tutor list
can help when you have questions.
Mike
___
T
e line at a time and use
> this .ini file as a configuration file.
>
Take a look at the ConfigParser module. It can read ini files easily.
Mike
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
iolent psychopath who knows where you live."
Even if the code you are writing is supposed to be a one off that will
never be used again(famous last words), it's best to keep up the
practice of commenting your code.
Mike
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
you did not define UsedPocketsOne.
> >
I've been out of the office for the last week, so I'm catching up.
You might use something like PyChecker, PyLint, or PyFlakes. Those
utilities would catch errors like this.
I have a hotkey in VIM that kicks off PyFlakes on
ng that you'd need to convert the arrays to sets. Maybe
convert the arrays to lists or tuples then to sets? Maybe you might be
able to directly convert the numpy arrays to sets? I haven't used numpy,
so you'll need to experiment.
Mike
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
> >> Is anyone aware of any large scale web apps developed in Python?
> >> Please let
> >> me know of any that you know of...
I think that reddit.com switched from LISP to Python a while back.
Mike
___
Tutor maillis
r Powells. They're generally the
> first place I look.
>
> (my only assocation with any of them is as a customer).
>
> ...
> Bill
Bookpool is pretty good. Half.com and nerdbooks.com are other places I
look for cheaper tech books.
Mike
ot;Tim Michelsen" <[EMAIL PROTECTED]> wrote
>
> > is there a FAQ for this list where we could put all these
> > recommendations?
>
> Someone (Mike Hansen?) started one a while back, but like most such
> ventures the trick is in maintaining it! I'm not sure wh
een, Sixteen). I'd avoid using
variables named like that since the lowercase L looks like a one (l, 1)
in many fonts.
Mike
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
quot; user. I'd prefer to
read
about Python not read lessons in net/mail-list etiquette.
Thanks,
Mike
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
ROTECTED]"[EMAIL PROTECTED]> wrote:
All jokes aside now (glad you took it that way Mike). Maybe I havn't
gave
the tutor enough attention, but I have never witnessed someone jump down
anothers throat because they posted in all caps, didn't enter a subject
etc... etc... The on
; b = {'1':1, '2':2, '3':3}
>> c = a + b # doesn't seem to work
>>
>> desired:
>> c = {'a':'a', 'b':'b', 'c':'c', '1':1, '2':2, '3':3}
>>
uot;foo" + "bar "*3
'foobar bar bar '
This also seems like a nasty bug (to me, at least). Because one would think
that the "*"
operator would bind more closely than the '"' or implied concatenation would.
How can I actively help fix these Python bugs?
> Best of wishes to you!
Same to you!
Thanks! -Mike
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
oping to find some sort of snippets
plug-in
for VIM, but haven't come across anything. I found a couple of open source
snippet database programs for Windows. One kept crashing on my machine and the
other was kind of klunky. LEO looks promising. I'm reading through the tutorial
no
to anyone who can help me!!
Mike
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
pacity.
>
From what others have told me, I wouldn't say that cgi is out of date. The
couple of apps I've done perform just fine. Also, I'd recommend that every
programmer do at least a little app using cgi to get a good understanding of
the
all my time
getting
it up and running on a development server. Then having problems when it's time
to install on a production server or other servers at different locations.
Mike
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
e Design of Existing Code
> http://martinfowler.com/books.html#refactoring
>
> Beck, Extreme Programming Explained
> http://www.amazon.com/exec/obidos/ASIN/0201616416/ref%3Dnosim/armaties/102-7636110-6481700
>
>
>
> Kent
All of the above are great picks. I'd al
27;s 0" (right away)
"Now it's 1" (after 1 second pause)
"Now it's 2" (after another 1 second pause)
Any idea what's going on here? Why doesn't "tv.set("") happen
immediately?
Thanks, -Mike
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
't used them
yet, they seem like a way to lock down a class so you don't accidentally add
new
attributes to that class. (emp.name vs emp.nmae) Might be handy when working on
a team too. Although something like Pychecker would most likely catch those
accidents. I dunno.
Mike
__
y grateful. I hope I'm not asking too much
of the list but I haven't found anything that says READ THIS BEFORE
POSTING! on it to tell me otherwise.
Thanks in advance
Mike Haft
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
oming soon. Sorry for the vague post earlier,
multitasking isn't my specialty, especially without coffee.
Thanks
Mike
>From the previous post:
---
The data in each file looks liek:
MONTH RAIN AVTEMP RAD EVAP
1 1
Anyone know of a way to have Python run a command on a remote machine? In my
particular case, I want to run a python program on Windows and run a command on
VMS. Would the telnetlib module do it, or is there something better?
Mike
___
Tutor maillist
x27;, '57.67.631.3',
'23.43.919.1', '14.00.712.5']
might work
Its worth pointing out that there are more than eight fields in my actual
files, I'm using a shorter version just to test stuff on. Actual fields
are:
MONTHRAIN AVTEMP S10RAD S
If we had Python on VMS(which I'm working on), I'd definitely look into Pyro.
Thanks,
Mike
> Subject:
> Re: [Tutor] RSH?
> From:
> Pujo Aji <[EMAIL PROTECTED]>
> Date:
> Thu, 3 Nov 2005 18:44:11 +0100
> To:
> Mike Hansen <[EMAIL PROTECTED]>
&
That's exactly what I'm looking for!
Thanks,
Mike
> Subject:
> Re: [Tutor] RSH?
> From:
> Bernard Lebel <[EMAIL PROTECTED]>
> Date:
> Thu, 3 Nov 2005 14:16:40 -0500
> To:
> tutor@python.org
>
> To:
> tutor@python.org
>
>
> I use
#x27;12.5']]
done
>>>
I don't know how to print these values in a new file sperated by new lines
and white space between the values (each line needs to be three values
corresponding to RAIN AVTEMP and EVAPW).
I know how to open a file and use out_file.write() type commands but no
ifferent format. But the easiest way to get the
data from the first set of files is in a list(s).
So, is there any way to convert lists to strings? Or a way to write lists
to a file?
Thanks
Mike
___
Tutor maillist - Tutor@python.org
http://mail.pyt
Greetings, I am an Information Technology student and am seeking a mentor
for the Python Language.
Primarily my areas of specialization have been Local Area Network and PC
Tech Support however
have a data structure class as a degree requirement. The class is in
Python.
I have downloaded python
Greetings, I am new student to programming and am experimenting with PYTHON.
>From what I have read, seems to be a very versatile language. In the
following excercise I am getting an error
class String(str, Object):
shift = 6
mask = ~0 << (31 - shift)
def __hash__(self):
r
D, and BSD is a flavor of unix.
There's not a lot to learn. Basic file management(copy, delete, move, rename),
setting the permissions(chmod, chown), navigating the directory structure(cd,
ls), and finally running a python program.
Some editors have FTP built into them, so he could write
. I
wouldn't be opposed to a little bit of code in the template. I just don't want
to go the other extreme of something like PHP or ASP. i.e. all code in the
template.
What web templating systems do you use and why?
Mike
___
Tutor maillist
at PyDev, it was still in it's
infancy.
Personally, I'd stick to VIM or Emacs instead of messing around with IDEs.
Mike
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
ython functions to be inserted into
particular cells in the 4-D matrix.
I did't see any package that exactly does this; do I write my own Matrix class
and base it on lists?
Thanks! -Mike
p.s. This seems to me like it ought to be built into the base language -
multidimensional obj
ction was a little
thick to me. I read the book, The Object Oriented Thought Process. Then
I went back and read the chapters on OOP in Learning Python, and it made
a lot more sense.
Mike
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
The company I work for is moving to Outlook 2003 and Exchange server. I used
to use Thunderbird. Anyway, when digest messages show up in Outlook 2003,
all the posts are attachments. Does anyone know how to get them to display
in-line?
Thanks,
Mike
ots__? Does it have
something to do with memory?
Mike
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
s
The module for Postgre called psycopg has a nice PDF about the DB-API
http://initd.org/pub/software/psycopg/dbapi20programming.pdf
Mike
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
iki)
FAQ for common questions to the list would include
- ord() and chr()
- Common GUI programming questions
- String module is deprecated, use string methods
- ???
I'm sure you can come up with more of the common questions. Does this sound
like
on the site
above. I'll post to this list when I have something worth looking at.
Mike
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
In the macro, you might try Application.DisplayAlerts =
False and reset it to True after you save.
I think it might be trying to display a dialog box before
it saves.
Mike
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of arunSent:
Friday, April 21, 2006 1:44
as quite keen on the idea, but I've been busy the
> last couple of days and haven't got around to doing anything about it.
>
> Mike, if you're volunteering that would be perfect. If
> anyone here has ideas for questions that get asked a lot
> (like "How do I wr
p; I'm getting an error in my program. What should I do?
If you are getting an error in your Python program that you don't
understand, post the error message and any relevant code. Copy and paste the
entire error message into your email, including the traceback. Don'
f I don't get
any corrections or clarifications in a day or so after posting, I'll
add it to the tutor suggestion page. Ed mentioned that you are using
restructured text. Should I put the entry in restructured text? I spent
some time last night reading up on restructured text and docutils.
Thanks,
Mike
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
been saved. That's where the Application.DisplayAlerts comes in. So I
may have been a little off on the part of saving. It might be the
closing of Excel. Other than that, I'm stumped.
Mike
On Apr 24, 2006, at 7:32 AM, arun wrote:
> Hi Mike,
> It doesn't display any dialog
I'm having a little trouble populating a cheetah template. I thought I'd ask
here first before checking the cheetah mailing list or c.l.p.
I have a simple template
This is a test
$title
#for $item in $items
category: $item.category
name: $item.name
price: $item.pric
Here's the next batch of questions and answers for the tutor FAQ. If
you have any clarifications or corrections, please let me know. I'll
try to post this on the web site in a couple of days.
-
How do I get data out of HTML?
Thanks Kent. I'll make those additions/corrections and rework the
question about private and public attributes and methods.
Mike
On Apr 26, 2006, at 7:42 PM, Kent Johnson wrote:
> Mike Hansen wrote:
>> Here's the next batch of questions and answers for the tutor FAQ.
Well, I posted a few questions to http://pyfaq.infogami.com/tutor-index
late last week. Since the next questions and answers are a bit on the
long side, I'll send them to this list in multiple messages. Please let
me know if you have any corrections or clarifications. Below is a
reworked questi
-
What's the difference between "import foo" and "from foo import *"?
import sys
This brings the *name* "sys" into your module.
It does not give you access to any of the names inside sys itself (such
as
exit for example). To acc
I need some help with this question and answer. It appears that useless
Python is gone. uselesspython.com. Is it still around? Does anyone have
any ideas on this one?
-
I'm learning Python. What should I program?
If you have a
-
What are some good books on Python?
See the Python wiki http://wiki.python.org/moin/PythonBooks or search
comp.lang.python or the tutor archives since this is a very frequently
asked.
If you have no programming experience, tr
-
What is if __name__ == "__main__" for?
The 'if __name__ == "__main__": ..." trick exists in Python so that our
Python files can act as either reusable modules, or as standalone
programs. As a toy example, let's say that we hav
Here's a small batch of questions/answers for the tutor FAQ.
Let me know if you have any corrections or clarifications. I'll post
them to the web site in a couple of days.
Mike
-
How much code should I post?
Po
ight point to
articles about doing simple cgi stuff in Python.
http://wiki.python.org/moin/CgiScripts
http://www.devshed.com/index2.php?option=content&task=view&id=198&pop=1&page
=0&hide_js=1
Is an article on cgi programming with Python.
Mike
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
as Python is,
it's probably not popular enough to sustain a magazine devoted just to
it.
Mike
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
catch the exception and deal with it and
then sys.exit() if need be.
Mike
http://users.adelphia.net/~mahansen/programming/
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
accomplishing the same thing?
>
>
> - --
> Thank you,
> Andrew Robert
>
Maybe...
elif ch_val in ['040', '011', '012']:
Mike
http://users.adelphia.net/~mahansen/programming/
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
, I'm thinking about text editor.
Can someone give me pointers like (where and how to start, etc.)?
Or maybe another project suitable for beginners.
http://pyfaq.infogami.com/tutor-im-learning-python-what-should-i-program
Has
a couple of ideas for projects.
Mike
//mail.python.org/mailman/listinfo/tutor
>
Go to
http://mail.python.org/mailman/listinfo/tutor
See the bottom of the page to unsubscribe.
Mike
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
aren't clear enough, and we can
probably help. I hope these links help you.
Mike
http://users.adelphia.net/~mahansen/programming/
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Hi,
I was wondering where I could get problems in python for
practicing.
Thanks
Regards
Devayani
http://pyfaq.infogami.com/tutor-im-learning-python-what-should-i-program has
some suggestions.
___
Tutor maillist - Tutor@
tutor-whats-the-best-editor-ide-for-python
Mike
http://users.adelphia.net/~mahansen/programming/editorides.html
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
want to take a look at the cgi module.
Devshed has an article on getting started with it.
http://www.devshed.com/c/a/Python/Writing-CGI-Programs-in-Python/
IMO, I think if you want to do web stuff, you should learn the basics
first(cgi), then move on to cherrypy, quixote, django, turbo gears...
Mike
d to adress that need.
What would you like to see?
You might take a look at
http://pyfaq.infogami.com/
Mike
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
>
> Hi All,
>
> I have very little programming experience, I have decided to learn
> Python..there are tons of material and refernces on the web-pages, can
> you guys please suggest what is the best way to start or which ONE
> book which I should follow to start.
>
> thanks..
>
> Nagendra
http
mi.com/tutor-how-do-i-make-public-and-private-attribu
tes-and-methods-in-my-classes
Mike
**
IMPORTANT: The contents of this email and any attachments are confidential.
They are intended for the
named re
hello i need a little help with a common multiple module i am haveing
problems with the best i can get it is to show the least common multiple i
think the problem is eather the and command ot the if command
# finds common multiples
def nums(a,b): # assigns numbers to a and b
print "enter
101 - 200 of 368 matches
Mail list logo