Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,268
» Latest member: zaloganteaxd3586
» Forum threads: 38,788
» Forum posts: 175,856

Full Statistics

Online Users
There are currently 33 online users.
» 0 Member(s) | 30 Guest(s)
Mojeek, Google

Latest Threads
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: Tuurbo46
32 minutes ago
» Replies: 2
» Views: 90
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
52 minutes ago
» Replies: 2
» Views: 90
i need help pls
Forum: Game Development
Last Post: zaloganteaxd3586
2 hours ago
» Replies: 3
» Views: 6,903
Access keys and values fr...
Forum: General Coding Help
Last Post: buran
Yesterday, 07:01 PM
» Replies: 3
» Views: 102
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 137
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 336
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 58
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 90
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 323
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 178

 
  AttributeError: 'NoneType' object has no attribute 'get'
Posted by: BoaCoder3 - Feb-03-2018, 03:02 PM - Forum: General Coding Help - Replies (2)

Here's the program:

[python]
# !/usr/bin/python 3.5.2
# -*- coding: UTF-8 -*-

from tkinter import *
import math


class frame(Frame):

def __in..... More

Print this item

  how to make chatbots ?
Posted by: aviral - Feb-03-2018, 12:16 PM - Forum: General Coding Help - Replies (1)

i am new to python programming.
and i want to make a good chat bot.
i have basic knowledge of C and java programming.
Can you please suggest me som..... More

Print this item

  Mastermind game
Posted by: Staren - Feb-03-2018, 11:39 AM - Forum: Homework - Replies (6)

Hello there,
I have to do a sort-of mastermind game, where you have to guess the numbers in an array.
I have no particular problem except when it com..... More

Print this item

  Problem with a homework
Posted by: Samuelcu - Feb-03-2018, 10:12 AM - Forum: Homework - Replies (2)

Hello,

I am trying to create a program which reads a number N>=2 and creates a list. Then it fills the list with numbers and finds the average of t..... More

Print this item

  I writte 5 functions (def) but on 6 don't work. Someone can help me?
Posted by: perrud - Feb-03-2018, 09:36 AM - Forum: General Coding Help - Replies (2)

So I'm learning to program and started with python. I'm training doing a simple rpg game.
Almost all functions use if-else. But one of them does not ..... More

Print this item

  simple counter
Posted by: mcmxl22 - Feb-03-2018, 09:27 AM - Forum: General Coding Help - Replies (13)

I am trying to make a simple counter that starts at 1 and increments by 1 indefinitely.
I have tried for-loops but I get [inline]int object not itera..... More

Print this item

  language feature i'd like to have
Posted by: Skaperen - Feb-03-2018, 08:15 AM - Forum: News and Discussions - Replies (5)

ages ago i wrote a macro system for IBM mainframe S/360 S/370 assembler language. one of its features was if you wanted to do a comparison for either..... More

Print this item

  Socket Program Challenging issue, please help
Posted by: ragursr - Feb-03-2018, 07:56 AM - Forum: Bar - No Replies

Dear Experts

Hope all doing Good

facing a challenging problem in my C socket Program, Please help in this regard.
Am writing a server Socket P..... More

Print this item

  How Can I Do Refresh Window?
Posted by: satrancali - Feb-03-2018, 07:50 AM - Forum: GUI - No Replies

I am getting some information a website contain the foreign currency and so I must refresh the program every 2-3 seconds HowCan I do it
[python]
cl..... More

Print this item

  http/https client
Posted by: Skaperen - Feb-03-2018, 07:06 AM - Forum: Bar - No Replies

i am looking for an easy to use Linux CLI text client that allows me to easily specify an IP address and port to connect to in lieu of using info from..... More

Print this item

  a fun(ny) program i want to make
Posted by: Skaperen - Feb-03-2018, 04:21 AM - Forum: Bar - Replies (2)

i tested this and it is possible to make a Python script be an interpreter of another script on the other script's #! line. so what i think i want to..... More

Print this item

  Is there a max value for threading.Timer function?
Posted by: whookie - Feb-02-2018, 11:12 PM - Forum: General Coding Help - Replies (1)

