4
answers
1
watching
137
views

these paths so basically split function it takes a path name and turns it into the two parts that is the directory path and the file name so for that what you can do is type in print and say os but part pasty pasty let me just copy the spot. Comment this so now I need to perform the join operation, so I just simply type in os dot path toward join and inside this I be writing two paths. You can also access the names of your file path by just typing in list dir. So let me just show you some of the operations with this os module if I go back to my pie chart it will create one more file here and I'll name it as os module. Now first of all, I have to import the modules. If you're typing in from the command line, you can use the import statement: import os. os that path jo join is one of the important oh a spot tools so it takes one or more paths and joins them by using the current os path separator, say to join two paths. os dot path provides a range of useful methods to manipulates the files and directories, should they implement some of the methods of this module also. os model has been joined with the python script ring, so next you can also split these paths so basically split function it takes a path name and turns it into the two parts that is the directory path and the file name so for that what you can do is type in print and say os but part pasty pasty let me just copy the spot. Comment this so now I need to perform the join operation, so I just simply type in os dot path toward join and inside this I be writing two paths.

First, you can use this math module to perform angular conversions, such as radians to degree or vice versa. You can also calculate the natural log or log base 10. Additionally, this module can be used to perform other calculations, such as finding the hypotenuse.

For unlimited access to Homework Help, a Homework+ subscription is required.

Unlock all answers

Get 1 free homework help answer.
Already have an account? Log in
Already have an account? Log in
Already have an account? Log in
Already have an account? Log in

Related questions

Related Documents

Weekly leaderboard

Start filling in the gaps now
Log in