Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
baaziznasser committed Aug 19, 2022
1 parent 6354ea4 commit 462626c
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,21 @@ here is the list of avalable functions\
an other functions will be aded soon.

## example of usage:
import pywinmm\
import time\
clip = pywinmm.load(r'snd.mp3')\
print(clip.getvolume())\
clip.setvolume(200)\
print(clip.getvolume())\
clip.loop(True)\
clip.reverse(False)\
clip.play()\
print(clip.getlength())\
time.sleep(1)\
print(clip.getposition())\
clip.setposition(2000)\
print(clip.getposition())\
clip.play()\
import pywinmm
import time
clip = pywinmm.load(r'snd.mp3')
print(clip.getvolume())
clip.setvolume(200)
print(clip.getvolume())
clip.loop(True)
clip.reverse(False)
clip.play()
print(clip.getlength())
time.sleep(1)
print(clip.getposition())
clip.setposition(2000)
print(clip.getposition())
clip.play()
print(clip.status())


Expand Down

0 comments on commit 462626c

Please sign in to comment.