Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Number of characters
Post: RE: Number of characters

import os import sys cesta_vstup = 'text.txt' cesta_vystup = 'text_out.txt' if not os.path.exists(text_out.txt): print 'vstupni soubor nebyl nalezen!' sys.exit() cti = open(cesta_vstup, 'r'...
ejstik General Coding Help 9 4,172 Jan-11-2018, 07:57 AM
    Thread: Number of characters
Post: RE: Number of characters

It was a bad code, absolutly didnt worked. Please do you know some tutorial on youtube or manual, where i can find how i can choose only int from line? Everywhere are math operations only variables wi...
ejstik General Coding Help 9 4,172 Jan-11-2018, 02:58 AM
    Thread: Number of characters
Post: RE: Number of characters

(Jan-10-2018, 11:45 AM)Larz60+ Wrote: Try to figure this one out. it's pretty simple Its simple if white and black color looks Quote:black = 12 white = 10 I tryed strip(), and its doesnt working ...
ejstik General Coding Help 9 4,172 Jan-11-2018, 02:25 AM
    Thread: Number of characters
Post: RE: Number of characters

Hello, its pretty simple, clear and smart code. Thanks very much And please one thing. if i have in .txt for example: Quote:black 12 white 10 yellow 8 color 15 how can edit this code for result in...
ejstik General Coding Help 9 4,172 Jan-10-2018, 10:40 AM
    Thread: Number of characters
Post: Number of characters

Hello, im begginer in python. I have a problem with cycle. i have text.txt Quote:Text The text denotes any combination of words that together make a statement. Mostly, however, the text is denoted by...
ejstik General Coding Help 9 4,172 Jan-10-2018, 03:51 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020