« first day (748 days earlier)      last day (1440 days later) » 

user4196492
12:13 AM
Came here looking for the IPhone6
 
v_1
5:53 AM
and i'm calling another viewcontroller on didselectrow but in anotherview backbar button doesn't appear my code snippet is :- case 0:
let str="News"
let centerViewController = self.storyboard?.instantiateViewControllerWithIdentifier("ContentViewController") as! ContentViewController
centerViewController.toPass=str;
let centerNav=UINavigationController(rootViewController:centerViewController)
let appDelegate:AppDelegate=UIApplication.sharedApplication().delegate as! AppDelegate
centerNav.navigationBar.topItem?.title="News"
 
6:23 AM
1 message moved from iOS Developer Family
 
6:47 AM
0
Q: Parsing JSON in one go using state machine solution

Lin MaI need to parse a simple JSON string (flat JSON, no hierarchy) for keys and values, and there is a system constraint that I cannot use any built-in JSON library and can only read a string once due to latency requirements. I need to use Python 2.7.x series and cannot use a higher version. Here is...

 
 
6 hours later…
12:33 PM
0
Q: Flatten iterator for nested list in python3

user3136376flatten.py from collections import Iterable, Mapping from operator import methodcaller from stack import Stack class flatten(object): """ Iterator that walk through nested iterable. If the initial item is not iterable, only itself will be yielded. Args: item (O...

 
12:51 PM
0
Q: Adaptive scan of surface of function concurrently

user3136376This function try to scan the surface of the given function in n dimensions in the given range by adaptively divide the area into n+1 points polygon (e.g. triangle in 2D; tetrahedron in 3D) async_scan.py from initializer import RecursiveBoundaryCentreInitializer from solver import Solver from e...

 
1:21 PM
-2
Q: help python 2.7 TkinterGUI

user217329my system: linux debian7 python2.7 Idle2.7 Tkinter2.7 Could someone please help me, with my code? I only get restart in my Python Shell. I do not see a GUI window anywhere. I only have py2.7 and pyShell 2.7. I don't know how to load py3.5, maybe someday. Please help me, with my py2.7 problem. f...

 
 
3 hours later…
4:08 PM
 
 
2 hours later…
5:51 PM
1 message moved from Android
 
 
3 hours later…
8:54 PM
-1
Q: python3 Print grades table form

f.pinki want help i wrote my program but it should be retrn this ID | Name | Test_1 | Test_2 | Test_3 | Test_4 | Avg. | 1000123210 | Bunny | 100 | 100 | 100 | 100 | 100.00 | 1000123456 | Rubble | 0 | 0 | 80 | 80 | 40.00 | 10001234...

 
 
1 hour later…
10:07 PM
0
Q: Python loop with repeated input massive data calls (1 input changes per loop), how to vectorize or speed up another way

MattMassive data problem, 7/8 variables are repeated 1000 times in a for loop, sending 8 input vectors * 50,000 values per loop for each function call. Only 1 input vector changes in each loop iteration. The function being called is vectorized accepting list inputs and can accept any length vectors. ...

 
10:38 PM
0
Q: python: How to avoid printing ^C on console on interrupt

fcmOn Python, I will like a graceful termination without the errand ^C printed on the console. try .... except KeyboardInterrupt: ... os._exit(0) works fine except the pesky ^C shown on the console.

 
11:13 PM
-1
Q: How to make a general coding from my code?

jasonexample a=[8,-1,6] I'm trying to name the first number as x1 and the rest add them together as y1 and b=x1-y1 and then again add the first two numbers as x2 and the rest add them together as y2 and c=x2-y2 and again the same process until the last number in the list and get the x=min(x1,x2,..)...

 

« first day (748 days earlier)      last day (1440 days later) »