Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Code help!
Post: RE: Code help!

The proper syntax of the input statement is that what is between quotes is usually a question and then you have to enter an answer on the keyboard, followed by the Enter key to validate your input. Ex...
squenson Homework 7 5,210 Jan-15-2018, 04:27 AM
    Thread: Code help!
Post: RE: Code help!

Quote:I'm not sure how to close out the rectangle on the right side. Isn't there a key on your keyboard that moves the cursor but doesn't print anything nor display anything on your display? **cool*...
squenson Homework 7 5,210 Jan-11-2018, 04:34 PM
    Thread: Getting error 'geckodriver' executable needs to be in PATH.
Post: RE: Getting error 'geckodriver' executable needs t...

http://lmgtfy.com/?q=python+geckodriver+path
squenson Web Scraping & Web Development 2 37,605 Jan-10-2018, 02:14 PM
    Thread: How to use python to implement one QA task
Post: RE: How to use python to implement one QA task

Quote:I am a beginner and want to have some demo code for me to study. This is not how this forum is working. First you propose some code and you let us know where you are stuck. Then we help you.
squenson Web Scraping & Web Development 2 3,077 Jan-10-2018, 12:28 PM
    Thread: No output in 'english word generator'
Post: RE: No output in 'english word generator'

You can post your final program in this thread, this will be a nice gesture in case someone is doing a search on this matter in the future. And last but not least, it is always fun to read new words i...
squenson Homework 14 6,504 Jan-10-2018, 12:23 PM
    Thread: What dose these commands mean?
Post: RE: What dose these commands mean?

As @j.crater well explained, these different "words" are part of the python language and the syntax (the way the words are arranged to make something understandable) is also part of the python languag...
squenson Homework 6 3,750 Jan-10-2018, 12:18 PM
    Thread: short_str in long_str
Post: RE: short_str in long_str

Try googling "python string lowercase"
squenson Homework 8 5,386 Jan-08-2018, 10:49 PM
    Thread: OS Error: 0x7e
Post: RE: OS Error: 0x7e

Most probably the dll was created or recompiled for Windows 10 and it cannot work under Windows 7.
squenson General Coding Help 2 4,829 Jan-08-2018, 10:59 AM
    Thread: How do you create a true/false response?
Post: RE: How do you create a true/false response?

Your program works as expected but the logic is wrong. You compare a list of ingredients with the variable input_text but you display a result that gives the impression you compare a list of ingredien...
squenson Homework 2 3,805 Jan-08-2018, 06:41 AM
    Thread: short_str in long_str
Post: RE: short_str in long_str

This is correct! The string "book" is found at position 0 in the string "book notebook textbook". In python, positions of lists, strings and tuples start with 0. Try with an example where the string i...
squenson Homework 8 5,386 Jan-08-2018, 06:28 AM
    Thread: Can Python do that
Post: RE: Can Python do that

@RandomCoder: What the OP would like is, while the timer is counting the time, allow the user to enter some text, without stopping the timer.
squenson General Coding Help 6 70,126 Jan-07-2018, 02:31 PM
    Thread: Guess Random Number Why i m not able to enter input
Post: RE: Guess Random Number Why i m not able to enter ...

On line 9, you miss a closing parenthesis at the end of the line. On line 10, the indent is incorrect.
squenson General Coding Help 6 8,188 Jan-07-2018, 04:26 AM
    Thread: Just starting out, allready stuck..
Post: RE: Just starting out, allready stuck..

The "prompt" is the invite sign that is shown at the beginning of each line. If you open a terminal window (menu start, run cmd), you see a prompt like C:\User\myname. If the prompt you see is somethi...
squenson Homework 16 9,976 Jan-06-2018, 07:49 PM
    Thread: No output in 'english word generator'
Post: RE: No output in 'english word generator'

Change def isValid(word): to def isValid(word, wordtype):, adapt the call to this function to put the two variables and it should solve the error.
squenson Homework 14 6,504 Jan-06-2018, 07:35 PM
    Thread: Just starting out, allready stuck..
Post: RE: Just starting out, allready stuck..

You must type the cd Desktop\python_work statement (don't type C:\, this is the prompt) and the python hello_world.py command at the prompt level. You don't need to be inside the python shell.
squenson Homework 16 9,976 Jan-06-2018, 07:10 PM
    Thread: Impossible Function Task?
Post: RE: Impossible Function Task?

May be someone thought is was garbled and a bug in myBB... He he he, it is a good code!
squenson Homework 11 5,758 Jan-06-2018, 07:00 PM
    Thread: Just starting out, allready stuck..
Post: RE: Just starting out, allready stuck..

We need to check which version of python you are running. Just type python and let us know what you get as a version (to exit the shell, type exit()). (I know that you mentioned the python version in ...
squenson Homework 16 9,976 Jan-06-2018, 11:12 AM
    Thread: Invalid Syntax
Post: RE: Invalid Syntax

The code you posted in your first message is NOT python but C. If you try running it as a python program you get syntax errors! Quote:ImportError: No module named helloworld The error message is rath...
squenson General Coding Help 5 4,454 Jan-04-2018, 09:17 AM
    Thread: Impossible Function Task?
Post: RE: Impossible Function Task?

No, don't worry it is just a clarification to cover the case of an odd number of words. The sentence above encrypted: fsod#row drdeob#mun fnoa eehsta#c orte#voc an#oitacifiralc stis#uj ytri!row otnn...
squenson Homework 11 5,758 Jan-03-2018, 10:48 PM
    Thread: Impossible Function Task?
Post: RE: Impossible Function Task?

yhrceuvm dtei!kil di!na gensiitcsreerxee!tni ay#rev ssiahw!t
squenson Homework 11 5,758 Jan-03-2018, 07:16 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020