Re-registration of vehicles in a different state in India

Tags

,

These days a lot of people have to relocate to a different state in India because of work and they tend to take their vehicles with them. Traffic sleuths are always looking for a out of state vehicles to slap a huge fine and most people tend to bribe their way out because seriously who wants to get involved in matters concerning RTO and pay the whole road tax when they are actually for a short term period in another city, but all these vows can be avoided, a lesson I learnt the very hard way. It so happened that I moved to Pune and I didnt know about the correct procedure, I got caught a couple of times and then I couldnt take it anymore so I decided to get my vehicle registered in Maharashtra(as suggested by a dalal whom I met at Pune RTO). Re-registering a vehicle is not actually required but those dalal(read bastards) would say its better to get it registered to churn out more money from your pockets. The right thing to do here is just pay the road tax for another state, this sounds crazy as you are not going to stay permanently in another state but what most people don’t know is that there is a provision to get a refund if the stay is for a short time and the refund is calculated for the number of months stayed. So all you have to do is to get a NOC(no objection certificate) which is required so that the RTO knows that their are no pending cases on that vehicle or if the vehicle actually belongs to you. Getting a NOC is fairly easy, all you have to do is to go to the RTO where you vehicle is registered and they will tender the NOC in a day or two without any charges. Next when you arrive in another city then within a month pay the road tax. The papers that you need for paying the road tax are as follows

  • NOC
  • PUC
  • Insurance
  • License 
  • RC book

Well and thats all their is to it. You can get everything done in a days time just keep in mind not to contact any dalals in between or you will have to pay extra and it might take more time and a lot of headaches. Also if you dont pay the road tax within a month when the NOC  was tendered then the RTO will charge you extra for the months you have stayed in another city. So no re-registration is required all you have to do is to pay the road tax.

A guide to Python Namespaces

Reblogged from The ByteBaker:

This post is part of the Powerful Python series where I talk about features of the Python language that make the programmer’s job easier. The Powerful Python page contains links to more articles as well as a list of future articles.

Namespaces are a fundamental idea in Python and can be very helpful in structuring and organizing your code (especially if you have a large enough project).

Read more… 1,146 more words

Scoping in Python – The LEGB Rule

Tags

, , , , ,

Actually, a concise rule for Python Scope resolution, from Learning Python, 3rd. Ed.. (These rules are specific to variable names, not attributes. If you reference it without a period, these rules apply)

LEGB Rule.

L. Local. (Names assigned in any way within a function (def or lambda), and not declared global in that function.

E. Enclosing function locals. (Name in the local scope of any and all enclosing functions (def orlambda), form inner to outer.

G. Global (module). Names assigned at the top-level of a module file, or declared global in a def within the file.

B. Built-in (Python). Names preassigned in the built-in names module : open,range,SyntaxError,…

So, in the case of

code1
class Foo:
   code2
   def spam.....
      code3
      for code4..:
       code5
       x()

The for loop does not have it’s own namespace. It would look in the LEGB order,

L : local, in the current def.

E : Enclosed function, any enclosing functions(if def spam was in another def)

G : Global. Were there any declared globally in the module?

B : Any builtin x() in Python.

 

 

source- stackoverflow

TTY – TeleType

Tags

, , , ,

Read, heard and ever wondered what a tty is. Well it stands for teletype and it is a command used in the shell. Basically it gives information about the terminal that a user is currently at. TTY has historic significance as they were used in the first computers which were TeleType terminals and these were essentially remote controlled typewriters. When you enter the command ‘tty’ in the shell without the quotes you will receive a response ‘dev/pts/1′ or some other number which essentially tells you that you are using device /pts/1.

Windows 7 theme stuck to windows classic

Tags

,

This was a problem that my sister was facing when she tried to clean and tune up her laptop(girls shouldn’t mess with their laptop). Anyway after trying to optimize her laptop what happened was Windows Aero theme vanished and reverted back to that ugly 1998 windows classic theme. If you are facing the same problem and “Windows Color” scheme is not showing Windows 7 Basic and Windows & Standard options and it is just showing that Windows Classic theme then you need to follow these steps.

  1. click Start and in the search box type run.
  2. Run window will pop up and then type services.msc
  3. locate “Themes” and you will see that in the “startup type” column it is set as disabled. You just have to double click it and change it to automatic.
  4. Restart your system and you will get back your Windows 7 Aero theme.
Follow

Get every new post delivered to your Inbox.