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,939
» Latest member: goodvicent
» Forum threads: 38,723
» Forum posts: 175,512

Full Statistics

Online Users
There are currently 52 online users.
» 0 Member(s) | 46 Guest(s)
Applebot, Bing, AOL, Google, Mojeek

Latest Threads
NEED HELP, LOST OF INVEST...
Forum: General Coding Help
Last Post: goodvicent
16 minutes ago
» Replies: 0
» Views: 9
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
5 hours ago
» Replies: 11
» Views: 4,009
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Yesterday, 07:55 PM
» Replies: 2
» Views: 516
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Yesterday, 12:30 PM
» Replies: 1
» Views: 3,479
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Yesterday, 11:11 AM
» Replies: 4
» Views: 869
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,353
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,211
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,421
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,393
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,532

 
  Need assistance with this code
Posted by: aka2d7 - Jan-10-2018, 11:37 PM - Forum: General Coding Help - Replies (4)

Hello Gurus,

I need some help with creating a program for a parrot. Here is the information below.

1. Create a program that is a parrot. The pr..... More

Print this item

  XML using xml.etree.ElementTree Question
Posted by: Ngea - Jan-10-2018, 07:20 PM - Forum: General Coding Help - Replies (1)

Please advise me on the following issue. I have 3 sections below: data, Python code, and output. It looks like the event start does not always give ..... More

Print this item

  looping through lists
Posted by: brianl - Jan-10-2018, 05:52 PM - Forum: General Coding Help - Replies (2)

