• Python Beginner Program
    6 replies, posted
I'm learning python and I know most of the basic stuff.. What is a good,simple program that I should write to extend my knowledge?
[url]http://projecteuler.net/[/url]
[QUOTE=Liquid Helium;27560053][url]http://projecteuler.net/[/url][/QUOTE] This makes me regret not taking Math in my first year.. god damnit
You could do like I did, and start writing projects in other languages (such as C). What I learned was that compiling stuff wasn't always that easy, so I started writing shell scripts to do the work for me. I ended up writing an entire CMake/Make-like build system in bash. I then learned about Makefiles and added support for that. Then came CMake with CMakeLists.txt. But since I was doing all this through MSYS on Windows (trying to keep it cross-platform), I realized that Python could come in handy for this. It's cross platform and works GREAT. So I started re-writing my entire project to do the same thing in Python, as I had done in bash. So far, the compiler part isn't really going well, but it kept me motivated on the project and still does. It extended my knowledge alot, about xml files and using JSON instead, about tarfiles, about urllib, about the differences in Python 2 and 3 and a LOT more about cross-platform stuff. But that's just my motivation I hope that my 2 cents can get you going a little. Don't just stop when you're out of motivation. Find ways to make what you're doing EASIER. That's ALWAYS motivating. Laziness is what makes programmers good. Unless your code is lazy too, of course.
[QUOTE=Liquid Helium;27560053][url]http://projecteuler.net/[/url][/QUOTE] Why the hell do people keep suggesting this when asked this sort of question? Project Euler [i]only[/i] requires knowledge of the basics. All of the difficulty in Project Euler is in the mathematics and algorithm design, so you can be very successful at Project Euler with only basic knowledge of a language. If you're trying to learn about math and algorithms: Project Euler! If you're trying to learn specific features of a specific language: SOMETHING ELSE.
I'm wondering the same but for C#. What can I do to learn?
Sorry, you need to Log In to post a reply to this thread.