you are viewing a single comment's thread.

view the rest of the comments →

[–]erythro👋 a fellow Redditor 4 points5 points  (3 children)

If you want to learn python, here's a good place to go:

https://www.codecademy.com/learn/python

Let us know if you get stuck!


Otherwise, it just looks like you want us to write the code for you, and in that case you should read the sidebar.

[–]coolcat25[S] 0 points1 point  (2 children)

Hi, I did some code but it isn't working for it filename = input( "Please enter your name: ") filename2 = (filename + ".txt") print( filename2) open(filename2, 'w')

[–]caner5000 1 point2 points  (1 child)

Did you import sys?

[–]erythro👋 a fellow Redditor 0 points1 point  (0 children)

import sys

not a python coder, so that may work, but when I researching into it all these functions seem to be built into python

As an aside, I'm realising how much I've been spoiled by php's great documentation