I was trying to pass 7 days in seconds to the threading.Timer() function, since threading.Timer() takes seconds as a duration.
That makes about 60500..... More

Print this item

  matplotlib change graph size
Posted by: kiyoshi7 - Feb-02-2018, 10:42 PM - Forum: General Coding Help - No Replies

hi, I'm trying to figure out how to change the size of the graph that matplotlib is giving me, but I cant quite figure out how. I want to add some GUI..... More

Print this item

  Learning Milestone
Posted by: karaokelove - Feb-02-2018, 10:04 PM - Forum: Bar - Replies (2)

Hey all, just wanted to share my excitement at crossing a major milestone with my Python education! I officially edited a Python module to fix an issu..... More

Print this item

  Beginner trying to run simple code
Posted by: joebone - Feb-02-2018, 09:06 PM - Forum: General Coding Help - Replies (6)

headline ... How do i run this code

I read the thread
[Basic] How to execute python code

although helpful.. im still not sure how i run this?
..... More

Print this item

  Designing Hangman game
Posted by: spacetimeguy - Feb-02-2018, 08:29 PM - Forum: General Coding Help - Replies (2)

Hello all,

First time posting ever on a forum for help. I recently got back into coding (some minor courses in high school) and started with Python..... More

Print this item

  pivot error
Posted by: shyamdba - Feb-02-2018, 07:46 PM - Forum: General Coding Help - Replies (1)

