> Is there a forum for the complete beginning Python student?
Yes, this is it! Welcome.
Alan G
Author of the Learn to Program web tutor
http://www.freenetpages.co.uk/hp/alan.gauld
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/l
>Does sp1 and sp2 in Wwindows XP block certain python commands?
Nope. Although SP2 does various strange things that could cause some
bits of Python to behave strangely but there are plenty people using
SP2 and Python suvccessfully.
Alan G.
___
Tuto
[EMAIL PROTECTED] wrote:
*
ok i have learned that on the python shell or new window you can type
in..>>>print "hello world"...and the output is ..'hello world'.. or
you can put in anything realy and it say it back to you.is this a
program or what and what is the purpose of this can yo
> ok i have learned that on the python shell or new window you can
type
> in..>>>print "hello world"...and the output is ..'hello world'..
or you can
> put in anything realy and it say it back to you.is this a
program or what
Yes it is a program. And believe it or not the PC processor
> ok i have learned that on the python shell or new window you can type
in..print "hello world"...and the output is ..'hello world'.. or you
can
> put in anything realy and it say it back to you.is this a program or what
Yep, that's a program. Just an ultra, ultra-simple one.
On Sunday, Mar 13, 2005, at 05:01 America/Chicago,
[EMAIL PROTECTED] wrote:
if this is not a program please teach me what is a
program and what i need to know to write them and if this is a program
teach me
how to write better programs i can use outside of the python shell...
OK, how about this
-- Forwarded message --
Date: Wed, 13 Apr 2005 17:12:55 +0200
From: Feziwe Mpondo <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: help
how to run a programm after you have typed in the commands
___
Tutor maillist - Tutor@python.or
On Sun, 17 Apr 2005, james middendorff wrote:
> I was wondering if there was a tutorial and or module that would help me
> create a program to use a parallel port to turn on/off a device in
> linux? I have searched but cannot find a tutorial on a good way to do
> this. The whole project would be
On Wed, 4 May 2005 [EMAIL PROTECTED] wrote:
> i need help with my wmconnect service. it keeps on losing connection
> once logged on-line every 5 or 10 minutes. i have to continuosly keep
> trying to make a connetion.
Hello Keisha,
I hope you don't mind me asking, but how is this related to P
On Wednesday, May 11, 2005, at 08:09 America/Chicago,
[EMAIL PROTECTED] wrote:
> hi
> i'm trying to extend a list program by adding a test, problem is after
> getting the menu of taking the test i can't seem to get the test
> running
> i.e viewing of questions and answers. here's what i tried t
Hi Dan,
I think you need to back up a little and build the program piece by
piece.
> i am making a simple script to get the hang of Tkinter.
The script is quite complex for a starter. You could focus down on
just
a single control initially, the area button. Get that to pop up the
dialog
and
Quoting Dan Deternova <[EMAIL PROTECTED]>:
> ok. i know python and want to turn all my programs i made when i was
> learning python into Tkinter programs. i dont know how to make if
> satments and display the output like this in python:
> if cmd == quit:
> print "press exit to quit"
> i have n
Also, you may want to consider something like easygui -
http://www.ferg.org/easygui/
if all you need is simple dialogs.
You may also want to consider Pythoncard - pythoncard.sourceforge.net,
it's quite capable of more elaborate GUI stuff, but it's built on
wxPython, which can be a little intimidat
Dan Deternova napsal(a):
i am making a simple script to get the hang of Tkinter. i
want to use the input of the user from a Entry and calcuate the area. i
have tryied many way... as you can see in my script. the Entry is
under def area(): and the output i want is under def cal(): ...
please
I am new to python. My intention is to read the file digi.txt and store in
separate arrays all the values of each columns. However, the following
program prints only the last value, i.e. 1350696500.0.
Please help to rectify this.
f = open ("digi.txt", "r+")
datafile = f.readlines()
list_of_lis
Hello,
I have a file with actions and time points at which they occur.
I want to find how many times an action occurs, and how many times it
occurs in combination with an other action at the same time point
(overlapping between onset and apex)
Below is the input file. in this file, action 50 occu
On Thu, Jun 20, 2013 at 6:10 PM, Antonio Zagheni wrote:
>
> I am a begginer in Python.
> I did a function that returns a string and I want to copy this to the
> clipboard.
> I have tried a lot of suggestions found at Google but nothing works properly.
> Is there an easy way to do that?
> I am usi
Hello, I'm starting off programing with python and i like it (so far). Im
having trouble finding a website that simply teaches it. I have never
programmed before and i thought this would be a great place to start. What
websites should I use to start off?
Sent from my iPad
__
I was given this code and I need to modify it so that it will:
#1. Error handling for the files to ensure reading only .txt file
#2. Print a range of top words... ex: print top 10-20 words
#3. Print only the words with > 3 characters
#4. Modify the printing function to print top 1 or 2 or 3
#
On Thu, Jan 09, 2014 at 09:52:04AM +0100, Tihomir Zjajic wrote:
> Please, can you help me convert this code from python 3 to python 2.6
Change input() to raw_input(). That will make it compatible with Python
2.6. But that is not the cause of the error you get. The error that you
get is that your
On 09/01/14 08:52, Tihomir Zjajic wrote:
Please, can you help me convert this code from python 3 to python 2.6
The main gotchas are that
1) input in Python 3 -> raw_input() in Python 2
2) print (XXX) in Python 3 -> print XXX in Python 2
Start from there then read any error messages and fix as
hi can you answer this question for me plz
Modify the Guess My number program from this chapter so that the player has
only five guesses. If the player run out of guess, the program should end the
game and display an appropriately chastising message. ___
List
On Mar 18, 2014 11:08 AM, "y j" wrote:
> how can i split a word into letters in python 2.7.6?
>
> --
> Y D Jain
>
>
> ___
> Tutor maillist - Tutor@python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listi
On 18/03/14 18:21, Joel Goldstick wrote:
List
On Mar 18, 2014 11:08 AM, "y j" mailto:yashp...@gmail.com>> wrote:
how can i split a word into letters in python 2.7.6?
or more specifically list(aString) - lowercase and with params.
That will give you a list of the individual letters.
Assum
Hi,
I need help with coding for the problem below. I am new in this area, so
needed help. If anyone can help me program the below scenario, I will be
thankful.
I have this file:
1,3,5,0.03
2,3,5,5,4,0.11
3,3,5,5,4,5,8,0.04
2,5,8,7,8,0.04
3,14,10,14,13,17,13,0.04
1,14,18,0.06
4,10,13,
On Mon, Mar 29, 2010 at 7:30 AM, Oshan Modi wrote:
> i am only a novice and just started programming.. i am having trouble
> running a .py file in the command prompt.. if anyone of you could help?
>
How are you trying to run it ??
--
Vishwajeet Singh
+91-9657702154 | dextrou...@gmail.com | h
Oshan Modi wrote:
i am only a novice and just started programming.. i am having trouble
running a .py file in the command prompt.. if anyone of you could help?
___
Tutor maillist
On Mon, 29 Mar 2010 01:00:45 pm Oshan Modi wrote:
> i am only a novice and just started programming.. i am having trouble
> running a .py file in the command prompt.. if anyone of you could
> help?
Are you running Linux or Mac? At the command prompt, run:
python myfile.py
and report any erro
Forwarding to the list.
Martijn wrote:
On Tue, Mar 30, 2010 at 12:15 PM, Christian Witts
mailto:cwi...@compuscan.co.za>> wrote:
Oshan Modi wrote:
i am only a novice and just started programming.. i am having
trouble running a .py file in the command prompt.. if
Oshan Modi wrote:
I have Windows 7 and am using python 2.6.. I added python.exe's
address in the path option under enviromental variables.. i can run
python in command prompt.. its just that i dont know to make it
execute a file directly rather than typing the whole program again and
again..
Simple; just write
python program.py
in your command line :)
On Tue, Mar 30, 2010 at 2:08 PM, Christian Witts wrote:
> Oshan Modi wrote:
>
>> I have Windows 7 and am using python 2.6.. I added python.exe's address in
>> the path option under enviromental variables.. i can run python in command
>>
On 3/28/2010 10:00 PM, Oshan Modi wrote:
i am only a novice and just started programming.. i am having trouble
running a .py file in the command prompt.. if anyone of you could help?
Please learn how to ask questions.
In a situation like this we'd like to know what operating system you are
us
Thank you for specifics.
Please always reply-all so a copy goes to the list.
On 3/30/2010 3:41 PM, Oshan Modi wrote:
I have windows 7 (ultimate), python 2.6.3...
when i try to run the file echoinput.py
Please post a copy of this file.
it doesnt respond to the request
Actually you should
i understood.. its working fine now. thank u all.. ^_^
On Wed, Mar 31, 2010 at 8:20 PM, bob gailer wrote:
> Thank you for specifics.
>
> Please always reply-all so a copy goes to the list.
>
>
> On 3/30/2010 3:41 PM, Oshan Modi wrote:
>
>>
>> I have windows 7 (ultimate), python 2.6.3...
>> when
Not sure if I understood the problem exactly, but you could linearize the
text by using something like this --
>>> foo = '''ACTGTGTTC
... ACGTCGACC
... AVGTT
... ACGTTaGTC'''
>>> foo
'ACTGTGTTC\nACGTCGACC\nAVGTT\nACGTTaGTC'
>>> linear1 = ''.join(foo.split('\n'))
>>> linear1
'ACTGTGTTCACGT
On Fri, May 14, 2010 at 9:25 PM, Abhishek Mishra wrote:
>
linear1 = ''.join(foo.split('\n'))
linear2 = foo.replace('\n','')
> ^^ these are the two ways in which you can linearize the input text by
> removing all '\n'
+1 for the replace. More obvious, cleaner, more efficient.
Hugo
On Fri, 14 May 2010 06:08:30 pm she haohao wrote:
> Say I have a .fa file and I want to print a subsequence from the file
> without the \n how can i do it.
>
> Example: Inside the test.fa file I have
>
> >chromosome 1
>
> ACTGTGTTC
> ACGTCGACC
> AVGTT
> ACGTTaGTC
>
> so if I say i wan the subs
she haohao wrote:
> Hi,
>
> I have some questions that I am unable to figure out.
>
> Let say I have a file name peaks.txt.
>
> Chr17 9 4.5 5.5
> chr10 6 9 3.5 4.5
> chr1 10 6 2.5 4.4
>
> Question is how can i sort the fi
"she haohao" wrote
Question is how can i sort the file so that it looks like this:
Chr17 9 4.5 5.5
chr1 10 6 2.5 4.4
chr10 6 9 3.5 4.5
I have no idea! How would you do it manually?
In what way is this considered s
extract all the p values and how do i
> sort the file and how i open the respective file. Thanks for helping
>
>
>> Date: Sat, 15 May 2010 19:58:33 -0400
>> From: da...@ieee.org
>> To: einstein...@hotmail.com
>> CC: tutor@python.org
>> Subject: Re: [Tut
Solution: width times height.
On 6/17/10, KB SU wrote:
> help
>
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
On Thu, 17 Jun 2010 05:28:37 pm KB SU wrote:
> help
No no, don't tell us what you need help about! I love guessing games!
Let me see now... I'm guessing that your problem is that don't know how
to work out the length of a string. Here's one way:
string = "something"
count = 1
for char in string
On 17/06/2010 08:28, KB SU wrote:
help
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Help, I need somebody,
Help, not just anybody,
Help, you know I need
>From the virtual desk of Lowell Tackett
--- On Thu, 6/17/10, Mark Lawrence wrote:
From: Mark Lawrence
Subject: Re: [Tutor] help
To: tutor@python.org
Date: Thursday, June 17, 2010, 8:30 AM
On 17/06/2010 08:28, KB SU wrote:
>
On 17/06/2010 19:22, Lowell Tackett wrote:
From the virtual desk of Lowell Tackett
--- On Thu, 6/17/10, Mark Lawrence wrote:
From: Mark Lawrence
Subject: Re: [Tutor] help
To: tutor@python.org
Date: Thursday, June 17, 2010, 8:30 AM
On 17/06/2010 08:28, KB SU wrote:
help
Help, I need
Hi,
You have two different problems
1) Easiest algorithm to find a prime number
2) and then coding the algorithm
By my knowledge,The Sieve of Eratosthenes algorithm is the fastest to find a
prime number.
The algorithm works on the basis that if a number n is prime, then all
multiples of it are no
On Tue, Jul 13, 2010 at 11:50 AM, Dipo Elegbede wrote:
> I was trying to write a code that prints prime numbers between 1 and 20.
>
> I have by myself seen that something is wrong with my code and also my
> brain.
>
> Could anyone be kind enough to tell me what to do
>
> Where I am confused is
Adding to what Andre said,
another way of optimizing the problem would be
storing the prime number in the range you want to check an array and see if
the given number is divisible by any of those prime number
This improves the performance.
Thanks,
nitin
On Tue, Jul 13, 2010 at 3:52 PM, Andre En
Dipo Elegbede wrote:
I was trying to write a code that prints prime numbers between 1 and 20.
I have by myself seen that something is wrong with my code and also my
brain.
Could anyone be kind enough to tell me what to do
Where I am confused is how to test for other numbers without one and
You have gotten good advice from others.
My request is that you provide a meaningful subject when you post a
question. We track by subject. "Help" is not the best subject.
Better would be "How to find prime numbers"
--
Bob Gailer
919-636-4239
Chapel Hill NC
__
On 7/13/2010 5:50 AM, Dipo Elegbede wrote:
I was trying to write a code that prints prime numbers between 1 and 20.
Other suggestions
- you need only test divisors up to the square root of the candidate.
- you can easily eliminate all even numbers and numbers divisible by 3.
for i in range(0,
On Tue, Jul 13, 2010 at 3:20 PM, Dipo Elegbede wrote:
> I was trying to write a code that prints prime numbers between 1 and 20.
>
> I have by myself seen that something is wrong with my code and also my
> brain.
>
> Could anyone be kind enough to tell me what to do
>
> Where I am confused is
On Tue, Jul 13, 2010 at 12:34 PM, Nitin Pawar wrote:
> Adding to what Andre said,
> another way of optimizing the problem would be
> storing the prime number in the range you want to check an array and see if
> the given number is divisible by any of those prime number
As I wrote, my code was not
"walter weston" wrote
how comes when I run code from a new window in python
IDLE the text highlighting dissapears
No idea, it doesn't do that for me.
Can you be more specific about what you are doing.
Also which version of Python, which OS etc?
How exactly are you running the code?
A
instead of input ... use raw_input()
On Thu, Feb 24, 2011 at 9:45 AM, Chris Schiro wrote:
> Hi,
>
> I am completely new to programming aside from working with basic many years
> ago. I purchased a Python book for beginners so I could start from scratch
> which has been walking me through just f
> I have found that this line will return an error every time while running
> the completed program, unless I enter a number. If I enter a numeric value
> the program will continue on as written.
When it comes to things like error messages, you need to post enough
code and the _exact_ error messag
On Thu, Feb 24, 2011 at 5:15 AM, Chris Schiro wrote:
> Hi,
>
> I am completely new to programming aside from working with basic many years
> ago. I purchased a Python book for beginners so I could start from scratch
> which has been walking me through just fine until: writing a program to
> intera
On 2/24/11, Chris Schiro wrote:
> Hi,
>
> I am completely new to programming aside from working with basic many years
> ago. I purchased a Python book for beginners so I could start from scratch
> which has been walking me through just fine until: writing a program to
> interact with user for feed
That line only expects int and say numbers generally.
If you want to print strings, use, raw_input in place of input.
Try that out and then let's have a feedback.
Sent from my BlackBerry wireless device from MTN
On Thu, Feb 24, 2011 at 9:53 AM, Nitin Pawar wrote:
> instead of input ... use raw_in
"Chris Schiro" wrote
I am completely new to programming aside from working with basic
many years
ago. I purchased a Python book for beginners so I could start from
scratch
which has been walking me through just fine until: writing a program
to
interact with user for feedback:
name=input("Wh
i can mail free books on python 2. if you want.
starting out with python 3.XXX restricts the amount of help you can get and
also free resources.
most resources i have come across are python 2.XXX.
cheers.
On Thu, Feb 24, 2011 at 9:58 AM, Andre Engels wrote:
> On Thu, Feb 24, 2011 at 5:15 AM,
Request:
When posting a question use a meaningful subject line, as some of us
track email by subject.
--
Bob Gailer
919-636-4239
Chapel Hill NC
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python
Am 03.03.2011 22:28, schrieb Andrew Bouchot:
okay so this is my comp sci lab
*
Problem:
*ProductionTime.py It takes exactly 2 minutes and 7 second to produce an
item. Unfortunately, after 143 items are produced, the fabricator must
cool off for 5 minutes and 13 seconds before it can continue. W
This isn't so much as a python problem as it is a simple math problem, and I
feel you are being lazy, but in the offchance you're having problems with
the '/' operator:
cooloff = (numitems/143)*313
total = cooloff + seconds
I think you are using python 2.6 (and I guess 2.7) or older based on you
On Thu, Mar 3, 2011 at 4:56 PM, Knacktus wrote:
> Am 03.03.2011 22:28, schrieb Andrew Bouchot:
>>
>> okay so this is my comp sci lab
>> *
>>
>> Problem:
>>
>> *ProductionTime.py It takes exactly 2 minutes and 7 second to produce an
>> item. Unfortunately, after 143 items are produced, the fabricat
James Reynolds wrote:
[...]
You are almost assuredly going to get flamed for not having a descriptive
title and for asking what is obviously homework questions
At least Andrew did the right thing by being honest that it was a
homework question, and by showing the work he's done so far.
But y
On Tue, Mar 8, 2011 at 6:38 PM, Vickram wrote:
> The python result is wrong because I may have misread the C++ code
Well, really, I suggest you read a tutorial on Python - you don't seem
to be getting a hang on the basics, for example, there's no need for
to use the float() function.
The first hundred pages of a thorough python tutorial, and a c++
tutorial should have you doing both of those quite well in a day or
so.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/
"Vickram" wrote
I need help in translating a C++ code into python..
Can you help please?
The python result is wrong because I may have misread the C++ code
The C++ code is really just C code, there is virtualy no C++ stuff
there.
But that aside your translation is pretty faithful (too fait
2011/4/2 ISAAC Ramírez Solano
>
> Hi... My name is Isaac, I need some help to programm in python, I know some
> things that are really basic like lists and recursivity and with that we
> shoul create an GPS with a global variable, but what I'm trying to do is to
> make a function that could call
"ISAAC Ramírez Solano" wrote
Hi... My name is Isaac, I need some help to program in python,
I know some things that are really basic like lists and recursivity
I'm not sure what you mean by recursivity, but I'm betting its
not what I mean by that term! :-)
with that we should create an GPS
I am in an online python class and am failing badly. I am not sure where
the problem is here but any insight would be great.
def main():
while (True):
allowed = int(input("Please enter minutes allowed between 100 and
700: "))
used = int(input("How many minutes were used: "))
From: tutor-bounces+ramit.prasad=jpmorgan@python.org
[mailto:tutor-bounces+ramit.prasad=jpmorgan@python.org] On Behalf Of Joseph
Shakespeare
Sent: Thursday, September 22, 2011 12:05 PM
To: tutor@python.org
Subject: [Tutor] Help!
Hello,
I am new Python (about 2 weeks) and need some help
Move the following two lines to immediately follow the while.
player=raw_input("Please pick your throw: (r,s,p):")
computer= random.choice(['r','s','p'])
--
I have seen the future and I am not in it.
___
Tutor maillist - Tutor@python.org
To unsub
On 10/7/11, rmntcver...@aol.com wrote:
> I need serious help with this Rock, Paper, Scissors program. The program
> runs smoothly but I can't get the score to print. Please help me with this
> one aspect! Here is my code right now:
>
>
>
> import random
>
>
> def computerrockPaperScissors():
>
On 10/7/2011 12:32 PM, rmntcver...@aol.com wrote:
I need serious help with this Rock, Paper, Scissors program. The
program runs smoothly but I can't get the score to print. Please help
me with this one aspect! Here is my code right now:
Welcome to Python Help.
In future please use a meaningfu
On 10/10/11 20:23, George Nyoro wrote:
On 10/10/2011, tutor-requ...@python.org wrote:
Send Tutor mailing list submissions to
tutor@python.org
To subscribe or unsubscribe via the World Wide Web, visit
snip
>>
When replying, please edit your Subject line so it is more specifi
Chris Kavanagh wrote:
However, I'm confused on Line 30 {if chosenCave== str(friendlyCave)}.
Here's the description of this line the author gives:
"Here we check if the integer of the cave we chose ('1' or '2') is equal
to the cave
randomly selected to have the friendly dragon"
My question i
Yes Steven, that solved my question(s). It also cleared up what was to
be my next question! Thanks so much. You might not realize how grateful
I am to be able to have you & others on the list answer my questions.
Just trust me when I say, I am grateful. And I apologize for the code
being mangle
I'm going to thank Steven once again, and answer my own question in the
2nd paragraph directly below (Steven hasn't had a chance to respond yet).
I just learned that the Function definitions are not read by the
interpreter UNTIL they are called. I was reading them and assuming they
were execut
(Pleas put your reply after the part you're quoting. What you did is
called top-posting, and makes reading the messages very confusing)
On 11/01/2011 12:10 AM, Chris Kavanagh wrote:
I'm going to thank Steven once again, and answer my own question in
the 2nd paragraph directly below (Steven hasn
On 01/11/11 04:10, Chris Kavanagh wrote:
before. In other languages, ala C++, don't global variables have to be
declared at the 'top' of the code??
No, that's just common usage.
You can declare a variable anywhere in C/C++ provided it's before
it is used. But that can lead to hard to read code
On Sun, 2009-01-11 at 14:01 -0800, rev pacce wrote:
> I have no expierence using python. I was following a tutorial and i
> kept getting a syntax error. it was >>> print "hello world!" hello
> world was not coming up underneath it.. i tried to run the module but
> that didnt work either.
>
> __
"rev pacce" wrote
I have no expierence using python.
I was following a tutorial and i kept getting a syntax error.
it was >>> print "hello world!" hello world was not coming up
OK, I guess that you tried typing the >>> howerver that bit
should be produced by the Python interpreter. You n
Sanhita Mallick wrote:
help
YOU ARE STANDING AT THE END OF A ROAD BEFORE A SMALL BRICK
BUILDING . AROUND YOU IS A FOREST. A SMALL
STREAM FLOWS OUT OF THE BUILDING AND DOWN A GULLY.
Emile
___
Tutor maillist - Tutor@python.org
http://mail.python
A hollow voice says PLUGH.
Be sure your lantern is lit!
--
Bob Gailer
Chapel Hill NC
919-636-4239
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
krayzie...@yahoo.com wrote:
Sent from my BlackBerry® device from Digicel
Don't have a BlackBerry, sorry can not help.
-david
--
Powered by Gentoo GNU/Linux
http://linuxcrazy.com
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/lis
I am looking to build a program that gets a message from the user and then
prints it backward. I 've been at it for hours now but I can't seem to figure
it out. I've been having trouble trying to index the message so I can print it
out backwards. I would've posted my code but I really haven't go
>
>From: jonathan wallis
>To: tutor@python.org
>Sent: Wednesday, July 15, 2009 12:54:16 PM
>Subject: [Tutor] help
>
>>i have a duel loop that looks like thiswhile y > 0 and x > 0:
>i cant figure out if there is a way to make so if one loop ends it s
jonathan wallis wrote:
i cant figure out if there is a way to make so if one loop ends it says
something different than if the other loop ends.
Maybe you could use two separate tests and break out of the loop if x or
y gets too low.
Because the tests are separated you could say something diff
jonathan wallis wrote:
> i have a duel loop that looks like thiswhile y > 0 and x > 0:
> i cant figure out if there is a way to make so if one loop ends it says
> something different than if the other loop ends.
>
while x > 0 or y > 0:
...
if x > 0:
print 'x is greater than 0'
"jonathan wallis" wrote
i have a duel loop that looks like this
while y > 0 and x > 0:
This is not any kind of loop its a while expression.
It should have a body and that would then constitute
a single while loop not a dual loop ( a duel lop has
something to do with repeatedl
Ryan V wrote:
For this source code, i am getting some errors, and not sure how to
fix it, as i am returning all the values. it is telling me that there
is no value for the variables i am returning. any help is greatly
appreciated!
Source
#main function
def main():
print 'The menu is:'
"Ryan V" wrote
as i am returning all the values. it is telling me that there is no value
for the variables i am returning. any help is greatly appreciated!
You are returning the values to variables in the main function.
But in Python variables inside functions (aka local variables) are
only
Ryan V wrote:
For this source code, i am getting some errors, and not sure how to fix it,
as i am returning all the values. it is telling me that there is no value
for the variables i am returning. any help is greatly appreciated!
Source
#main function
def main():
print 'The menu is:'
pr
Hi,
I dont know it is the right place to post this question. I need help to change
one search code line . can you help me please.
here is my search method code:
search=re.compile("^#acl InternationalGroup.*\n", re.M).search(pagetext)
if search:
ret=search.group()
else:
On Tue, 2009-09-29 at 20:38 -0700, Jessica Poveda wrote:
> I need help writting a program.
> 1) Random string generation
> 2) no repeating letters
> Can anyone help me,please? I am so confused. The only problem is I
> have to use the code that is written there but add on to it.
>
> import ran
> I need help writting a program.
> 1) Random string generation
> 2) no repeating letters
> Can anyone help me,please? I am so confused. The only problem is I have to
> use the code that is written there but add on to it.
>
> import random
>
> alphabet = "abcdefghijklmnopqrstuvwxyz"
> myNewString =
Check this guy's youtube channel. He has very basic examples. His
username is thenewboston
On Wed, Sep 17, 2014 at 4:36 PM, Art Pelletier wrote:
>
> I am a beginner with pythons programming I would like to see if their is a
> site that has samples programs that I can practice on.
> Sent from m
On Wed, Sep 17, 2014 at 4:36 PM, Art Pelletier wrote:
>
> I am a beginner with pythons programming I would like to see if their is a
> site that has samples programs that I can practice on.
Hi Art,
Yes, there are some good resources you can check out. Here's a link
to some of them:
htt
101 - 200 of 1934 matches
Mail list logo