•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Python section within the Software Development category of DaniWeb, a massive community of 427,223 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,272 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Python advertiser: Programming Forums
Views: 313 | Replies: 4
![]() |
•
•
Join Date: Jun 2008
Location: Fort Lauderdale - Florida
Posts: 19
Reputation:
Rep Power: 1
Solved Threads: 0
•
•
•
•
when you are writing a program and you get an errer do you have to start all over again or is it ok to go on. i am just writing some of the programs that are on this site in the sticky's i am writing them in the command line but also in IDLE? which one is better to use
Ok here is what you need to know when it comes to writing a program IDLE is 100 times better than the command line. Yet, when it comes to running a program they look better in the command line. There are a couple of ways to run your program again so here are some scenarios using a very simple program that converts Celsius to Fahrenheit.
If you open the python interpreter(IDLE) you can write a simple program and run it. Here is the program that converts Celsius to Fahranheit
Python Syntax (Toggle Plain Text)
def C2F(): Celsius = input("Enter degrees in Celsius: "); Fahrenheit = (9.0 / 5.0) * Celsius + 32 print Celsius, "Celsius =", Fahrenheit, "Fahrenehit";
This is a very simple program that you can run over and over by just typing C2F() (keep in mind that you must have already written then program to run it. Trust me I've seen some weird cases). So basically all you need to is define a function and write your program so that you can keep running it over and over . Hopefully that helped you and good luck programming.
•
•
•
•
If you define a function properly and then go to use it and get an error while using it (a typo or something), you don't have to define the function again.
Well, why dont you get a good IDE and start coding in there. I IDE which I have been using is pyscripter. Thats a cool IDE with lots of updates now and then.
ssharish
![]() |
•
•
•
•
•
•
•
•
DaniWeb Python Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- What's the HARDEST program you've written? (Computer Science and Software Design)
- Hi i'm having trouble with writing a program (C)
- Need help writing a program (C++)
- Need help writing a program to classify a poker hand (Java)
- Writing a program that uses a Character Queue (C++)
- Help with program...Please...... (Java)
- Checking if a file is in Writing/Saving mode (VB.NET)
- help for program involving switch loops and file (C++)
Other Threads in the Python Forum
- Previous Thread: chm reader in python
- Next Thread: STC_LEX_HTML doesn't fold


Linear Mode