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,993
» Latest member: lauren557
» Forum threads: 38,736
» Forum posts: 175,588

Full Statistics

Online Users
There are currently 35 online users.
» 0 Member(s) | 30 Guest(s)
Bing, Google, Applebot

Latest Threads
Another app idea - intera...
Forum: News and Discussions
Last Post: Biks
11 hours ago
» Replies: 1
» Views: 1,819
My goal to be hired worki...
Forum: News and Discussions
Last Post: Biks
11 hours ago
» Replies: 3
» Views: 1,116
real community
Forum: News and Discussions
Last Post: Biks
11 hours ago
» Replies: 4
» Views: 3,068
print does not open conso...
Forum: General Coding Help
Last Post: Tycho_2025
Today, 08:52 AM
» Replies: 5
» Views: 182
create ocr to detect lice...
Forum: General Coding Help
Last Post: Pedroski55
Today, 06:18 AM
» Replies: 4
» Views: 149
Weird failure in Selenium
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 08:57 AM
» Replies: 1
» Views: 97
Fred Economic Data API
Forum: Web Scraping & Web Development
Last Post: Trickety
Oct-02-2025, 03:05 PM
» Replies: 3
» Views: 2,558
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: noisefloor
Oct-02-2025, 01:56 PM
» Replies: 6
» Views: 255
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Oct-01-2025, 03:05 AM
» Replies: 4
» Views: 2,068
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 485

 
  Getting Cells from the Sheets "automate the boring stuff"
Posted by: Shafla - Sep-23-2019, 08:28 PM - Forum: General Coding Help - Replies (8)

I am working through the exel chapter of Automate the Boring Stuff. I am typing exactly as the book is telling me on page 268 and getting an error mes..... More

Print this item

  Client OS username
Posted by: ImPyBoy17 - Sep-23-2019, 06:01 PM - Forum: General Coding Help - Replies (5)

Hi All,
I have a flask application, would like to fetch the OS username by default for creating a registration portal. I don’t want the users to provi..... More

Print this item

  How can I make music with python/pygame?
Posted by: xBlackHeartx - Sep-23-2019, 05:20 PM - Forum: Game Development - Replies (12)

I'm almost done with my degree, and now I'm teaching myself pygame. I was amazed when I discovered the pygame.image module which allows one to load an..... More

Print this item

  Viewers Bot for Specific URL
Posted by: Peanut87 - Sep-23-2019, 04:29 PM - Forum: Web Scraping & Web Development - Replies (2)

I'm pretty new to coding and self-teaching. I've been trying to create a viewers bot that will take usernames + passwords from a text file and login t..... More

Print this item

  Unable to read update access DB
Posted by: saaketh - Sep-23-2019, 03:52 PM - Forum: General Coding Help - Replies (1)

Access DB - Table Name - EMPTBL

Coloumns Names
Sal(with Values),cca(No Values),Hra(No Values),NS(No Values),GS(No Values)

I want to calculate C..... More

Print this item

  ValueError: substring not found
Posted by: hoangthai10788 - Sep-23-2019, 03:33 PM - Forum: General Coding Help - Replies (2)

Hello,

I encountered this issue when self-learning Python. Could anyone give me a full explanation what is happening here? Any help would be great..... More

Print this item

  Where did this dictionary come from?
Posted by: Mark17 - Sep-23-2019, 03:30 PM - Forum: General Coding Help - Replies (4)

Please help me understand where this output comes from when I input just the enter key:

