Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Python 3.6 to executable
Post: RE: Python 3.6 to executable

Thanks, so I did the PATH thing, but now it goes (in cmd): C:\Users\Adriaan>cd C:\Users\Adriaan\AppData\Local\Programs\Thonny C:\Users\Adriaan\AppData\Local\Programs\Thonny>pip Usage: pip &l...
DeGerlash Data Science 14 17,577 Jan-16-2018, 01:49 PM
    Thread: Python 3.6 to executable
Post: RE: Python 3.6 to executable

It gives me this: C:\>python Python 3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 17:54:52) [MSC v.1900 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>...
DeGerlash Data Science 14 17,577 Jan-15-2018, 10:24 PM
    Thread: Python 3.6 to executable
Post: RE: Python 3.6 to executable

I now do: C:\Users\Adriaan>cd C:\ C:\>python -m venv qustion_env # #At this point it opens a window that says: python doesn't work properly anymore, it's #shutting down, after wich te following ...
DeGerlash Data Science 14 17,577 Jan-15-2018, 10:10 PM
    Thread: Python 3.6 to executable
Post: RE: Python 3.6 to executable

It still doesn't work, just closes like before. Your way over doesn't seem to work as well, but I'm sure I'm doing something wrong. It says I have perfect pyinstaller and pypiwin32 on my pc!
DeGerlash Data Science 14 17,577 Jan-12-2018, 01:41 PM
    Thread: Python 3.6 to executable
Post: RE: Python 3.6 to executable

So I need to run all that in cmd? I'm sorry I don't really understand, my English is not so good...
DeGerlash Data Science 14 17,577 Jan-10-2018, 09:11 PM
    Thread: Python 3.6 to executable
Post: RE: Python 3.6 to executable

Could you explain more in detail how I should do that then? Here's the python code: from time import time import random key=input("Press any key and then enter to start ... ") while key!="": alph...
DeGerlash Data Science 14 17,577 Jan-10-2018, 05:27 PM
    Thread: No output in 'english word generator'
Post: RE: No output in 'english word generator'

Well yeah that would've solved it I guess, but it just turned out to be a problem of the order in which my program ran. I've got it all figured out now. Thanks for the reply though :) if you want I ca...
DeGerlash Homework 14 6,435 Jan-10-2018, 10:21 AM
    Thread: Python 3.6 to executable
Post: RE: Python 3.6 to executable

Yes, I figured that solution and put it in my code, the program should always wait for the user to close it, that's how I coded it. And yes, I do understand that a .exe file would be the easiest way ...
DeGerlash Data Science 14 17,577 Jan-10-2018, 08:40 AM
    Thread: Python 3.6 to executable
Post: Python 3.6 to executable

Hi everyone I've been coding a program for a friend that I would like that friend to be able to use smoothly. I thus should be able to convert it to an executable. This, I am able to do using pyinsta...
DeGerlash Data Science 14 17,577 Jan-09-2018, 10:05 PM
    Thread: Overwrite last printed line
Post: RE: Overwrite last printed line

But in cmd, my program shuts down the minute it's done. How do I stop this? Without using time.sleep(10), as I am unable to do anything then.
DeGerlash Homework 9 7,893 Jan-07-2018, 04:20 PM
    Thread: Overwrite last printed line
Post: RE: Overwrite last printed line

I'm so sorry but i can't seem to fix the last code :D what do I need to put where?
DeGerlash Homework 9 7,893 Jan-07-2018, 11:38 AM
    Thread: Overwrite last printed line
Post: Overwrite last printed line

Hi everyone, I'm quite new to Python programming, which is why this thread is located in the Homework section: it's not because of a teacher that I'm restricted in my use of syntax, it's because of m...
DeGerlash Homework 9 7,893 Jan-07-2018, 10:59 AM
    Thread: No output in 'english word generator'
Post: RE: No output in 'english word generator'

Thanks a lot, I don't get the error anymore now. I now don't manage to get any word out of the generator though? I'm sorry, but I really think it should be isValid(word) though. If it were 'wordtype...
DeGerlash Homework 14 6,435 Jan-06-2018, 07:36 PM
    Thread: No output in 'english word generator'
Post: RE: No output in 'english word generator'

I fixed a lot of bugs now, but I'm stuck again with something I don't understand. Here's the failing code: import random alphabet=["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q",...
DeGerlash Homework 14 6,435 Jan-06-2018, 07:32 PM
    Thread: No output in 'english word generator'
Post: RE: No output in 'english word generator'

This seems to work too, is it correct? def isValid(word): file = open("AllEnglishWords.txt", "r") if word in file.read(): return True else: return False print(isValid("\n"...
DeGerlash Homework 14 6,435 Jan-06-2018, 05:30 PM
    Thread: No output in 'english word generator'
Post: RE: No output in 'english word generator'

Wow I didn't know that was all done already. Great! I'm trying to get better though. At this instance, after some research, I've managed to change my isValid() function to: def isValid(word): file...
DeGerlash Homework 14 6,435 Jan-06-2018, 03:56 PM
    Thread: No output in 'english word generator'
Post: RE: No output in 'english word generator'

Yeah I know but as I said, my indents didn't come trough, I'm trying to edit it into Python tags for the post, but I can't find where to edit it anymore. Anyway, the problem has moved on: my python co...
DeGerlash Homework 14 6,435 Jan-06-2018, 03:38 PM
    Thread: No output in 'english word generator'
Post: No output in 'english word generator'

Hi everyone I'm quite new to python, only been doing it for a semester now, so I don't really now quite a lot of syntax, in fact, the syntax I use in the program of our interest today, may well be th...
DeGerlash Homework 14 6,435 Jan-06-2018, 02:58 PM

User Panel Messages

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