Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Adding colour to Python console
Post: RE: Adding colour to Python console

(Apr-10-2020, 12:57 PM)Archangelos Wrote: Hello guys, I tried to colourise the texts in a Python consol applications but the results were a little bit weird.Hi! Maybe this can give you some ideas:...
newbieAuggie2019 General Coding Help 4 1,300 Apr-15-2020, 05:15 PM
    Thread: make a turtle object an image
Post: RE: make a turtle object an image

(Apr-12-2020, 04:40 PM)Agusben Wrote: is there another way to save a turtle drawing as a jpg image file?Hi! Maybe you could use the following. I have modified your original program: import turtle ...
newbieAuggie2019 General Coding Help 2 4,737 Apr-15-2020, 01:47 PM
    Thread: problem a with a word question
Post: RE: problem a with a word question

(May-27-2018, 02:01 PM)baobei Wrote: Use a multiple assignment to add the prefix before the given first name and the suffix after the given last name, then print the full name. The string value in f...
newbieAuggie2019 General Coding Help 5 2,439 Nov-22-2019, 05:58 AM
    Thread: Problem with a language word problem
Post: RE: Problem with a language word problem

(Nov-21-2019, 11:41 PM)baobei Wrote: I got: Python 3.7.5 (tags/v3.7.5:5c02a39a0b, Oct 15 2019, 01:31:54) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license()" for m...
newbieAuggie2019 General Coding Help 17 4,548 Nov-22-2019, 12:05 AM
    Thread: Can the comments produce errors in python?
Post: RE: Can the comments produce errors in python?

(Nov-21-2019, 10:35 AM)snippsat Wrote: The error happens before comments part.Thank you! According to my multiple tries in IDLE, before adding the comments, it doesn't seem so. This program runs fi...
newbieAuggie2019 General Coding Help 9 1,708 Nov-21-2019, 01:33 PM
    Thread: Adding items in a list (using loops?)
Post: RE: Adding items in a list (using loops?)

(Nov-21-2019, 11:46 AM)Seneca260 Wrote: broken_prices = [5, 3, 4, 5, 4] + [4] def sum_list(broken_pieces): sum = 0 for x in broken_pieces: sum += x return sumBasically, I am try...
newbieAuggie2019 General Coding Help 6 1,454 Nov-21-2019, 01:26 PM
    Thread: [split] beginner help
Post: RE: [split] beginner help

(Nov-21-2019, 12:01 PM)AMT59 Wrote: import beautifulsoup4 gives "ModuleNotFoundError: no module named 'beautifulsoup4'.Hi! It gives you a 'ModuleNotFoundError' because you are not following the ins...
newbieAuggie2019 General Coding Help 8 1,731 Nov-21-2019, 12:44 PM
    Thread: Can the comments produce errors in python?
Post: RE: Can the comments produce errors in python?

(Nov-20-2019, 05:44 PM)snippsat Wrote: The problem is that you use \0 escape character that is a zero byte. Inside f-string the r want work then nothing get printed after zero byte.Thank you! I had ...
newbieAuggie2019 General Coding Help 9 1,708 Nov-21-2019, 08:12 AM
    Thread: "Up to but not including" (My personal guide on slicing & indexing)