I have just started to learn Python and am going through tutorial. I have the following iteration:
[(x,y,z) for x in [1, 2, 3] for y in [1, 2, 3] fo..... More

Print this item

  csv reader Index out of range
Posted by: mathisp64 - Jan-10-2018, 05:51 PM - Forum: General Coding Help - Replies (4)

I work with large CSV files that often times are too large to open in Excel. I'm trying to write a program that will extract a dozen or so columns fr..... More

Print this item

  Mask superclass __init__
Posted by: fig0 - Jan-10-2018, 04:30 PM - Forum: General Coding Help - Replies (5)

Is there anyway to hide the superclass initialization from the user?

For example:
[python]class BaseClass:
def __init__(self):
self.param..... More

Print this item

  How to make a for loop asynchronous?
Posted by: DevinGP - Jan-10-2018, 03:57 PM - Forum: Web Scraping & Web Development - Replies (2)

Basically I have a BeautifulSoup 4 for loop that scans over all g classes in a website, so it looks like this:
[python]for g in soup.find_all(class_=..... More

Print this item

  Importing files with Pycharm
Posted by: sylas - Jan-10-2018, 02:11 PM - Forum: General Coding Help - Replies (3)

Hi all! I import easily files with Files|open. All of them fall on my screen as ordinary files, but all of them are outside the project. In order to p..... More

Print this item

  Getting error 'geckodriver' executable needs to be in PATH.
Posted by: sumandas89 - Jan-10-2018, 12:52 PM - Forum: Web Scraping & Web Development - Replies (2)

I am executing the following python program, and getting error mentioned "'geckodriver' executable needs to be in PATH. "

[python]from selenium imp..... More

Print this item

  How we can embed a metplotlib graph in tkinter
Posted by: PrashantStd - Jan-10-2018, 12:21 PM - Forum: Data Science - Replies (1)

Actually, i am pasting 2 code segments. The first code segment is generate the graph using matplotlib. while, second segment of code is for the usual ..... More

Print this item

  python largesize(6GB) file upload fails
Posted by: nithya_g - Jan-10-2018, 11:30 AM - Forum: Web Scraping & Web Development - Replies (2)

My device supports only Python2.6.6

As part of automation using python-selenium, I am able to upload small size file and not the large size(6GB - ..... More

Print this item

  Error string indice must integers Json
Posted by: ALEGON - Jan-10-2018, 10:11 AM - Forum: General Coding Help - Replies (8)

I have a problem with my code

response = requests.get("http://www.testecliente.com.br/ApiTeste/GetDadosCartaoCliente?CL_COD=1" )
retorno = respons..... More

Print this item

  Use Function in Tkinter Label
Posted by: bigfatgreedykat - Jan-10-2018, 10:03 AM - Forum: General Coding Help - No Replies

Hi i'm working on improving my code and making it clearer/shorter.

I'm having problems using the function i created. I can use this in Idle on the ..... More

Print this item

  help required to parsing telnet output
Posted by: anna - Jan-10-2018, 08:26 AM - Forum: General Coding Help - Replies (8)

telnet output is as below, want to print vlan (vid) and mac, please suggest changes


Port: 1
index vid mac
----- ---- -----------------
1..... More

Print this item

  Very frightening blog
Posted by: Larz60+ - Jan-10-2018, 05:38 AM - Forum: News and Discussions - Replies (11)

Check this out!
Intel vunerability
https://www.wired.com/story/meltdown-spe...discovery/

Print this item

  Son's new music
Posted by: Larz60+ - Jan-10-2018, 05:34 AM - Forum: Bar - Replies (5)

My son sent me this link.
I think I like this, but have never heard about generatibe music before: https://www.youtube.com/watch?v=kFtqO16GNDE

Print this item

  Number of characters
Posted by: ejstik - Jan-10-2018, 03:51 AM - Forum: General Coding Help - Replies (9)

Hello, im begginer in python. I have a problem with cycle.

i have text.txt
[quote]Text
The text denotes any combination of words that together ma..... More

Print this item

  raw string
Posted by: Skaperen - Jan-10-2018, 02:43 AM - Forum: News and Discussions - Replies (5)

you are writing code (probably a function that can be used in a purpose-designed code generator program) that takes in data from a file and outputs co..... More

Print this item

  How to use python to implement one QA task
Posted by: taiqixp - Jan-10-2018, 12:44 AM - Forum: Web Scraping & Web Development - Replies (2)

I am a beginner and want to have some demo code for me to study.
One assignment I got is :

How to use python to implement the following task
A: ..... More

Print this item

  Hourly action resetter with threading?
Posted by: alex36540 - Jan-09-2018, 11:13 PM - Forum: General Coding Help - Replies (3)

This is some code I have written based off basic knowledge of threading I acquired. What I am trying to do is limit the actions hourly so it doesn't s..... More

Print this item

  Extremely Simple RPG Character File Maker
Posted by: ashtons - Jan-09-2018, 10:46 PM - Forum: Code sharing - No Replies

Hello! I made a simple RPG character file creator.

It asks for a name and 6 attributes (Strength, Agility, Intelligence, Perception, Endurance, and..... More

Print this item

  Python 3.6 to executable
Posted by: DeGerlash - Jan-09-2018, 10:05 PM - Forum: Data Science - Replies (14)

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 t..... More

Print this item

  Mapping Fields
Posted by: zak308 - Jan-09-2018, 10:02 PM - Forum: General Coding Help - No Replies

Hi Team,

I have 6 SQL Cubes in an ETL, each Cube has various dimensions and measures fields. Each cube has a total of 800 parameter/fields.

Thes..... More

Print this item

  Two Decimal Places
Posted by: Fumi - Jan-09-2018, 09:32 PM - Forum: General Coding Help - Replies (3)

Hi there,

I'm just learning python myself.

This is probably going to take someone all of two seconds to answer but I cannot find an easy answer ..... More

Print this item

  need help with solution-checker function
Posted by: hereathome - Jan-09-2018, 08:16 PM - Forum: Data Science - Replies (4)

This is a self-guided exercise from a Python instruction book. The exercise is to design a simple text Tic-Tac-Toe game for two players. OOP has not b..... More

Print this item

  Sup everyone
Posted by: sashaivanyuk - Jan-09-2018, 07:40 PM - Forum: Homework - Replies (1)

Helo everyone! just got a small question: is it possible to install python on a memory stick?
i need this cos' i got to do some program a robot homew..... More

Print this item

  RichTextEditor
Posted by: Axel_Erfurt - Jan-09-2018, 06:56 PM - Forum: Code sharing - Replies (10)

based on the PyQt5 'RichText' example.
I added a lot of features.
(you can also use it as an HTML editor)

..... More

Print this item

  How to make my code work with asyncio?
Posted by: DevinGP - Jan-09-2018, 06:21 PM - Forum: Web Scraping & Web Development - No Replies

Here is my code:

[python]import asyncio
import aiohttp
import urllib
import webbrowser
from bs4 import BeautifulSoup
import re

global link..... More

Print this item

  Private instance variables
Posted by: mepyyeti - Jan-09-2018, 05:59 PM - Forum: Homework - Replies (5)

The following code works, as long as I use primarily public instance variables. When I change my public self.l to its private form self._l, the code..... More

Print this item

  Grocery List Program
Posted by: TFish - Jan-09-2018, 05:53 PM - Forum: General Coding Help - Replies (5)

I am doing a program where you input the amount of people in your family and the ages and Gender and then it asks what do you want to spend on grocery..... More

Print this item

  inheritance
Posted by: Arifattal - Jan-09-2018, 05:40 PM - Forum: General Coding Help - Replies (3)

starting with python here, and can't seem to use the inheritance properly.
I am aiming to use the user input for 'x' inside class first() inside clas..... More

Print this item

  Advanced sorting of a built-in list
Posted by: Whisper40 - Jan-09-2018, 03:51 PM - Forum: Homework - Replies (6)

Hello everyone, I'm new to the python forum and I need help about ending my python program.

My goal is to sort a built-in list by date of birth of th..... More

Print this item

  Error while changing button relief from raised to sunken on left click
Posted by: mgtheboss - Jan-09-2018, 03:23 PM - Forum: GUI - Replies (1)

Hi,

I am trying to change the relief of a button from raised to sunken on left click. The button is created with a standard ttk.Button statement. I..... More

Print this item

  Installing blpapi in two different conda environments
Posted by: snicolaou - Jan-09-2018, 02:12 PM - Forum: General Coding Help - No Replies

Hello,
I want to install blpapi (i.e. the bloomberg python api in two different environments in Anaconda:

conda create –n Env1 python=2.7
conda c..... More

Print this item

  Need Help With Sprite
Posted by: ghost0fkarma - Jan-09-2018, 02:04 PM - Forum: Game Development - Replies (2)

[python]import pygame, random, math
pygame.init()

# Define some colors
BLACK = (0, 0, 0)
WHITE = (255, 255, 255)
GREEN = (0, 255, 0)
RED = (..... More

Print this item

  I Can't Get This Sorting Function In This LinkedList Code To Work
Posted by: JayJayOi - Jan-09-2018, 12:14 PM - Forum: Homework - Replies (10)

Hi everyone, I am new here and the question that I am posting here is part of my School Assignment For Data And Algorithms.

This Is The Question Fo..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  NEED HELP, LOST OF INVEST... 16 minutes ago goodvicent goodvicent General Codin...
  403 Error 5 hours ago CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... Yesterday, 19:55 arbiel arbiel General Codin...
  Scraping a page with log ... Yesterday, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... Yesterday, 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
Most views
  The best Prog... 576370
  Tutorial Requ... 498124
  Web Scraping ... 440273
  Newbie with P... 384143
  New Users Int... 367086
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+ 12089
buran 8175
snippsat 7368
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
goodvicent Today
atylerfraces2254 Today
AdrianCocian Today
humanoidAI Today
Baran12332 Yesterday

User Panel Messages

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