Re: Interactive, test-driven coding challenges (algorithms and data structures)

2015-07-21 Thread Orochi
On Monday, 13 July 2015 16:50:54 UTC+5:30, donne@gmail.com  wrote:
 Repo:
 https://github.com/donnemartin/interactive-coding-challenges
 
 Shortlink:
 https://bit.ly/git-code 
 
 Hi Everyone,
 
 I created a number of interactive, test-driven coding challenges. I will 
 continue to add to the repo on a regular basis. I'm hoping you find it useful 
 as a fun, hands-on way to learn or to sharpen your skills on algorithms and 
 data structures, while helping yourself prep for coding interviews and coding 
 challenges.
 
 Let me know if you have any questions or comments. Contributions are welcome!
 
 -Donne

wow! Cool the challenges are awesome. will try them to improve my Algorithm and 
Data Structures Skills.
Just a suggestion. why don't you set Python Algorithm and Data Structures 
challenges for HackerRank.com or HackerEarth.com
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: .Net Like Gui Builder for Python?

2014-07-25 Thread Orochi
Edit:
I did went for IronPythonStudio but its dead now and they are not updating it 
anymore
-- 
https://mail.python.org/mailman/listinfo/python-list


.Net Like Gui Builder for Python?

2014-07-25 Thread Orochi
Hi,
This Question may sound lame ,but I am searching for .Net Like Gui Builder for 
Python.
I tried PyQt Designer' and 'Glade', No doubt its great but it created only 
interface.
I have to code all the things in separate file.
what I was searching for is Visual Studio .Net like Gui builder where you
drag and drop widgets and just double click on the widget to edit code of that 
widget.All other formalities of creating a function and class for the main 
window and widget(e.g Button) is already done.

So,Is there any Gui App builder like Visual Studio or having features like 
Visual Studio for Python.

Thank You!


-- 
https://mail.python.org/mailman/listinfo/python-list


Re: What Next After Python Basics

2014-07-23 Thread Orochi
Ok 
Thank You Guys for the suggestions.
I am starting with simple Data Structures and Algorithm studied in 
College,trying to code them in python.
Besides I am also trying to use Python in competitive programming.(codechef.com)
Its fun.

Thank you all !
-- 
https://mail.python.org/mailman/listinfo/python-list


Execution Time and Memory taken by the program

2014-07-23 Thread Orochi
I want a timer to calculate the execution time of the program
actually I am trying to solve problems on codechef.com and want to find out the 
time and memory taken by the program to execute.

I know we can import time.time() in unix  and time.clock() in windows
also there is a library timeit().
but it doesn't give the accurate details.
What I want is :
1 . Execution time taken by the program or the CPU time
2 . Users Time
3 . Time taken by Function
4 . Memory required by the program

Thank you
-- 
https://mail.python.org/mailman/listinfo/python-list


Fastest I/O on Python ?

2014-07-22 Thread Orochi
Is there in any other input/output faster than (raw_input,input / print)
As I am trying to solve competitive Programs on codechef.com using python i was 
wondering if there is any other way to print and scan the inputs fast.


I have seen other people codes and there are using sys library(stdin and 
stdout) for I/O.

So I was thinking is there any other way to take input/output besides using 
'sys library'.

And also I had doubt about what is the difference between 
(raw_input,input/print) and (stdin/stdout)

Thank You.

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: I need an idea for practise!

2014-07-17 Thread Orochi

Brother,I had same views and after creating some small projects I directly 
tried to jump over large projects (went for data mining using neural network) 
and FAILED.
I realized small things really matter.
So I suggest just couple of GUI projects are not enough go for more.
start with anything.
here are couple of links I am staring with:
1. http://www.reddit.com/r/beginnerprojects
2. http://www.openbookproject.net/py4fun/

and there are many more you can go for learnstreet.com

I am too a Intermediate but I prefer to say Beginner and if you want we can 
make projects together.
I am Currently working on a small chat application.
-- 
https://mail.python.org/mailman/listinfo/python-list


What Next After Python Basics

2014-07-13 Thread Orochi
Hi,
I am beginner in Python
I have Completed Basic Python Course from Codecademy.com .
Now that I have a hands on the basics what is the next thing I should do.
I mean should I learn more or start a small Project(Any Ideas are Welcomed) or 
any Other suggestions.
Where to Start?

Thank You,
Orochi
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: codingbat question broken?

2014-07-13 Thread Orochi
On Sunday, 13 July 2014 07:49:18 UTC+5:30, Chris Angelico  wrote:
 On Sun, Jul 13, 2014 at 12:05 PM, Rodrick Brown rodrick.br...@gmail.com 
 wrote:
 
 
 
  Can anyone show me an example where all test are success?
 
 
 
 No, because that's asking for the answer :) What you need to do is
 
 look at the failing test cases, and figure out why your function is
 
 giving the wrong result. Do you see what's true of all the failing
 
 cases and is not true of any others? That might give you a clue as to
 
 what's wrong.
 
 
 
 ChrisA



On Sunday, 13 July 2014 07:49:18 UTC+5:30, Chris Angelico  wrote:
 On Sun, Jul 13, 2014 at 12:05 PM, Rodrick Brown rodrick.br...@gmail.com 
 wrote:
 
 
 
  Can anyone show me an example where all test are success?
 
 
 
 No, because that's asking for the answer :) What you need to do is
 
 look at the failing test cases, and figure out why your function is
 
 giving the wrong result. Do you see what's true of all the failing
 
 cases and is not true of any others? That might give you a clue as to
 
 what's wrong.
 
 
 
 ChrisA

This Is My Code(using Python 2.7)
Its working fine with the given test cases.
#Lucky_Sum
a =[]
def lucky_sum(list):
t = 0
for item in list:
if item == 13:
break
else:
t=t+item
return t

list=[]
type(list)
n = raw_input(Enter Numebr of item in list: )
n = int(n)

for x in range (0,n):
list.append(int(raw_input()))
print List is :,list

print lucky_sum(list)
-- 
https://mail.python.org/mailman/listinfo/python-list