equal_5(5)
print greater_less_equal_5(6)
I’m getting a invalid syntax line 2 error. Any assistance is greatly
appreciated.
[cid:image001.png@01D2FFCA.286FD4E0]
Shane Johnson
Network Consulting Engineer
Cisco Services
shane...@cisco.com<mailto:paro...@cisco.com>
Phone: +1 770-236-3970
Mobile: +1 404-966
I don't currently use Python 3 and don't recommend that you use it to
learn with, mostly because the bulk of the docs and learning resources
are Python 2.x focused and the two are not compatible. That said, here
are some resources that you may find useful (particularly if you choose
to learn using
i was trying to put the math.py into a frame Ive watched many tutorials.
But cant seem to find out how to or where to place the code
the files I want combined are attached.
#
import wx
app =
Do I have to rewrite my code directly into wxpython frame
or can i just copy and paste it somehoe
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
I was wondering is there a way to have a variable generate a random
integer each time the variable is called.
Ive tried random.randint(a, b) and the range one to.
It selects a random number and assigns it to the variable
this part of the program would be math equations
with random number selecti
Hi,
First-time poster here. I've a question about loop efficiency - I was
wondering whether this code:
i = 0
while i < 1000:
do something
i+=1
is more efficient than:
for i in range(1000):
do something
or:
for i in xrange(1000):
do something
In my mind, the while loop should
Espcially thanks for the pointers and information on the difference
between raw_input and input.
again thanks for everything, and hopefully ill be around here for a long
time and once i get a more experienced i can contribute back
On Wed, Aug 18, 2010 at 09:37, Alan Gauld wrote:
> "shane
: name 'secret' is not defined
I know this is probably very simple but for some reason i cannot get my head
around it.
thank you for any help in advance
shane
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
st = 'foo.com'
account = 'jennyjenny'
password = '8675309'
import getpass, poplib
M = poplib.POP3(host)
#M.user(getpass.getuser())
#M.pass_(getpass.getpass())
M.user(account)
M.pass_(password)
numMessages = len(M.list()[1])
for i in range(numMessages):
for j in M.ret
Stop the emails???
im getting more than i need
regards
_
The new MSN Search Toolbar now includes Desktop search!
http://join.msn.com/toolbar/overview
___
Tutor maillist - Tutor@python.or
ows
users and the examples in the book dont work for me, for example,
print "\a"
does not make my macOSX system "beep"
any guidance would be great!
thanks,
Shane
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Although I was not the questioner, I must admit this was a brief but
efficient answer. Reminds me to try something like the last part out
some time...
-Shane
On Apr 7, 2005 4:40 PM, Danny Yoo <[EMAIL PROTECTED]> wrote:
>
>
> On Thu, 7 Apr 2005, Luke Jordan wrote:
>
>
12 matches
Mail list logo