{33: None, 34: None, 35: None, 36: None, 37: None, 38: No..... More

Print this item

  Error name 'A' not defined
Posted by: RavCOder - Sep-23-2019, 02:29 PM - Forum: General Coding Help - Replies (3)

Hi,
I have this error in my code
[b]Traceback (most recent call last) :
File main.py,line 10 , in <module>
nucleotide = [A,C,G,T]
Error name 'A'..... More

Print this item

  How to change value in a nested dictionary?
Posted by: nzcan - Sep-23-2019, 02:21 PM - Forum: General Coding Help - Replies (2)

[font=Verdana, Geneva, sans-serif]I have a dictionary whose keys are strings and the values are other, nested dictionaries.
The values ( nested dict..... More

Print this item

  Problem with Tiles and Mobs
Posted by: Piethon - Sep-23-2019, 02:12 PM - Forum: Game Development - Replies (4)

Hello.

I am programming a tile based game with pygame.
I am loading different objects, like trees, walls, houses etc. on the surface.
For that, I am..... More

Print this item

  Websocket server not async?
Posted by: korenron - Sep-23-2019, 01:37 PM - Forum: Networking - No Replies

Hello ,
I have a wroking websocket server that my application connected to him and send data to the server.
my problem is that sometime the APP send..... More

Print this item

  Why can package names differ from module name?
Posted by: PlanB - Sep-23-2019, 12:17 PM - Forum: News and Discussions - Replies (3)

I am new to Python/Django, so maybe I do get something terribly wrong.

I was handed a project without complete requirements.txt and needed to insta..... More

Print this item

  Unable to execute the for loop
Posted by: harold - Sep-23-2019, 12:08 PM - Forum: General Coding Help - Replies (1)

Hi Guys

I have got a set of table(FruitsTable, B2:E5) from excel and would like to the font color to be red for column B if quantity is > 6500 via ..... More

Print this item

  list of lists iterate only sends the last value
Posted by: batchenr - Sep-23-2019, 11:29 AM - Forum: General Coding Help - Replies (1)

Hey, im new to python.

Im using python3 with raspberrypi3 and GPIO. i have this code which supposed to iterate on list of lists :

#json file goes to..... More

Print this item

  Animate graph nodes inside a function
Posted by: adamG - Sep-23-2019, 11:18 AM - Forum: General Coding Help - No Replies

I have written the following code in Jupyter notebook to animate the colours of the graph nodes.

[python]%matplotlib notebook

import networkx as..... More

Print this item

  Working alongside a video, not getting the same result.
Posted by: celtickodiak - Sep-23-2019, 11:07 AM - Forum: Homework - Replies (2)

I am working alongside a video for my class, and they have a code on screen that I put into Pycharm, and it is telling me the word is not defined. Thi..... More

Print this item

  Data Visulization
Posted by: srikanthpdpl - Sep-23-2019, 10:39 AM - Forum: Data Science - No Replies

Here is my code

[python]
import pandas as pd
import numpy as np
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt

# ..... More

Print this item

  How to subclass charts in openpyxl
Posted by: Alfalfa - Sep-23-2019, 02:03 AM - Forum: Data Science - Replies (2)

I need to make a subclass of ScatterChart from the openpyxl module. When the chart is created directly from "openpyxl.chart.ScatterChart()", it works ..... More

Print this item

  What have I done wrong?
Posted by: Gandalf - Sep-23-2019, 01:22 AM - Forum: General Coding Help - Replies (4)

So I am new to learning Phyton and I don't know what I did wrong here, I would appreciate it if you could help me and also if you could simplify your ..... More

Print this item

  How do I read the HTML files in a directory and write the content into a CSV file?
Posted by: glittergirl - Sep-23-2019, 01:21 AM - Forum: General Coding Help - Replies (1)

I am trying to read all the HTML files in a directory and write them into a CSV file. Each row in the CSV file will contain the contents of one HTML f..... More

Print this item

  In Visual Studio Python is not properly installed
Posted by: jalea148 - Sep-22-2019, 11:31 PM - Forum: General Coding Help - Replies (4)

ScREEn Shot

Print this item

  Selenium error with ebdriver (geckodriver)
Posted by: Martinelli - Sep-22-2019, 09:34 PM - Forum: Web Scraping & Web Development - Replies (4)

Hi, All!

I am using this code:

Quote:from selenium import webdriver
nav = webdriver.Firefox()

But, I am getting the following e..... More

Print this item

  Consolidating code
Posted by: jhartc - Sep-22-2019, 08:40 PM - Forum: Data Science - No Replies

I have the following code:


[python]
# Load the Pandas libraries with alias 'pd'
import pandas as pd
import numpy as np
# Read data from file 'file..... More

Print this item

  Multiple start of script
Posted by: dev1755 - Sep-22-2019, 07:43 PM - Forum: General Coding Help - Replies (2)

I am trying to speed-up one simple search task using all cores of my server cpus. I have simple task search one simple string inside huge text datafil..... More

Print this item

  int is not iterable
Posted by: qerrrr - Sep-22-2019, 07:43 PM - Forum: General Coding Help - Replies (1)

[python]import random
easier = ["joke","haze","kick","apex","buff","exam","mope","pick"]
words = (random.choice(easier))
first=input ("..... More

Print this item

  Call a function when switching layouts
Posted by: 4096 - Sep-22-2019, 07:39 PM - Forum: GUI - No Replies

I am writing a flashcard program in Python 3.7 using tkinter. I have many interfaces, like one for selecting a file, and one for reviewing cards, one ..... More

Print this item

  When I import a Module it wont run
Posted by: PyNovice - Sep-22-2019, 06:27 PM - Forum: General Coding Help - Replies (17)

[size=small]Hello, I have 4 files. They are:

globalVariables.py - this stores variables that are used in other modules
[b]returnCWD.py [..... More

Print this item

  Pi in base 12 problem
Posted by: kevolegend - Sep-22-2019, 03:08 PM - Forum: General Coding Help - Replies (3)

There is a hunch in the loony bin of the internet that mathematical constant Pi in base 12 makes for a rational answer. Converting decimal Pi to base ..... More

Print this item

  loop through range until reach size and exclude specific symbol
Posted by: pino88 - Sep-22-2019, 02:53 PM - Forum: General Coding Help - Replies (3)

[inline]
string = "ABC_DEF_GH__ILMN_OPQ__RSTUVZ"
index = 14
for i in string:
print([i-5],[i-4],[i-3],[i-2],[i-1],[i],[i+1],[i+2],[i+3],[i+4],[i+..... More

Print this item

  Newbie error
Posted by: dezed - Sep-22-2019, 02:27 PM - Forum: General Coding Help - Replies (4)

Im newb to python, can someone help me?
this error
can't multiply sequence by non-int of type 'str'

my code
[python]
n,T,P=input("input n, T, P..... More

Print this item

  My dict is not good
Posted by: blackknite - Sep-22-2019, 02:03 PM - Forum: General Coding Help - Replies (9)

I want to create a dict from txt file, with words & summed ascii value but once again I have been defeated.
I guess I have never really understood di..... More

Print this item

  install pacman package without password
Posted by: DKRoots - Sep-22-2019, 01:37 PM - Forum: General Coding Help - Replies (2)

Hello,

First, I am French, sorry for my English Tongue

For my project, with TKinter, I need to install several packages with PACMAN, is th..... More

Print this item

  define a variable before looped websocket
Posted by: korenron - Sep-22-2019, 12:19 PM - Forum: Networking - No Replies

Hello ,
I have a wroking websocket and I wnat to only do something when I get new reaply / new data

[python]async def hello(websocket, path):
..... More

Print this item

  FileNotFoundError: [Errno 2] ?
Posted by: JohnnyCoffee - Sep-22-2019, 02:03 AM - Forum: Web Scraping & Web Development - Replies (14)

Hi,

I have the following code in a class that works perfectly fine when inside it. Now when accessing through another class file presents me with e..... More

Print this item

  For loop prints strane values?
Posted by: colt - Sep-22-2019, 01:38 AM - Forum: General Coding Help - Replies (2)

Hello. I have this code for printing all the values of "header" (a list of bytes) and the first value of "data_bytes" (another list of bytes):

[pytho..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Another app idea - intera... 11 hours ago decuser Biks News and Disc...
  My goal to be hired worki... 11 hours ago GnomeSweetGnome Biks News and Disc...
  real community 11 hours ago decuser Biks News and Disc...
  print does not open conso... Today, 08:52 Tycho_2025 Tycho_2025 General Codin...
  create ocr to detect lice... Today, 06:18 bimosora Pedroski55 General Codin...
  Weird failure in Selenium Yesterday, 08:57 glestwid Larz60+ General Codin...
  Fred Economic Data API 10-02, 15:05 warrior42 Trickety Web Scraping ...
  Parse Markdown / get the ... 10-02, 13:56 SpongeB0B noisefloor General Codin...
  Error: cannot mix str wit... 10-01, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... 09-30, 07:43 fosuwxb buran Code sharing
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
Most views
  The best Prog... 577514
  Tutorial Requ... 501610
  Web Scraping ... 441123
  Newbie with P... 385171
  New Users Int... 370061
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+ 12093
buran 8178
snippsat 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
lauren557 Yesterday
maribita Yesterday
AnalystRobert Yesterday
Safariscampoea Yesterday
DataAnalytics021 Yesterday

User Panel Messages

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