Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+3
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
~3K People Reached
Favorite Forums
Favorite Tags
Member Avatar for amadain

Hi Folks I have the following code in one of my classes along with checks when the code does not eval: [code]filterParam="self.recipientMSISDN==tmpBPSS.split('_')[3].split('#')[0] and self.recipientIMSI==tmpBPSS.split('_')[3].split('#')[1]" if eval(filterParam): print "Evalled" else: print "Not Evalled\nfilterParam\n'%s'\ntmpBPSS\n'%s'\nself.recipientMSISDN\n'%s'\nself.recipientIMSI\n'%s'" % (filterParam, tmpBPSS, self.recipientMSISDN, self.recipientIMSI)[/code] I am not getting anything to 'eval'. Here are the results: [code] Not …

Member Avatar for TrustyTony
0
79
Member Avatar for amadain

Hi I was hoping I could get a bit of help here. I am trying to break a number of strings up into arrays on particular words. For example in the following strings I want them broken on the words GET and/or POST: [CODE] "POST at the start without the …

Member Avatar for jice
0
272
Member Avatar for gsingh2011

[code] import twill, string, os b=twill.commands.get_browser() b.set_agent_string("Mozilla/5.0 (Windows; U; Windows NT 5.1;en-GB;rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14") b.clear_cookies() b.go("http://www.daniweb.com") b.showforms() f=b.get_form("2") f['vb_login_username']=loginName f['vb_login_password']=password b.clicked(f,f) b.submit() b.showforms() html=b.get_html() html [/code] I checked this and this worked

Member Avatar for zachabesh
0
1K
Member Avatar for james27

can you provide traceback to your problem? I also don't understand what you mean by 'i want to save only alive account but current source code can't function correctly, all checking account saved.' Please elaborate on what the problem is

Member Avatar for james27
1
803
Member Avatar for SlvrDragon50
Member Avatar for SlvrDragon50
0
137
Member Avatar for bgk111
Member Avatar for amadain

Hi I wonder if someone could point me in the right direction. I used the following code to access gmail but I got a urllib2.URLError: <urlopen error unknown url type: 'http> error when I ran it. I have included the Traceback import twill, string, os b=twill.commands.get_browser() b.set_agent_string("Mozilla/5.0 (Windows; U; Windows …

0
83