Posts Tagged ‘ interview ’

FUN in S&T: Some Python Tips

January 17, 2011
By

Some Python Tips ========================= Print the list ~~~~~~~~~~~~~~~~~ - we should print list like this > > > print "%s" % 'n '.join(sys.path) Floating Division ~~~~~~~~~~~~~~~~~ > > > from __future__ import division ...

Read more »

Jiansen Lu's Blog: Summary of PHP commands (2)

November 9, 2010
By

PHP Error Handling . Simple "die()" statements; Custom errors and error triggers; Error reporting. PHP Exception Handling. With PHP 5 came a new object oriented way of dealing with errors. Exception handling is used to change the normal ...

Read more »

syntetik blok: maya python tips

September 2, 2010
By

maya python tips . I thought I would share 2 Maya python tips here for more elegant code: (this code assumes you have namespace of maya.cmds as mc). # filter objects with some attribute from a selection. # as this doesn`t work. ...

Read more »

Playing with Computers: TIPS: Python: Copying text in Clipboard …

May 18, 2010
By

import win32clipboard win32clipboard.OpenClipboard() win32clipboard.EmptyClipboard() win32clipboard.SetClipboardText(text) win32clipboard.CloseClipboard(). Posted by Mayank Johri at 6:11 PM. Labels: Development, Python, Tips ...

Read more »

Playing with Computers: Tips: wx.Python: Animated Gif in

April 9, 2010
By

self.ag.Play(). #self.ag.Stop(). if __name__ == '__main__': app = wx.App(redirect = 0). frame = MyPanel(None). frame.Show(True). app.SetTopWindow(frame). app.MainLoop(). Posted by Mayank Johri at 6:17 AM. Labels: Python, Tips , wx ...

Read more »

Playing with Computers: Tips: Python : wxFormBuilder v3.1.67-beta …

March 6, 2010
By

Restart the wxformbuilder. I did not tried to update these files for other widgets but it should be similar. Posted by Mayank Johri at 7:51 PM. Labels: Development, Python, Tips , wxformbuilder, wxpython ...

Read more »

Best Dot Net: Error handling in Ajax

July 29, 2009
By

1)On AsyncPostBackError event on the scriptmanager &ltasp:ScriptManager ID="ScriptManager1" runat="server" OnAsyncPostBackError="ScriptManager1_AsyncPostBackError"> 2)Implement the event on the server and set ...

Read more »