So can I deduce my work experience with related technology on my resume.
Usually you want to customize your resume according to the type of job you seek. This means you include only the things you wish to show and also make each one stand out the way you think better.
If you want to apply for a position of, say a Python web developer job, then your resume should focus more on your experience and knowledge about that subject and focus less on other not-so related things (i.e. in this case, past experience on sales and marketing).
You can surely do whatever you want with your resume, but willingly omitting too much experience on a topic in your resume may not be so recommended. Your deception may become evident if they do some research on your profile, and that may compromise your application.
They may also become aware of that once/if you are hired and your overqualified skills start showing. You may decide to try hide those skills or deliberately work slowly, but I doubt if it is worth the effort.
In any case, I suggest you include only related experience and refrain from including too much details on them. This way they may consider you less overqualified and give you better chances. On interviews that follow you can truthfully (preferably) enhance or clarify any other details regarding the nature of your experience they may want to know.
Edit: You indicate now that you plan to leave out 2 years of experience. It is up to you to decide if that is "too much" to safely remove it. Personally, I would leave it untouched. I think it's safer to omit the 9 months on the other company than 2 years in the most recent one (more likely they will check you last job).