Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Flask not running python interpreter from virtual env
Post: Flask not running python interpreter from virtual ...

Hi, I started learning Flask development on Windows 10. After a bug crept in I noticed that the debugger was showing that files were coming from the global interpreter folder and not from the virtu...
Charles1 Web Scraping & Web Development 1 2,231 Nov-22-2019, 02:35 PM
    Thread: Running flask run produces error.
Post: Running flask run produces error.

Hi, I'm following a tutorial on Flask development on Windows 10. I installed virtual environment and install flask. Then I exported this: FLASK_ENV=development FLASK_APP=main.py Then while in virtu...
Charles1 Web Scraping & Web Development 1 4,028 Oct-04-2019, 10:06 AM
    Thread: Scoped variables.
Post: Scoped variables.

Hi, I'm trying out the code below but need help in understanding why the it's printing 3 3 3 rather than 1 2 3. list_of_printers = [] for i in [1, 2, 3]: def printer(): print(i) lis...
Charles1 General Coding Help 1 1,253 Aug-04-2019, 08:39 AM
    Thread: Do objects get their own copy of the class methods?
Post: Do objects get their own copy of the class methods...

Hi, Platform: Windows 10 Python version: 3.7 I came across a video on YouTube which suggested that objects in Python get their own copies of the class methods. If this is true then programs in Py...
Charles1 General Coding Help 1 2,058 Feb-02-2019, 03:16 PM
    Thread: Need help with itertools.islice()
Post: RE: Need help with itertools.islice()

Thanks. Missed the two argument declaration.
Charles1 General Coding Help 2 2,788 Sep-19-2018, 10:32 AM
    Thread: Need help with itertools.islice()
Post: Need help with itertools.islice()

Hi, I recently came across this function but can't make sense of the arguments. The documentation gives the declaration as below and examples. https://docs.python.org/2/library/iterto...ols.islice i...
Charles1 General Coding Help 2 2,788 Sep-19-2018, 10:03 AM

User Panel Messages

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