Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Django admin login problem
Post: Django admin login problem

Hey guys . I just started web development using Django framework & after fixing urls and creating models and views I just created a super user in terminal in order to log in within admin panel in ...
erfanakbari1 Web Scraping & Web Development 0 2,023 Dec-29-2019, 12:29 PM
    Thread: Help with List Loops
Post: RE: Help with List Loops

What I recommend you and you need to do is to add some for loops in your while loop . in order to get indivisual items in your list . this code below can probably fix your program , but that's not the...
erfanakbari1 General Coding Help 4 2,681 Nov-24-2019, 10:27 PM
    Thread: Understanding the concept ( Modules , imports )
Post: Understanding the concept ( Modules , imports )

Hey fellas . I've been trying to learn bunch of stuffs about modules and imports in Python , meanwhile I was stopped because of some codes in which I can't quite get the actual concept behind it's mec...
erfanakbari1 General Coding Help 1 2,140 Nov-24-2019, 09:24 PM
    Thread: Write one line of Python
Post: RE: Write one line of Python

(Aug-18-2019, 02:27 PM)ichabod801 Wrote: Look into list comprehensions. foo = [x for x in range(20) if x > 10]The above list comprehension won't solve you problem, but that's the format your sol...
erfanakbari1 Homework 2 2,504 Aug-18-2019, 02:53 PM
    Thread: Write one line of Python
Post: Write one line of Python

Hey guys I have been trying to find a solution or this exercise and I actually did . But the problem is that I can not actually write this program in one line of Python ! I don't know how to do it *...
erfanakbari1 Homework 2 2,504 Aug-18-2019, 02:16 PM
    Thread: Appending To Files Challenge
Post: Appending To Files Challenge

# I Write a program to append the times table for our poem in sample.txt .So , this is all of my code numbers = 1 for i in range(2, 12): while 13 >= numbers > 0: multiply = numbers ...
erfanakbari1 Homework 3 2,872 Mar-26-2019, 06:17 PM
    Thread: Return not vowels list
Post: Return not vowels list

Hey there ! Since today , I've been trying to write a program doing this thing below : ''' Create a program that takes some text and returns a list of all the characters in the text that are not vowe...
erfanakbari1 Homework 2 2,651 Mar-26-2019, 08:48 AM
    Thread: Methods that return the highest score from the list
Post: RE: Methods that return the highest score from the...

(Mar-24-2019, 11:20 PM)Larz60+ Wrote: It's all one program. It's fine if not combined into a class, but the rules are a bit different. Things have to defined before being used. The gamePlayersList e...
erfanakbari1 Homework 7 7,056 Mar-25-2019, 10:51 AM
    Thread: Methods that return the highest score from the list
Post: RE: Methods that return the highest score from the...

(Mar-24-2019, 06:47 PM)Larz60+ Wrote: you will need to supply gamePlayersList assuming it is indeed a list, somewhere early on in your script add: gamePlayersList = ['value1', 'value2', ...] repla...
erfanakbari1 Homework 7 7,056 Mar-24-2019, 09:28 PM
    Thread: Methods that return the highest score from the list
Post: RE: Methods that return the highest score from the...

(Mar-24-2019, 04:30 PM)Larz60+ Wrote: I get the following error (FYI: Please always post errors as below, in error tags, complete, unaltered) Error: Traceback (most recent call last): File ".../Proj...
erfanakbari1 Homework 7 7,056 Mar-24-2019, 05:18 PM
    Thread: Methods that return the highest score from the list
Post: Methods that return the highest score from the lis...

Hello guys ! I just got an exercise to do and I wrote some code for this task but unfortunately I'm facing some errors ! The task is : # to write methods that return the highest score from the list, t...
erfanakbari1 Homework 7 7,056 Mar-24-2019, 02:49 PM
    Thread: failed in initialization .gitignore
Post: failed in initialization .gitignore

Hey guys ! It's been a while since I just started working on some projects in Django framework and after creating projects and activate virtual environment and runserver , I don't know how to add .git...
erfanakbari1 Web Scraping & Web Development 2 2,254 Mar-23-2019, 08:52 AM
    Thread: Django Connection Error
Post: Django Connection Error

Hey guys! I just got into start a new Django Project and I quite completely set all the things up include : Django , venv , and amlost everything . But now when I try to test my project , I can't actu...
erfanakbari1 Web Scraping & Web Development 1 2,546 Mar-21-2019, 06:17 AM
    Thread: List Overlap Trouble
Post: List Overlap Trouble

Hey Guys! I am given an exercise to solve . Its about list overlap and random generating of lists and to return a list that contains only the elements that are common between the lists . I am done wit...
erfanakbari1 Homework 1 2,065 Mar-18-2019, 12:47 PM
    Thread: Decision statement problems
Post: Decision statement problems

Hey guys , I'm trying to solve some exercises about digits and string and whole decision statement and I don't know actually how to check whether a input that is been taken by user consists digits or ...
erfanakbari1 Homework 2 2,291 Mar-04-2019, 07:10 PM
    Thread: Dictionaries in Python
Post: Dictionaries in Python

Hello guys , I was just trying to write some codes to run Dictionary exercises then I found myself stuck in trouble writing some parts of code . # Add two dictionary and assign it to dict3 Display th...
erfanakbari1 Homework 1 2,108 Mar-02-2019, 05:27 PM
    Thread: Help with dictionaries
Post: Help with dictionaries

Hey buddies , I just tried to work with Dictionaries in Python but I got stuck in trouble with it . # choose any name for the dictionary dictShopping = {'soap': '10' , 'bread': '5' , 'shampoo': '8'} d...
erfanakbari1 Homework 2 2,037 Feb-28-2019, 07:48 AM
    Thread: Trouble in lists
Post: Trouble in lists

Hey guys , I'm a beginner at Python & I have taken a python course in which i am given some exercises to solve . unfortunately working with strings and lists made me confused so that I don't know ...
erfanakbari1 Homework 2 2,285 Feb-25-2019, 11:20 AM
    Thread: Problem with a basic if challenge
Post: RE: Problem with a basic if challenge

(Oct-11-2018, 05:48 PM)j.crater Wrote: Hello, the error message is pointing at a slightly "unfortunate" position, but you are mising a right parenthesis on line 2.Wow , thanks that was right **smil...
erfanakbari1 Homework 2 1,938 Oct-12-2018, 08:04 AM
    Thread: Problem with a basic if challenge
Post: Problem with a basic if challenge

Hey guys , I have been programming to complete this basic challenge and I'm facing an error . i don't know what i have to do in this . I'm thankful if you could help me . This is my programme : name ...
erfanakbari1 Homework 2 1,938 Oct-11-2018, 05:22 PM

User Panel Messages

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