[python]
df2 = pd.DataFrame({'id_user':[1,2,3,4,4,5,5], 'cust_user':[11,22,33,44,44,55,55],
'information':['phon','phon','phone','phone1','phone','p..... More

Print this item

  Algrbra Package
Posted by: kmcollins - Feb-02-2018, 07:42 PM - Forum: Code sharing - Replies (23)

#I'm working on an algebra package for Python. It includes a LinearRelationship class where every instance is
#a function of the general form y = m..... More

Print this item

  Looping through input and using type / isintance to classify it
Posted by: fad3r - Feb-02-2018, 07:06 PM - Forum: Homework - Replies (7)

Hi again everyone,
Here is the current problem I am working on.

I have a list of random input:
mixed_list = ['asdf', 33, 'qwerty', 123.45, 890, ..... More

Print this item

  setting correct path for P2 after uninstalling Py 3
Posted by: kwfreverie - Feb-02-2018, 06:50 PM - Forum: General Coding Help - Replies (3)

I installed Python 3.7 recently but discovered a script I can use which runs on Python 2.7. I read through several sets of instructions on how to run..... More

Print this item

  Trying to figure how to continue my numbering for my "file 1:"
Posted by: chavez814 - Feb-02-2018, 06:40 PM - Forum: General Coding Help - Replies (3)

def main():

import os
import arcpy
arcpy.env.workspace = "I:\\GEO5419_Python\\Lab2"
path = r"I:\GEO5419_Python\Lab2"
fc..... More

Print this item

  Display options - screen
Posted by: tcpip - Feb-02-2018, 06:35 PM - Forum: General Coding Help - Replies (2)

Hi all,

I need help to create a script that will open a terminal screen with command options.

Example.
1) execute script.py

This will open i..... More

Print this item

  Relative import multiple levels ?
Posted by: Windspar - Feb-02-2018, 06:14 PM - Forum: General Coding Help - Replies (3)

packages
- gradient
-- hsl_by_value.py
- objects
-- styles
--- box_style.py

How would I do? Like to do it with relative imports.
box_style.py..... More

Print this item

  Should it be pivot or unstack for this sample
Posted by: shyamdba - Feb-02-2018, 05:50 PM - Forum: General Coding Help - No Replies

I am very new to python . should I be using the pivot or unstack to get the expected output. Any sample code is appreciated.
Sample Input is
=====..... More

Print this item

  Login with using class
Posted by: captainflint - Feb-02-2018, 05:28 PM - Forum: Homework - Replies (4)

[python]users={"meryem":"4444","ahmet":"sehir123","gakkos":"2323"}
login=raw_input("Username: ")
inventory = {'asparagus': [10, 5], 'broccoli': [15,..... More

Print this item

  Randow DataFrame
Posted by: ArnaudCoulon - Feb-02-2018, 04:59 PM - Forum: Data Science - Replies (1)

Hey guys !

I was trying to make a 4*54 random numbers DataFrame. I spent 1 hour trying to figure out how to do it and I wrote this code :
[python]..... More

Print this item

  Using print with calculation
Posted by: Rolflund - Feb-02-2018, 10:38 AM - Forum: Data Science - Replies (4)

Hey guys.

I'm pretty new to Python but not to statistics and general programming. I have a very specific problem that I can't seem to be able to so..... More

Print this item

  AttributeError: 'NoneType' object has no attribute error
Posted by: vk7 - Feb-02-2018, 08:22 AM - Forum: Web Scraping & Web Development - Replies (1)

I am writing a python script for scrapping weather of different city from weather-forecast website. I got an AttributeError in my code and i am unable..... More

Print this item

  calling a class multiple times
Posted by: GOB - Feb-02-2018, 04:28 AM - Forum: General Coding Help - Replies (2)

Hello,

I am trying to make a loop that calls a class multiple times. It is to write text on an LED screen, and the text changes after each loop.

The..... More

Print this item

  News you can't (or perhaps you can) live without
Posted by: Larz60+ - Feb-02-2018, 04:16 AM - Forum: News and Discussions - No Replies

Last month, the 50th Known Mersenne Prime was found Found.
It contained 23,249,425 digits, and you can learn about it here: https://www.mersenne.org/..... More

Print this item

  byte string
Posted by: Skaperen - Feb-02-2018, 03:03 AM - Forum: General Coding Help - Replies (5)

i can do x=b'foo' then [y for y in x] gives me [102, 111, 111]. how can i reverse that so [inline]..... More

Print this item

  This project a little over my head, would love some help.
Posted by: michoff - Feb-02-2018, 03:00 AM - Forum: Homework - Replies (3)

Hello,

I have the following data:

CONST robtarget robttarget1:=[[-42277.480909368,-4997.36320197,2332.380745999],[0.347787091,-0.799426288,0.217080..... More

Print this item

  how to print out all the link <a> under each h2 section using beautifulsoup
Posted by: HenryJ - Feb-02-2018, 02:43 AM - Forum: Web Scraping & Web Development - Replies (2)

Hi all,

I am a newbie on Python, forgive me if my question sounds silly. So I am trying to print out all the <a> url under each h2 section.
The ht..... More

Print this item

  New to Python
Posted by: scarcefox8888 - Feb-02-2018, 01:30 AM - Forum: News and Discussions - Replies (1)

I'm new to Python, this Forum, and... coding in general.

What is the best version for python on a windows 10?
Do I need a syntax editor or any oth..... More

Print this item

  receive from a generator, send to a generator
Posted by: Skaperen - Feb-02-2018, 01:06 AM - Forum: General Coding Help - Replies (9)

i can receive a stream from some generator like:

    for thing in some_generator():
        ...
is there some equivalent..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Graph Interpolate Difficu... 32 minutes ago Tuurbo46 Tuurbo46 General Codin...
  PermissionError: [Errno 1... 52 minutes ago Tuurbo46 Tuurbo46 GUI
  [PyGame] i need help pls 2 hours ago augusto_A zaloganteaxd3586 Game Developm...
  Access keys and values fr... Yesterday, 19:01 Winfried buran General Codin...
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
  sorting a lisr of file pa... 11-15, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... 11-14, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 15:33 pbkurd Larz60+ General Codin...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
Most views
  The best Prog... 579048
  Tutorial Requ... 511059
  Web Scraping ... 442048
  Newbie with P... 386098
  New Users Int... 378265
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12108
buran 8196
snippsat 7389
deanhystad 6913
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
zaloganteaxd3586 Today
ViktoriaMetodieva Today
tlandr02 Yesterday
Rerus3700 Yesterday
pas88 Yesterday

User Panel Messages

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