First Things First

Posted by Neville on September 14, 2016 under How To, Python, Resources, Training, Uncategorized | Comments are off for this article

Let’s Begin To Code!

For this step in the coding experience we will be first of all using the shell, and then move into using an IDE (in our case IDLE). If you have not yet installed python, now might be that time!

Our First Output

The conventional first step for almost all courses in coding and programming is to get the computer to print out the simple sentence “Hello World”. Well here’s how it’s done in python. (Well, it’s just one way to do that!).

Let’s get started!

Open up the python shell (or open Idle and use the shell component). You should be able to see the prompt (>>>), and that is where you type the following: print(“Hello World”) and then press the enter key.

If you have done that successfully, the next line of the shell will show Hello World, and then the prompt is displayed on the line below. If, however, you see an error message there is something not quite right with what you typed in. Hopefully the message will give you a clue about what the problem is.

A note about the print command:print command

print, in lower case, is a reserved word in python that is used to output the contents of what is between the parens, or brackets. That output in this case goes to the shell. In this example the contents between the parens is a series of characters enclosed in quotes. It is so much easier to call this a string. Strings in python can be enclosed in either single quotes (‘like this’) or double quotes (“or this”). Double quotes are good when you need to use an apostrophe in a string (“isn’t that handy”).

Experiment with the print command in the shell. Try it with numbers. eg print(4 + 8) or print(3 + 2.5). Note that no quotes are required for numbers when printing. What happens if you forget the quotes for a string? Try it and see if you can work it out.

 

Have A Go

Posted by Neville on June 23, 2016 under How To, Python, Resources, Training, Uncategorized | Comments are off for this article

A console to share:

Python is an interpreted language. That means that it needs an interpreter to take the code that a user has produced and translate it so the computer’s processor can work on it.
One way to get access to the python interpreter is by using a console. Often it is necessary to download and configure python on your machine.
The frame below, however, will provide you with a console that is shared from the pythonanywhere site.

After the console loads and displays some information about python and the version being used you can type some commands at the cursor in the current input (In) line.

Try some of these:

Use the console as a calculator. For example type some of the following math statements, or use your own. After each one press the enter(return) key to see the result.

  • 5 + 6
  • 45 * 5
  • 81 / 9
  • 2 ** 3 (don’t type this:  2 to the 3rd power)

Playing with strings (words and letters).

  • print(“Hello”)
  • name = “Tom”
  • print(name)

 

 

Use this pythonanywhere console:

Some more examples to try: Remember to hit Enter at the end of each line. For multiple lines as below, hit Enter on the blank line after you finish to send the lines for processing.

1: for count in range(5):

print(count)

2: Creating and displaying a list:

mylist = [8, 9, 6, 5, 4]

mylist

3: Sorting the list.

mylist.sort()

mylist

 

 

 

 

The Prodigal Returns

Posted by Neville on October 13, 2013 under Uncategorized | Comments are off for this article

Where have you been?

After a few months of neglecting this blog, as a result of dis-illusion with the world of world of advertising with safelists, this site is about to get a new lease on life.

All of the old posts will stay, so that you can wander through them, and hopefully learn something from my journey.

So where am I at now?

Coding.

Hoping to show some results soon, but it is early days right now.

TeamPromote: Perfect for Affiliate Managers

Posted by Neville on August 23, 2011 under Uncategorized | Comments are off for this article

A Campaign For Affiliates

This short post attempts to outline the benefits of TeamPromote for owners of an affiliate program.TeamPromote Marketing Platform

As an example I have chosen to demonstrate with a fictional ClickBank product.

A typical scenario.

The product: Software to produce eBooks to sell. Yep, corny, but it’s just an example. It is offered at ClickBank with a 50% commission to affiliates.

The Aim: To attract affiliates who will promote the product and make sales.

The Process:
1: Adding to ClickBank will attract some affiliates, but there is strong competition, and thousands of products.

2: Promote and recruit affiliates by your own efforts. Advertising, email marketing, etc. using your own contacts and programs.

Now Enter TeamPromote!