Post: RE: "Up to but not including" (My personal guide o...

(Nov-20-2019, 09:17 PM)Drone4four Wrote: From this code snippet, as you can see, if there is a single integer passed into the range() function, it starts at 0 and goes up to but does not include the...
newbieAuggie2019 General Coding Help 5 1,488 Nov-20-2019, 09:38 PM
    Thread: Can the comments produce errors in python?
Post: RE: Can the comments produce errors in python?

(Nov-20-2019, 03:51 PM)buran Wrote: It looks like something with IDLE It seems that it is not only with IDLE, as with PyScripter, it stops the paste process at the point IDLE takes as a null byte. M...
newbieAuggie2019 General Coding Help 9 1,708 Nov-20-2019, 04:23 PM
    Thread: Can the comments produce errors in python?
Post: RE: Can the comments produce errors in python?

(Nov-20-2019, 03:04 PM)buran Wrote: I am not able to reproduce this error. The last snippets works just fine Hi! I think you just copied and pasted the last piece of code, and run it. I have just m...
newbieAuggie2019 General Coding Help 9 1,708 Nov-20-2019, 03:13 PM
    Thread: Scrap data from not standarized page?
Post: RE: Scrap data from not standarized page?

(Nov-20-2019, 02:27 PM)zarize Wrote: [ ... ] I cannot use specific div or other html-type because every table is named the same (with only different font). I just don't know how to tell python look...
newbieAuggie2019 Web Scraping & Web Development 4 1,706 Nov-20-2019, 02:51 PM
    Thread: Can the comments produce errors in python?
Post: Can the comments produce errors in python?

Hi! I'm attaching the outputs of my little programs at the end of the code, as comments, to see quicker what the program does, and also to include ideas, variations, possible errors, etc. to improve ...
newbieAuggie2019 General Coding Help 9 1,708 Nov-20-2019, 12:58 PM
    Thread: [split] beginner help
Post: RE: [split] beginner help

(Nov-20-2019, 09:31 AM)AMT59 Wrote: I am completely new about Python and on this forum. I installed Python 3.8.0 (64-bit), and learned that I need BeautifulSoup for webscraping. Hi! I would uninst...
newbieAuggie2019 General Coding Help 8 1,731 Nov-20-2019, 12:01 PM
    Thread: Columns in a table
Post: RE: Columns in a table

(Nov-19-2019, 09:57 PM)Reldaing Wrote: This was just an example of what i've made to switch lines. Now , I want to switch colums but I don't know how to do it, even if i tried...Hi! Maybe you could...
newbieAuggie2019 General Coding Help 7 1,384 Nov-20-2019, 07:39 AM
    Thread: [split] Windows can't find installed packages
Post: RE: Windows can't find installed packages

(Nov-16-2019, 11:56 PM)deep_logic Wrote: Hi all, I seem to have a similar situation trying to import beautifulsoup4. I've installed beautifulsoup4 using pip in a command prompt. All good. However, I...
newbieAuggie2019 General Coding Help 11 2,908 Nov-17-2019, 08:23 AM
    Thread: Sorting columns from text file help
Post: RE: Sorting columns from text file help

(Nov-15-2019, 05:10 PM)nickglobal101 Wrote: The CODE I tried: df = pd.read_csv('columns_test.txt', names=['Date','Num1','Num2'], skiprows=1, sep='\s+', engine='python') df Hi! Have you tried this?...
newbieAuggie2019 General Coding Help 1 2,138 Nov-15-2019, 07:05 PM
    Thread: file.write not working properly
Post: RE: file.write not working properly

(Nov-09-2019, 07:59 PM)Gribouillis Wrote: I see something! At the end of the script you forgot to close the file. Use fhand.close() instead of fhand.close. It may perhaps change something.Hi! I was...
newbieAuggie2019 General Coding Help 11 1,955 Nov-09-2019, 08:34 PM
    Thread: equation
Post: RE: equation

(Nov-07-2019, 09:25 AM)MathisDELAGE Wrote: I'd like to fix an equation with this program is what it would be possible to please Hi! I don't see the equation(s) you want to fix. I would approach th...
newbieAuggie2019 General Coding Help 5 1,228 Nov-07-2019, 04:50 PM
    Thread: Print string in a single line
Post: RE: Print string in a single line

(Nov-07-2019, 03:10 PM)RavCOder Wrote: (Nov-07-2019, 03:05 PM)baquerik Wrote: print( "".join(word_break),end="") Hi! You could also do: string_input = input("Insert a long phrase: ") split_stri...
newbieAuggie2019 General Coding Help 8 1,868 Nov-07-2019, 03:24 PM

User Panel Messages

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