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,256
» Latest member: TomTMH
» Forum threads: 38,782
» Forum posts: 175,832

Full Statistics

Online Users
There are currently 47 online users.
» 1 Member(s) | 42 Guest(s)
Google, Bing, Apple, mamta25

Latest Threads
[solved] re.split issue
Forum: General Coding Help
Last Post: Pedroski55
3 hours ago
» Replies: 7
» Views: 123
New to python and coding
Forum: Homework
Last Post: jefsummers
9 hours ago
» Replies: 6
» Views: 179
Please guide me to comple...
Forum: General Coding Help
Last Post: pbkurd
10 hours ago
» Replies: 0
» Views: 51
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
Yesterday, 11:52 AM
» Replies: 6
» Views: 351
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Nov-12-2025, 07:26 PM
» Replies: 2
» Views: 111
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-12-2025, 10:11 AM
» Replies: 6
» Views: 241
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-11-2025, 09:52 AM
» Replies: 11
» Views: 379
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 147
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,642
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 246

 
  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

  Passing flags to python script, through a function
Posted by: xbit - Apr-19-2021, 12:58 PM - Forum: General Coding Help - Replies (4)

I have a python script, that i am able to call it from the command line, and i pass the parameters to it, through flags on the terminal. For example:
..... More

Print this item

  Run the code for some stuff it does not return me why
Posted by: Anldra12 - Apr-19-2021, 09:40 AM - Forum: General Coding Help - Replies (3)


  1. The code run but trying to do these output but did not return me the follow why??
    first Enter the number of leaf nodes:
    Enter node valu..... More

Print this item

  Help with urllib.request
Posted by: Brian177 - Apr-19-2021, 01:53 AM - Forum: General Coding Help - Replies (2)

Help on this please; Is a second urlopen needed, in the scenario I describe?

[python]import urllib.request

# Given you open a url
resp = urllib..... More

Print this item

  Openpyxl Help
Posted by: SunWers - Apr-19-2021, 12:50 AM - Forum: General Coding Help - Replies (2)

Hello Everyone,

I've been working on getting some scripts together to help me automate some of the reports that I do daily and I think I'm about th..... More

Print this item

  Limit test for linear travel setup
Posted by: knoxvilles_joker - Apr-19-2021, 12:31 AM - Forum: Code sharing - Replies (2)

This is something I did for a blade gauntlet on a costume. The code works:

[python]
#!/usr/bin/python

import cwiid
import RPi.GPIO as GPIO
i..... More

Print this item

  wiimote on raspberry pi controller servos, lights, and sounds
Posted by: knoxvilles_joker - Apr-19-2021, 12:29 AM - Forum: Code sharing - Replies (2)

This works:

[python]#!/usr/bin/python
#+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
#|R|a|s|p|b|e|r|r|y|P|i|-|S|p|y|.|c|o|.|u|k|
#+-+-+-+-+-+-+-+..... More

Print this item

  Return mean() of dict
Posted by: nman52 - Apr-18-2021, 10:44 PM - Forum: Homework - No Replies

Hi everyone, I've solved this problem #7 using pandas, but it specifically asks to do it by hand.

[output]
Problem 7: mean_attack_per_type

Writ..... More

Print this item

  FREE recruitment stream with Square Enix and more!
Posted by: WanderingOwl - Apr-18-2021, 10:37 PM - Forum: Jobs - No Replies

Finding the perfect job is always a challenge, but it's especially difficult to connect with the right people at the moment! To help out, Games Jobs L..... More

Print this item

  exec in a function
Posted by: paul18fr - Apr-18-2021, 07:33 PM - Forum: General Coding Help - Replies (6)

Hi

I'm modifying a code by moving an "exec" inside a function creating an error; I wrote a small code highlighting what I'm facing.

What I'm mis..... More

Print this item

  Position after given movements
Posted by: SantiagoPB - Apr-18-2021, 07:22 PM - Forum: Homework - Replies (3)

Hello everybody,

I have a task that I don't quite understand how to tackle.

At the moment I have written this code but I do not get the result t..... More

Print this item

  ModuleNotFoundError: No module named 'fpdf'
Posted by: KatMac - Apr-18-2021, 07:04 PM - Forum: General Coding Help - Replies (4)

I am running Windows 10, using the VSC editor and Python 3.9.4
My goal is to convert an existing csv file to a pdf.

I installed the required modul..... More

Print this item

  Python 3.4 in Windows XP
Posted by: MarcQuerol - Apr-18-2021, 04:45 PM - Forum: General Coding Help - Replies (2)

Hello everyone,

I'm new in this community and i hope you can help me. The point is that i have to work in coding python in a Windows XP system and..... More

Print this item

  Text widget inert mode on and off
Posted by: rfresh737 - Apr-18-2021, 02:53 PM - Forum: GUI - Replies (5)

I can't find anything that talks about how to set a text widget insert mode on and off? My text widget is always in insert mode. I assume I can set it..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [solved] re.split issue 3 hours ago paul18fr Pedroski55 General Codin...
  New to python and coding 9 hours ago lary_p jefsummers Homework
  Please guide me to comple... 10 hours ago pbkurd pbkurd General Codin...
  Backward compatibility qu... Yesterday, 11:52 yutaozhou noisefloor News and Disc...
  why is the image not show... 11-12, 19:26 sarbogast deanhystad General Codin...
  Help with Serial.write in... 11-12, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... 11-11, 09:52 tsgiannis tsgiannis GUI
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
Most views
  The best Prog... 578935
  Tutorial Requ... 510272
  Web Scraping ... 441960
  Newbie with P... 385974
  New Users Int... 376888
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+ 12107
buran 8195
snippsat 7388
deanhystad 6909
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
TomTMH Yesterday
pbkurd Yesterday
Gichardaxora Yesterday
cc123 Yesterday
Jessicaadams Yesterday

User Panel Messages

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