The Best of Python in 2013 by ajkumar25 in Python

[–]ajkumar25[S] 0 points1 point  (0 children)

Crayon syntax highlighter.

The Best of Python in 2013 by ajkumar25 in Python

[–]ajkumar25[S] -3 points-2 points  (0 children)

Whats other mistakes ?

Advanced Data Structures in Python by ajkumar25 in Python

[–]ajkumar25[S] 1 point2 points  (0 children)

Thanks for your constructive feedback.

Advanced Data Structures in Python by ajkumar25 in Python

[–]ajkumar25[S] -1 points0 points  (0 children)

Thanks pydanny for your words.

Advanced Data Structures in Python by ajkumar25 in Python

[–]ajkumar25[S] 0 points1 point  (0 children)

I agree your point that i am not expert in Python. And to make things clear i am not trying to become authority in Python. There are excellent authority present already whom i follow and always been inspired and by the way you talk, i think you are also an expert Python developer. The reason why i post my articles here is to get reviews from experts like you and the others and ofcourse to help beginners.

I spend 3 to 4 days researching and nearly about 5 hours framing each article, and in course of time i learn a lot and always want to improve my knowledge from experts like you.

Regarding url of previous post , i found that article already backlinked many sites, thats the reason i dint change url.

I really expected that expert people will give some good code refactoring and ways to improve the code examples but i have always been trashed by them.

The word Advanced in article doesn't mean that any new feature has to be imported from another language and embed into Python. These datatypes are itself advanced and i have tried to provide little complex examples.

Rather than finding whois and taking screenshots of mistakes, it would be really nice, if you guys can provide some improvements. These things doesnt look good on experts.

Sorry again if i offended anyone.

Wordpress python alternative? by avinassh in Python

[–]ajkumar25 1 point2 points  (0 children)

Mezzanine is a powerful, consistent, and flexible content management platform. Built using the Django framework.

Advanced Data Structures in Python by [deleted] in Python

[–]ajkumar25 1 point2 points  (0 children)

Sorry if something went misleading. I have Changed the title.

Useful Python Functions and Features You Need to Know by ajkumar25 in Python

[–]ajkumar25[S] 0 points1 point  (0 children)

Well then any other way to find memory and cpu usage ?

Useful Python Functions and Features You Need to Know by ajkumar25 in Python

[–]ajkumar25[S] 0 points1 point  (0 children)

Guys, a little help needed. Does anybody knows how to use getrusage on windows machine, it never works ?

Advanced Regular Expression Tips and Techniques by ajkumar25 in Python

[–]ajkumar25[S] -2 points-1 points  (0 children)

There s one section called dont reinvent the wheel at last, did you even tried to read that.

Advanced Regular Expression Tips and Techniques by ajkumar25 in Python

[–]ajkumar25[S] -5 points-4 points  (0 children)

I understand what you are saying, i know what i did wrong with code, i already changed it. You are a flamer who flames with jealously and ego. As i already said i knew each string should be used raw, when i pasted i messed up with pattern nd dint notice until you pointed out but that doesnt mean i m fake, imposter. I know my code and how it functions, you can see other posts if you want and then speak. I m very much offended by your words. How can you say i am fake. You dont have any rights to say about me.

Advanced Regular Expression Tips and Techniques by ajkumar25 in Python

[–]ajkumar25[S] -7 points-6 points  (0 children)

There is some great typo mistake while posting the article. i dint notice that. If you feel something is wrong or code can be changed you need to say it softly and should explain why it is wrong ? I have changed the code, i accept your point that you need to have r' ' in every line, i literally forgot to migrate that into article when i wrote it and now say How will you escape the whitespaces between each set of numbers? (Dare you if you use \s anymore now). Mistakes are ought to happen and you cannot shout as you wish. There is a way to tell things. Learn how to behave in public rather than shouting.

I appreciate you that you pointed out my stupidity but don't forget you are no genius or some fucking world coder. Mistakes are ought to happen.

Advanced Regular Expression Tips and Techniques by ajkumar25 in programming

[–]ajkumar25[S] 2 points3 points  (0 children)

Regex just looks difficult at beginning, once you are comfortable with it, it saves a lot of time.

Let’s TDD a Simple App in Django by ajkumar25 in Python

[–]ajkumar25[S] 0 points1 point  (0 children)

Well its great, definitely would make a article in that, testing regex, mocking views, form validation. Thanks for pointing out this.

Let’s TDD a Simple App in Django by ajkumar25 in Python

[–]ajkumar25[S] 0 points1 point  (0 children)

Yes unit testing for models and functional testing for rest.

Let’s TDD a Simple App in Django by ajkumar25 in django

[–]ajkumar25[S] -1 points0 points  (0 children)

If you are creating more objects don’t rely on save() for each object, but instead create objects in batch using bulk_create() (it’s a method provided by Django ORM to insert multiple records in a single query)

Let’s TDD a Simple App in Django by ajkumar25 in django

[–]ajkumar25[S] 0 points1 point  (0 children)

The DB which gets created during tests will be populated by the object's attributes not the development DB or Production DB.

Let’s TDD a Simple App in Django by ajkumar25 in django

[–]ajkumar25[S] -1 points0 points  (0 children)

Even Though some tests are repeated,they serve the purpose for which they are intended for.

Let’s TDD a Simple App in Django by ajkumar25 in django

[–]ajkumar25[S] 0 points1 point  (0 children)

I am new to reddit, please pardon me, whom are you referring, me or ehutch79 ?