A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2005-September/331804.html below:

~ after script filename?

~ after script filename? ~ after script filename?presentt presentt at gmail.com
Tue Sep 6 23:57:49 EDT 2005
Hello all,

I just wrote a really simple script and named it helloworld.py.  Inside
was only:

#!/usr/bin/env
print "Hello, world"

I used chmod to set the permissions, and ran it to see what happened (I
just started learning Python, if you couldn't guess)

Then, I typed ls in the directory to see what was there, and I noticed
a new file, namely helloworld.py~ .  What is that file (its contents
are identicle to helloworld.py)?  Why the ~?

Thanks a lot.  I'm using Ubuntu Linux 5.04 (Hoary), and wrote the
script with gedit.

~~Ted Present


More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4