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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,937
» Latest member: atylerfraces2254
» Forum threads: 38,721
» Forum posts: 175,507

Full Statistics

Online Users
There are currently 55 online users.
» 1 Member(s) | 47 Guest(s)
Google, AOL, AOL, Applebot, Facebook, snippsat

Latest Threads
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 04:28 PM
» Replies: 11
» Views: 4,190
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 657
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Sep-19-2025, 12:30 PM
» Replies: 1
» Views: 3,564
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 989
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,499
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,328
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,532
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,493
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,642
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 1,206

 
  wx.html2
Posted by: ian - Feb-04-2018, 03:06 AM - Forum: GUI - Replies (1)

I use wx.html2 as browser in my python 3.6.2 script working ok. But when I browse a Yahoo Finance website, it says the component is not supported by t..... More

Print this item

  which is a better test?
Posted by: Skaperen - Feb-04-2018, 02:52 AM - Forum: General Coding Help - Replies (12)

which is a better test where the variable named word is always a string with a length greater than zero?

case 1[python] if word[0] in ('w','x','..... More

Print this item

  Very beginner needs help
Posted by: bostltch - Feb-03-2018, 10:54 PM - Forum: General Coding Help - Replies (3)

Hello! I've just, and I mean *just*, started playing with python using pycharm and I've run into a problem while trying to follow a video tutorial on ..... More

Print this item

  Dice Roller
Posted by: mcmxl22 - Feb-03-2018, 09:19 PM - Forum: Code sharing - Replies (4)

[python]import random


def dice():
sides = [1, 2, 3, 4, 5, 6]
rollDice = input('roll? ')

if rollDice == 'y':
i = random..... More

Print this item

  Python 2.7 RAW sockets: missing and wrong fields in ARP header
Posted by: gold604 - Feb-03-2018, 07:08 PM - Forum: Networking - Replies (1)

Hello, at the beggining I would like to say that I didn't have any experiences with sockets earlier. I am trying to create response ARP packet in pyth..... More

Print this item

  Working with turtle graphics in python and colour slices of a pie graph...
Posted by: netrate - Feb-03-2018, 07:04 PM - Forum: General Coding Help - Replies (1)

I am just wondering how I would go about colouring in individual slices of a pie graph in turtle graphics. I can create the individual slices, but I a..... More

Print this item

  'list' object has no attribute 'plot' problem
Posted by: BaartCM - Feb-03-2018, 06:42 PM - Forum: GUI - Replies (2)

Hi,

Forgive me if this post is in the wrong place. The code uses tkinter GUI with several plots on seperate note tabs, hence Ive posted it in GUI
..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  403 Error Yesterday, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  Scraping a page with log ... 09-19, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576442
  Tutorial Requ... 498266
  Web Scraping ... 440344
  Newbie with P... 384225
  New Users Int... 367286
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12087
buran 8175
snippsat 7368
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
atylerfraces2254 Yesterday
AdrianCocian Yesterday
humanoidAI Yesterday
Baran12332 09-19
Hershien 09-19

User Panel Messages

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