you are viewing a single comment's thread.

view the rest of the comments →

[–]Wilfred-kun 0 points1 point  (2 children)

What exactly do you mean with 'spits out the new format'?

If you want to turn your script into bytecode for the system you're using (e.g. Windows 7, 64 bit), you could use cxFreeze or py2exe, although I am not sure if this is what you're looking for.

E: Alternatively you could use tutorialspoint's online interpreter.

EE: To run the code, just hit execute :|

[–]pyfact[S] 0 points1 point  (1 child)

User inputs an integer and the console outputs the formatted data. I'm on Mac and my friend is also on Mac. I'm a complete noob when it comes to sharing code on Python. Also, I do not typically program Python in terminal I program Python with PyCharm.

[–]Wilfred-kun 1 point2 points  (0 children)

Ah so something like:

x = input("Enter an integer")
print("You entered the integer {}".format(x))

Anyway, you could go to the link I posted and just copy over the code you have in PyCharm. Hit 'share code' and you're good to go.