3: Gather a Team of promoters who become affiliates and promote the product to their contacts.

A campaign set up for an affiliate product will create unique links for each promoter, and any sales generated will be credited to that promoter.

So everyone joining has a double opportunity for being rewarded. Advertisers get their product promoted, and sales.

How to set up a TeamPromote campaign for affiliates to join.

First all of the usual items like Campaign Name, Description, Logo, Geo-Targeting, Categories, and content for Text Ads and the Landing Page need to be planned.

The tricky part is filling in the Destination Link and the URL that tells promoters how to find their Referral ID.

Since the example is a ClickBank product, the Referral Link (known as a Hoplink) replaces the “xxxx” in this link:

http://xxxx.clickbank.product.com

TeamPromote Affiliate Form

Click to Enlarge

To set up the referral link the creator (advertiser) supplies the link. In the example shown at arrow (a) it is critical that the %ref_id% is added just like that, because the script uses that code to add each promoter’s unique Referral ID in that position.

The URL at arrow (b) is the link to where the promoter can sign up to get or retrieve their referral ID.

When a promoter joins a campaign such as this, they will be asked for their referral ID. If they already know it they can simply supply it when the join. If they have forgotten or need to sign up for a Referral ID, the URL at arrow (b) will tell them how to get that ID.

More Reward For Effort.

Affiliate Products have greater potential for generating cash for promoters:

  • In campaign rewards from the advertiser
  • and from sales of the product being promoted.

Look out for these campaigns at TeamPromote.

An Invitation To Contribute

Posted by Neville on July 25, 2011 under Blogging, Resources, Uncategorized | Comments are off for this article

Help Write An eBook Report

Following up on the recent series of  posts in this blog where various aspects of using CSS to add style to a blog theme plans are being made to produce a short report that puts these together in one place. That report will then be made available here at this blog.

TopTeamAnother site in the dotrim stable has been established to allow for people to cooperate on task like this. That site, The TopTeam, is currently beginning the process of taking ideas from its contributors for including that report.

I encourage you to visit and add your suggestions for styling hints and tips to include in the report.

Enlarge An Image With CSS

Posted by Neville on July 17, 2011 under Uncategorized | Comments are off for this article

More CSS Image Effects

Hover the pointer over the image below to discover this effect. Please note that some browsers will not show any changes.

Once again, the addition of some CSS code to the stylesheet has now made this effect available for any image that is added to a post.
To activate the effect the following html was used in this post:
<div id=”full-size”><img src=”http://dotrim.com/siteaddress/WP.jpg” alt=”” /></div>

In this short command, the id, “full_size” is the name of the CSS code snippet.

Simple Profit System:Can It Be This Simple?

Posted by Neville on April 28, 2011 under Reviews, Traffic, Uncategorized | Comments are off for this article

KISS: The Simple Profit System.

How many systems have you joined or investigated that just seem so complicated and difficult to understand how they work?

Downline BuilderA few months ago ago when I was just starting out to work out what Traffic Exchanges were about I must have spend several hours just trying to work out what all of this downline building was all about. And then I got so thoroughly confused that I unsubscribed from most of the programs that I joined,

After some time I have came to recognize that most of these have downline builders built in and that it’s common to be exposed to a whole series of OTOs (One Time Offers) as you check out the sites that they recommend they join. Annoying, but just part of the process.

Then there are some systems that supposedly help you through the process, so that in the end you can get yourself into profit.

Now comes a simple system,

brought to us by the developer of perhaps the most detailed Traffic Exchange training, BreakFree Traffic System. He has recognized the daunting task that lies ahead if you fully explore BreakFree Traffic, and has developed a much simpler system, interestingly named Simple Profit System.

To take part in this system you will begin by joining just 2 downline builders, and these will present you with opportunities to join, one at a time, with 1 or 2 days between each offer. You will not be rushed into joining a whole lot of things at once, which often leads to confusion and lack of focus.

Then with the requirement to join just 1 Traffic Exchange, which you use to build your downline, you are away on the journey to profit.

Sounds simple? Why not give it a go?

Simple Profit System

Or if Simple is not you:-  Try the BreakFree Traffic System

BreakFree Traffic System

 

 

 

Subscribing to an eZine at APSense

Posted by Neville on December 23, 2010 under eZine, Uncategorized | Comments are off for this article

The dotrim blog features in a Blog  Tips eZine at APSense.

Some posts from this blog will appear from time to time in an eZine that I have established at APSense.

To subscribe to the eZine you will need to visit and find the Subscribe to this eZine link. Subscription is available to members of APSense. If you are not yet an APSense member you can sign up Subscribe to Blog Tips For New and Experienced Bloggers




To look at the second eZine based on this blog, you can click the image below or this link.

Blog Tips eZine

To subscribe to the eZine find the Subscribe to this eZine link (highlighted by the arrow in the picture above) and click on it.

Once you have subscribed to the eZine you will be notified when new issues are published and you will also be able to contribute to the eZine. More about this in a future post, or on the eZine itself.

Issue 3 of the eZine has now been published, and readers are invited  to submit articles for the next and subsequent issues. Let’s share our tips for efficient blogging.

Adding An Image To A Blog Post

Posted by Neville on November 24, 2010 under Blogging, How To, Uncategorized | Comments are off for this article

How To Add An Image Into A Blog Post

In an an earlier post I mentioned that it is useful to add images to break up the text in a post.

Parrot Food

Sunflower

In this post I will outline the process for adding a picture to a post. The photo that will be added is for the benefit of one of the new subscribers to this blog. I hope you enjoy the parrot food photo Troy.

Add ImageImages can be added from 3 sources:

  • From your  computer, or stored on a disk in your computer. From Computer
  • From the web. You will need to locate the image and put in the address of that location. From URL.
  • From images already stored on your blog site, from previously uploaded images. Media Library.

The Process For Adding An Image

Here are the basic steps for adding an image to a post. I am assuming that the text for the post has been drafted and the image is going to be added to a position in the text. I am also working in Visual mode in the editing box

  • The first step would be to find the postion in the post’s text where you would like to place the image.
  • Click on the Add an Image icon from the Upload/Insert options above the toolbar of the editing box. That will display the pop-up window as shown above.
  • Select the option for inserting the image. I chose From Computer and browsed my computer until I found the file and clicked on it to upload it.
  • That places the image in the Media Library, and in there you can edit its properties, such as giving it an Alt text tag, adding a caption, editing any links that the image points to and changing its size and location in the post.
  • When that is done select the Add To Post button to add it to the post.
  • The image should now show in the editing box, and can moved around and have its size changed in there.

I have added at the end of this post, a silent (no audio) video that shows how I added the Sunflower image to this post. The video needs a bit of editing and some of the action appears of  screen, but hopefully you can see the important steps. I guess the next thing I need to do is set up a microphone for recording audio, and get a bit of practice making videos.

View Video Here

Blog Naming Competition Has Ended

Posted by Neville on November 1, 2010 under Blogging, Uncategorized | Comments are off for this article

 

To celebrate the beginning of this new site we invited readers to submit what they thought would be a great acronym, using the letters D O T R I M, that could be used for this website and blog.

Some time was spent searching for a domain name to host this blog, and several options were considered. It seemed that a short and punchy name would be best, but finding such a name, that was not already taken was proving to be tricky.

I mean google had already been taken!

I already have a domain based on my name so that wasn’t an option either.

So I figured that using an acronym for the domain name would be the way to go. But what acroynm? 

The initial focus of this blog is to discuss aspects of blogging, for business, creative or personal purposes.

Next problem was to find an acronym that reflects that focus.

To use as the subtitle for the blog.

Something that would easy to remember and be easy to say?

dotrim.com

(dot rim dot com) 

From the entries a winner has been selected, and they are entitled to

a completely FREE blog,

with their choice of title and topic, to be hosted at this website.

Details have been forwarded to the winner.

If you missed the contest  you can still get your own fully featured Word Press blog at this site.

 Just check the post below for details about and to sign up for a blog at dotrim. Please note the winner’s blog will have all of the features in those described in the announcement.