Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Python 3 escape codes
Post: Python 3 escape codes

I know how to write a newline "\n" and that's about all. I would like to know more. Because i came across the following "\n\t\t" and to be honest i'm lost. So could someone please point me to an easy ...
oldDog General Coding Help 1 2,603 Sep-15-2018, 10:07 AM
    Thread: writing to a file?
Post: RE: writing to a file?

Seems like i have been running around in circles for the last couple of days trying and failing to write text to a .txt file. Perhaps i better start at the beginning so that everyone can see exactly w...
oldDog General Coding Help 5 3,348 Aug-23-2018, 01:03 PM
    Thread: writing to a file?
Post: writing to a file?

Have been trying to learn how to write to a file in Python 3, but i can't seem to get it right. I have created a continents.txt file and a continents.py file both of which are stored in the same direc...
oldDog General Coding Help 5 3,348 Aug-19-2018, 11:31 AM
    Thread: Closing a program
Post: RE: Closing a program

Hey would like to thank both gontajones and snippsat for all their help. Thanks guys
oldDog General Coding Help 4 3,369 Jul-29-2018, 10:39 AM
    Thread: Closing a program
Post: RE: Closing a program

Have now solved the problem by using import sys sys.exit()Thanks for the reply gontajones
oldDog General Coding Help 4 3,369 Jul-28-2018, 01:22 PM
    Thread: Closing a program
Post: Closing a program

Have been trying to learn about dictionaries in Python 3 at Understanding Dictionaries in Python 3 # Define original dictionary usernames = {'Sammy': 'sammy-shark', 'Jamie': 'mantisshrimp54'} # Set ...
oldDog General Coding Help 4 3,369 Jul-28-2018, 12:39 PM
    Thread: Displaying a calendar
Post: RE: Displaying a calendar

Hi buran This is the code i have been using: #!/usr/bin/env python3.6 # import module import calendar yy = 2018 mm = 11 # To ask month and year from the user # yy = int(input("Enter year: ")) # m...
oldDog General Coding Help 3 3,271 Jul-08-2018, 12:32 PM
    Thread: Displaying a calendar
Post: Displaying a calendar

I've been trying to display a calendar month using Python3.6 and whilst the code works perfect from the command-line it only produces a list of errors if i try to display from a file in Atom text edit...
oldDog General Coding Help 3 3,271 Jul-08-2018, 10:06 AM
    Thread: Learn Python 3 the Hard Way
Post: Learn Python 3 the Hard Way

Have been trying to learn Python via a book called: Learn Python 3 the Hard Way, and thought i was doing really well until i came to exercise 15: Reading Files. I was on the verge of giving up because...
oldDog General Coding Help 1 2,970 May-31-2018, 04:04 PM
    Thread: Help with script
Post: RE: Help with script

Hi snippsat Big thanks for the help
oldDog General Coding Help 2 3,142 May-29-2018, 11:06 AM
    Thread: Help with script
Post: Help with script

I have just started to learn Python and i bought the book 'Learn Python 3 the Hard Way'. Well every thing was fine until i came to exercise 13 and it was called Parameters, Unpacking, Variables. All i...
oldDog General Coding Help 2 3,142 May-22-2018, 07:40 PM
    Thread: Adding a paragraph of text before an exercise
Post: RE: Adding a paragraph of text before an exercise

Hi Gribouillis Problem solved now mate. Big thanks for the help and advice
oldDog General Coding Help 5 3,613 May-22-2018, 06:57 PM
    Thread: Adding a paragraph of text before an exercise
Post: RE: Adding a paragraph of text before an exercise

Hi Gribouillis I was doing an exercise and thought i'd add a paragraph explaining what the exercise was all about. but, although the exercise was done correctly the paragraph of text does not appear o...
oldDog General Coding Help 5 3,613 May-05-2018, 11:39 AM
    Thread: Adding a paragraph of text before an exercise
Post: Adding a paragraph of text before an exercise

I have only just started to learn Python and hope someone will be kind enough to help me. I am reading and doing the exercises from the book "Learn Python 3 the Hard Way" and before each exercise i wo...
oldDog General Coding Help 5 3,613 May-05-2018, 06:43 AM
    Thread: New user/beginner needing help
Post: RE: New user/beginner needing help

Big thanks to Larz60+ for the help with the code. Also another big thank you to IAMK for the explanation and link.
oldDog General Coding Help 3 3,239 Apr-17-2018, 02:31 PM
    Thread: New user/beginner needing help
Post: New user/beginner needing help

I have only just started to learn Python programming and hope someone can help me out here please. I have created the following but can't understand why the function won't output anything. any help a...
oldDog General Coding Help 3 3,239 Apr-17-2018, 07:57 AM

User Panel Messages

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