my last week was such a mix, it was little over for me trying to figure out myself to know what I don't know. Sorry, wont make puzzles, spent time on researching in Deep passes which is still unfinished and then I had to start figure out mox python module with which I am still not done, few weeks back I was teaching myself model view programming that again ended up unfinished just as my work demanded me to shift to do something else. Anyway, I really like to venture out learning new things. But yea mox has been somewhat difficult. Just as my friend "Jojan" mentioned testing isn't that helpful, but I really want to know how to mock with mox in testing. TDD is great way to build application. using mox beside just unittest for testing will also help me add skill to my profile. Moreover Mox is by Google, not that I want to work at Google I am pretty much happy where I work right now because I really like my teammates here in Bang & London. That was it my last week just wanted to write something since I didnt posted for a while, and I am also new to this city not big friend circle to hang around specially the ones who can pick me on way to office coz place where I live is little far and I hate traveling in buses.
So do you have a perfect girlfriend who says its ok if you go to striptease perfect girlfriend video. So I worked out a solution to find a read node in the group, extract it and paste it outside the group and with still connected to original connection This script will read all the nodes to list that are inside the group "grp". So as a part of my learning experience I implemented a simple file Explorer that uses QCompleter to complete folder path in the address bar and QTableWidget as well as QTableview to show how different is the implementation and how we can take advantage of Model View programming while implementing using QAbstractTableModel with QTableView. Click read more to see code. To get file owner in windows I have used ctypes module, see winfileOwner.py In this code below, I have used QCompleter Class with QDir model for it to auto-complete the path as the user input text, however in the similar way you can also pass a list instead of dirmodel in line 7, which means then we will not need to create the QDirModel Object. 1: def __completer(self): 2: dirModel = QtGui.QFileSystemModel() 3: dirModel.setRootPath(QtCore.QDir.currentPath()) 4: dirModel.setFilter(QtCore.QDir.AllDirs | QtCore.QDir.NoDotAndDotDot | QtCore.QDir.Files) 5: dirModel.setNameFilters(self.filter) 6: dirModel.setNameFilterDisables(0) 7: completer = QtGui.QCompleter(dirModel,self) 8: completer.setModel(dirModel) 9: completer.setCaseSensitivity(QtCore.Qt.CaseInsensitive) 10: self.__ui.fileRead.setCompleter(completer) Raymond talks about better techniques that can make code more robust in presentation at PyCon @ US 2013 given below is the presentation you can go page by page I would probably watch this over and over to get everything he talks about in the presentation So, I started a year back with a target to get back into technical profession of software developers or technical artist. And for me, being from a programming background helped me get back to where I belong. I deviated from being a programmer to a VFX artist when I discovered its a unstable profession and doesn't even paying as good as much you work hard. I started gearing up with skills of python programming language, so as to make aback into programming. The only lucky part that helped me that VFX too involves an area into which I can rise up as a programmer. So I kept going worked hard sat late night researching and writing code and making tools.. one of the encouraging factor was, some of my tools I wrote in MEL or Python were getting used by artist and some studios even before I landed at the current position. I used Creative crash as platform to share tools with artists but the most encouraging thing was when I succeeded in selling out some of tools I made in python. Yes that has really helped and now I am back in business. And now I can really say... |








