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,941
» Latest member: Noya_Yonatan
» Forum threads: 38,722
» Forum posts: 175,510

Full Statistics

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

Latest Threads
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: bowlofred
2 hours ago
» Replies: 2
» Views: 144
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 04:28 PM
» Replies: 11
» Views: 4,378
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 803
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Sep-19-2025, 12:30 PM
» Replies: 1
» Views: 3,655
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,151
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,663
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,477
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,668
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,593
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,769

 
  AttributeError: module 'string' has no attribute 'uppercase'
Posted by: Anldra12 - Apr-22-2021, 04:49 PM - Forum: General Coding Help - Replies (10)

[quote]trying to implement a match word to dictionary while return the error no attribure 'uppercase' [/quote]

[python]from __future__ import..... More

Print this item

  Help for having the window open
Posted by: jip31 - Apr-22-2021, 04:45 PM - Forum: General Coding Help - Replies (4)

Hi
I launch the script below but the windows close automatically
What I have to add to my code for having the windows open please?

[python]nb = 7..... More

Print this item

  Calls to Attributes of a Class
Posted by: SKarimi - Apr-22-2021, 03:17 PM - Forum: General Coding Help - Replies (3)

how does a direct call to openpyxl.load_workbook work?

According to OpenPyXL documentation, load_workbook is a submodule of a the subpackage..... More

Print this item

Smile Exception with raise and input
Posted by: artemisellada - Apr-22-2021, 02:26 PM - Forum: Homework - Replies (3)

Hello, I have a question about an assignment in my programming course Confused
I need to create an exception so that only integer numbers can b..... More

Print this item

Lightbulb Jupyter is not working properly
Posted by: brunolelli - Apr-22-2021, 11:58 AM - Forum: General Coding Help - Replies (3)

Hello guys,

I'm using jupyter notebook to run my code 24h a day, on 1 minute interval... and everything is working perfectly but suddently, with n..... More

Print this item

Lightbulb On error > Try again
Posted by: brunolelli - Apr-22-2021, 11:51 AM - Forum: General Coding Help - Replies (2)

Hello guys,

I've the following code with a Try and Except statement, as you can see below:
[python]import csv
import time
import s..... More

Print this item

  Importing vars from another file
Posted by: vulturas - Apr-22-2021, 10:35 AM - Forum: Homework - No Replies

Hello everyone :)
While doing my homework I came across the following problem:

We have to develop a GUI with PyQt - this task was not a problem.
..... More

Print this item

  Character Increment
Posted by: AnokhiRaaz - Apr-22-2021, 04:19 AM - Forum: General Coding Help - Replies (1)

Hi, can anyone help me to writing me this code:
if first index of id is Sweety1 then it continue till ‘Z’ like Sweety1_a, Sweety1_b till Sweety1_z, ..... More

Print this item

  how would you feel if ...
Posted by: Skaperen - Apr-22-2021, 12:22 AM - Forum: Bar - Replies (15)

how would you feel if Python's assignment operator was := instead of just = ?

Print this item

  Example shalow neural network
Posted by: Malin3k - Apr-21-2021, 11:14 PM - Forum: Homework - Replies (1)

Hello, I have a question, does anyone know the problem solved with the help of shallow neural networks, i't would be great with the code so that you c..... More

Print this item

  Using dictionary to find the most sent emails from a file
Posted by: siliusu - Apr-21-2021, 10:59 PM - Forum: Homework - Replies (6)

Hi Everyone,
I have been stuck with this question for a whole week. The staff of our course is not helpful at all. Hope I could get any clue from you..... More

Print this item

  Dictionary with ranges that have a float step value
Posted by: Irv1n - Apr-21-2021, 07:01 PM - Forum: General Coding Help - Replies (2)

Hello to all!

I need to create dictionary like this:
[python]
rcd_curr = {'SOUR:SAF:RCDC': {0.025: (?????), 0.25: (???????), 2.5: (???????)}}
fo..... More

Print this item

  Impact of words from sentence on popularity
Posted by: dvorak - Apr-21-2021, 05:20 PM - Forum: Data Science - Replies (5)

Hi, I have a table with few thousand of rows, in one column is a one or few sentences of joke, in second number of views. I would like to sort words w..... More

Print this item

  Unusual Error
Posted by: Led_Zeppelin - Apr-21-2021, 04:40 PM - Forum: General Coding Help - Replies (1)

While I tried to install autokeras. I had to run this command first. The output was fine except for one
line toward the end which was an error(it wa..... More

Print this item

  Code Help, web scraping non uniform lists(ul)
Posted by: luke_m - Apr-21-2021, 04:38 PM - Forum: Web Scraping & Web Development - Replies (4)

Hi,

I am writing this code for scraping off of a website into an excel spreadsheet, i am having an issue where the website doesn't use a list of t..... More

Print this item

  Dovecote
Posted by: Tim499 - Apr-21-2021, 02:45 PM - Forum: Homework - Replies (1)

Hi,

I'm very bad in informatics and I really need help a dead line for a Python project is for this Friday (I know very soon)
I try my best to und..... More

Print this item

  dataframe cell conditional format by row
Posted by: SriRajesh - Apr-21-2021, 01:42 PM - Forum: General Coding Help - No Replies

Hi,
I have below dataframe:
df:
[python]Name gender age rank code
Mek m 29 2 23
ABK f 20 23 56
SGH f 23 19 12..... More

Print this item

  assignments
Posted by: Skaperen - Apr-21-2021, 12:46 AM - Forum: Bar - Replies (2)

i wish assignments had a value, then i could use them on if, elif, and while.

Print this item

  Calculating Constants
Posted by: Big1952 - Apr-21-2021, 12:37 AM - Forum: General Coding Help - No Replies

I am new to the forum. Writing a tkinter gui program based on Denis Berthier four grid transforms. I am contemplating calculating some python const..... More

Print this item

Question Functions and if elif problem
Posted by: Bruizeh - Apr-21-2021, 12:09 AM - Forum: Homework - Replies (2)

Hi all,
Edit: We are not allowed to use lists, in. We are to solve this using if/elif/else
These were the instructions:
[python]Complete the get_seas..... More

Print this item

  Suspending worker threads
Posted by: olderguy - Apr-20-2021, 10:01 PM - Forum: General Coding Help - Replies (1)

Question is Semaphore a robust means of temporarily suspending worker threads in the following situation? (free of race conditions etc.) Is there a b..... More

Print this item

  Learning Focus
Posted by: MrLupin - Apr-20-2021, 09:22 PM - Forum: News and Discussions - Replies (2)

I'm told that learning all of Python is a huge task and probably not necessary for my particular purposes. My current plan is to use Python on Seleniu..... More

Print this item

  Multiple connect statements
Posted by: Anan - Apr-20-2021, 06:18 PM - Forum: Networking - No Replies

Hello,

does anyone know as to how I can create 2 connect statements inside a client?

Client should connect to 1 server in a particular scenario...... More

Print this item

  Environment seems to keep losing references
Posted by: spacedog - Apr-20-2021, 06:10 PM - Forum: General Coding Help - Replies (2)

I’m new to Python and am using Scrapy, ProxyChecker pandas, urllib, et. And using VS Code. When I first set things up and started coding this project..... More

Print this item

  Browse and build a list of folder paths using recursion
Posted by: Ultrainstinct_5 - Apr-20-2021, 05:22 PM - Forum: General Coding Help - Replies (8)

I'm trying to browse an OPC server and find the folders in that server recursively and add each folder path to a list.
For example if I have root fold..... More

Print this item

  How to use data from an API, to create an alert?
Posted by: PopFendi - Apr-20-2021, 04:17 PM - Forum: Web Scraping & Web Development - Replies (8)

Hello,

first off I'd like to say I'm very new, and this is my first attempt at using Python to create a useful program for myself, so go easy on me..... More

Print this item

  How to avoid exec(), globals(), locals(), eval()
Posted by: paul18fr - Apr-20-2021, 03:17 PM - Forum: General Coding Help - Replies (10)

This is the first post (of series?) to find a good way (or practice) to produce a dynamical link code without using exex() and so on.

How ca..... More

Print this item

  A text-based game [SOLVED]
Posted by: Gameri1 - Apr-20-2021, 12:07 PM - Forum: General Coding Help - Replies (6)

I am making a text-based game and I am trying to run this code but the last two lines don't work and any number including 1 2 and 3 are printing enter..... More

Print this item

  Float Object is not Subscriptable
Posted by: quest - Apr-20-2021, 08:53 AM - Forum: General Coding Help - Replies (2)

I have this object:

a=(994.7, <__main__.bit object at 0x7f35b7f2c220>)
And I am trying to get just 994.7 so I am using this..... More

Print this item

  Probabilities of binary classification problem
Posted by: Troublesome1996 - Apr-19-2021, 06:40 PM - Forum: Data Science - No Replies

.....

Print this item

  Running loop at specific frequency
Posted by: mdsousa - Apr-19-2021, 05:55 PM - Forum: General Coding Help - Replies (3)

Hi

I am trying to get my while loop to run at a specific frequency (30Hz) and am having trouble getting it to work. I'm going with 30Hz x 60 second..... More

Print this item

  Hi, I need some assistance with how to create an intelligent chatbot
Posted by: aaron10500 - Apr-19-2021, 05:47 PM - Forum: Homework - Replies (1)

Hello, for my final year project i will be creating an intelligent chatbot/conversational Ai.

What would be the best way to do this?

I've looked..... More

Print this item

Question Dedector Bot
Posted by: greathill - Apr-19-2021, 05:09 PM - Forum: General Coding Help - Replies (2)

Hello Python lovers,
There is a thing I want but couldn't one.
I want to build a bot which is acts in order to images. For example, I want to sa..... More

Print this item

  pyserial setting and getting RTS/DTR etc...- RTFM, but still don't understand it
Posted by: alloydog - Apr-19-2021, 03:37 PM - Forum: General Coding Help - Replies (2)

I've started playing around with the serial port, so I installed pySerial. I then built a very simple breakout board, where I can measure voltages, s..... More

Print this item

  [solved] Variable number of dictionnaries as argument in def()
Posted by: paul18fr - Apr-19-2021, 02:49 PM - Forum: General Coding Help - Replies (11)

In the current code, I’m performing tests to works with a variable number of dictionaries; I’m looking for a way to get all keys and their values.
..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Using a For Loop to subtr... 2 hours ago Anunderling bowlofred General Codin...
  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
Most views
  The best Prog... 576510
  Tutorial Requ... 498418
  Web Scraping ... 440399
  Newbie with P... 384295
  New Users Int... 367438
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 6892
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Noya_Yonatan Today
Saipython555 Today
Anunderling Today
Monir Today
atylerfraces2254 Yesterday

User Panel Messages

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