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,296
» Latest member: nicos18
» Forum threads: 38,795
» Forum posts: 175,886

Full Statistics

Online Users
There are currently 531 online users.
» 0 Member(s) | 522 Guest(s)
Bing, AOL, Google, Mojeek, AOL, Facebook Dev

Latest Threads
My regex function is not ...
Forum: General Coding Help
Last Post: Pedroski55
3 hours ago
» Replies: 1
» Views: 54
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 11:51 AM
» Replies: 1
» Views: 60
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Yesterday, 02:50 AM
» Replies: 6
» Views: 231
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 122
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 84
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,518
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 170
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 80
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,140
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,323

 
  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

  Improving code to autorename if filename exists
Posted by: Den0st - Sep-21-2019, 11:56 PM - Forum: General Coding Help - Replies (5)

Hi all, I have a part of my code that I would like to give a little upgrade.
[python]
import os
import shutil

dest = '/path/to/dest_folder'
sr..... More

Print this item

  Control the application using the keyboard
Posted by: Christina - Sep-21-2019, 10:28 PM - Forum: GUI - Replies (1)

Hello,
I have a problem with key control in my tkinter app. After pressing the key ("Enter", →, ←, +, Ctrl+S) I want to do my function. How do I set ..... More

Print this item

  dict problem with if
Posted by: Adem - Sep-21-2019, 08:55 PM - Forum: General Coding Help - Replies (3)

Hi , I have a little problem with my code , can you explain the problem to me and help to fix it please ? What should I do ? Thanks

[python]dict={"..... More

Print this item

  List of numbers to add
Posted by: Planeuge - Sep-21-2019, 08:40 PM - Forum: General Coding Help - Replies (4)

So, this should be kinda simple to program, but I haven't been coding for a long time, and I'd need that project done the fastest possible, so I'm sor..... More

Print this item

  Multiple Passwords
Posted by: NotPythonQueen - Sep-21-2019, 06:38 PM - Forum: Homework - Replies (17)

I am able to get it to prompt one password, but not all 3. Here is an example of my code:

[python]import getpass

thislist = ["Sun", "Moon", "Sta..... More

Print this item

  data science
Posted by: peepeepoopoo - Sep-21-2019, 03:56 PM - Forum: Data Science - Replies (1)

I have a dataframe with billions of stars, and i would like to narrow it down using equations. I need to find which stars are moving at escape velocit..... More

Print this item

  f-strings and termcolor
Posted by: newbieAuggie2019 - Sep-21-2019, 03:37 PM - Forum: General Coding Help - Replies (6)

Hi!

This problem came up when I was searching for ways to colour and give styles to strings:
..... More

Print this item

  How do I turn a directory of HTML files into one CSV?
Posted by: glittergirl - Sep-21-2019, 02:33 PM - Forum: General Coding Help - Replies (2)

I am currently trying to do the following:

1. Identify all the files that have the text "business class" in it.

2. Print all the files that have..... More

Print this item

  Splitting tuples
Posted by: kasper1903 - Sep-21-2019, 12:36 PM - Forum: Homework - Replies (3)

Hi guys.

Hope you can help

I need to split my tuples into separate columns. This is what I got

[python]
import csv

with open('geyserDat..... More

Print this item

  how to fit an exponential function to multiple data
Posted by: python_newbie09 - Sep-21-2019, 11:24 AM - Forum: Data Science - Replies (1)

I would like to fit an exponential function based on data points of more than one trend. Is this possible?
The code below creates a fit for every col..... More

Print this item

  How to restart another PC on the local network?
Posted by: Kundan - Sep-21-2019, 08:36 AM - Forum: Networking - Replies (1)

How to restart another PC on the local n/w?

Print this item

  MD5 Hashing
Posted by: Evil_Patrick - Sep-21-2019, 07:29 AM - Forum: General Coding Help - Replies (1)

Does anyone know how to do it vice versa?

[python]
import hashlib

password= input("Enter your Password: ")

result = hashlib.md5(password.enc..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My regex function is not ... 3 hours ago Moltar1997 Pedroski55 General Codin...
  silent deployment Python ... Yesterday, 11:51 Bummibaer Larz60+ News and Disc...
  data fetching for indian ... Yesterday, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
Most views
  The best Prog... 579351
  Tutorial Requ... 512292
  Web Scraping ... 442247
  Newbie with P... 386327
  New Users Int... 380128
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+ 12110
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
nicos18 Yesterday
Moltar1997 Yesterday
arthurlouiss Yesterday
LewisByday Yesterday
Bummibaer Yesterday

User Panel Messages

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