pythonでfoobarのalternativeを作る 22 version 15

2019/05/31 15:42 by yamasyuh68
  :追加された部分   :削除された部分
(差分が大きい場合、文字単位では表示しません)
pythonでfoobarのalternativeを作る 22
今日の予定

```
    def search(self,e):
        item=self.ui.lineEdit.text()
        temp=self.ui.treeView.model()
        if item=='' :   # <----------------------
            if temp == self.model :
                pass
            else:
                self.ui.treeView.setModel(self.model)
                del temp

        if  item==''  or (len(item)==1 and  re.match('[a-zA-Z0-9_.,]',item) ) :


```

- 一文字をpassする
- 一文字をpassする --> 一行変えるだけかな
p='o'
print (p)
if len(p)==1 and  re.match('[a-zA-Z0-9_.,]',p) :
    print('no')
else:
    print(p)

- 曲の再生
とりあえずvlc 使うか 
- タグの取得表示~こては
- タグの取得表示~mutagen? VLCでもイケるかも


      

今日の予定

    def search(self,e):
        item=self.ui.lineEdit.text()
        temp=self.ui.treeView.model()
        if item=='' :   # <----------------------
            if temp == self.model :
                pass
            else:
                self.ui.treeView.setModel(self.model)
                del temp

        if  item==''  or (len(item)==1 and  re.match('[a-zA-Z0-9_.,]',item) ) :


  • 一文字をpassする --> 一行変えるだけかな
    p='o'
    print (p)
    if len(p)==1 and re.match('[a-zA-Z0-9_.,]',p) :
    print('no')
    else:
    print(p)

  • 曲の再生
    とりあえずvlc 使うか

  • タグの取得表示~mutagen? VLCでもイケるかも