954,557 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

???The working file???

I've heard of the working file in python before and was just wondering what it was and where I can find it in python

wolfeater017
Light Poster
35 posts since Jul 2010
Reputation Points: 10
Solved Threads: 0
 

The working file, is the file wich you are processing.

The one that you create or open, and read or write to it.

Beat_Slayer
Posting Pro in Training
405 posts since Jun 2010
Reputation Points: 30
Solved Threads: 105
 

To go one step further, the working folder is the folder/directory your working file (present program) is in.

Run this little program:

# save this program as working.py

import os

# this will show the folder you saved working.py in
print( os.getcwd() )
HiHe
Posting Whiz in Training
236 posts since Oct 2008
Reputation Points: 137
Solved Threads: 22
 

I thought that the working file was a folder you could save images in to make it easier to load into a program or is that still possible

wolfeater017
Light Poster
35 posts since Jul 2010
Reputation Points: 10
Solved Threads: 0
 

If you write a program that needs to load an image file, it is easiest to simply stick a copy of the image file into the same folder that the program works out of.

vegaseat
DaniWeb's Hypocrite
Moderator
5,989 posts since Oct 2004
Reputation Points: 1,345
Solved Threads: 1,417
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: