How do I print all my results on one line with the spaces

<>

This question already has an answer here:

Answers


Build a string instead of printing one character at a time:

result = ''
for charc in text:
    if charc != " " :
        charc = ord(charc)
        charc = (charc - 97) + key
        charc = (charc % 26)
        charc = charc + 97
        charc = chr(charc)
    result += charc
print result

Need Your Help

Python ssh - keep connection open after script terminates

python linux ssh paramiko

I'm trying to write a script that will ssh into a box for me. I'm using Python and leveraging the paramiko library. I can successfully ssh on the box, but as soon as the script terminates, the ssh

Lightweight 3D Graphics Engine .NET (Compact and Full Framework)

c# 3d-engine

I am creating a GUI for a machine that runs remote (WinXP) or on the machine itself (Windows CE 6.0).

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.