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,266
» Latest member: tlandr02
» Forum threads: 38,788
» Forum posts: 175,853

Full Statistics

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

Latest Threads
Access keys and values fr...
Forum: General Coding Help
Last Post: buran
1 hour ago
» Replies: 3
» Views: 50
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 04:07 PM
» Replies: 2
» Views: 114
PermissionError: [Errno 1...
Forum: GUI
Last Post: deanhystad
Yesterday, 02:42 PM
» Replies: 1
» Views: 73
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 01:54 PM
» Replies: 1
» Views: 69
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Yesterday, 01:00 PM
» Replies: 5
» Views: 327
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 49
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 85
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 294
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 158
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 264

 
  ModuleNotFoundError: No module named 'fcntl'
Posted by: ErnestTBass - Dec-04-2020, 07:32 PM - Forum: General Coding Help - Replies (2)

I installed bpython quite easily no problem. However whenever i try to run it anything I get this error.

[code]
C:\Users\Newport_j\Downloads>bpyth..... More

Print this item

  Natural language processing project
Posted by: maaaa2401 - Dec-04-2020, 05:41 PM - Forum: Homework - Replies (2)

Hello everybody, for a project at the university I have to perform a Natural Language Processing project in python on the basis of a corpus of some Ha..... More

Print this item

  Clothing Reccomendation app not working correctly.
Posted by: javesike1262 - Dec-04-2020, 04:39 PM - Forum: Homework - Replies (4)

Hi guys, I just got the clothing recommendation app done. On the part where it says how much rain is outside today and how much is present today. The ..... More

Print this item

  Issue with geolocator = Nominatim
Posted by: bborusz2 - Dec-04-2020, 04:15 PM - Forum: General Coding Help - Replies (3)

Hey guys,

Hoping someone can explain the issue I'm having with Geolocator...it was working fine yesterday, but now when I run the cell it is comin..... More

Print this item

  update column in one data frame with value of column from another data frame
Posted by: flexer - Dec-04-2020, 03:29 PM - Forum: General Coding Help - No Replies

Hi there

In Python 3.7 , I need some help with the syntax of updating data frame with value from another data frame:

I have a trade and it has 2..... More

Print this item

  Find two extremum in data series
Posted by: Sancho_Pansa - Dec-04-2020, 02:06 PM - Forum: Data Science - No Replies

Hello,
Does exist a method that allows to find two x-coordiantes of two extremums in data series like this:
[img]https://i.postimg.cc/j2vNMsCC/absor..... More

Print this item

  KeyError: 'LULC'
Posted by: hobbyist - Dec-04-2020, 01:36 PM - Forum: General Coding Help - Replies (10)

Hello,

I am trying to run the code from here:
https://github.com/simongrest/f[url=https://python-forum.io/thread-31327.html]..... More

Print this item

  My script returns no values
Posted by: Shay3534 - Dec-04-2020, 01:00 PM - Forum: Homework - Replies (7)

Hi,

I have just started doing the google python course online and am completing my first assignment by running the string1.py script. I have tested m..... More

Print this item

  How to open a new tab without focusing on it.
Posted by: InvisibleHD - Dec-04-2020, 12:21 PM - Forum: General Coding Help - Replies (1)

Hello everyone,

i have a project where i want to copy multiple elements on a website and each time i copy it a new tab opens with a search for this..... More

Print this item

  Simple question
Posted by: 1234 - Dec-04-2020, 10:01 AM - Forum: General Coding Help - Replies (4)

Hi,
is there a faster way of changing s list full of numbers in a "5" format, into a int(5) format than:

for i in range(len(a)):
a[i]=int(a[i])

Print this item

  bytes to json
Posted by: GrahamL - Dec-04-2020, 09:07 AM - Forum: General Coding Help - Replies (9)

Hi
I am trying to send json data over a pipe but cannot get it quite right
Send
[python]
mesages = [{"id": "1", "txt": "message 1", "start_..... More

Print this item

  How to disable custom button
Posted by: Sancho_Pansa - Dec-04-2020, 08:57 AM - Forum: GUI - Replies (7)

Hello,
In my project I use custom widgets.
When I try to disable a button

self.myCustomButton.config(state='disabled')
error occu..... More

Print this item

  Search faster?
Posted by: Pedroski55 - Dec-04-2020, 05:37 AM - Forum: General Coding Help - Replies (1)

Whoops, put the wrong title! That was another thing I was trying.

I have a simple homework webpage.

PHP collects the students answers, compares ..... More

Print this item

  Installing python3-devel from source on centos6
Posted by: judith - Dec-04-2020, 05:29 AM - Forum: General Coding Help - No Replies

We've got a centos6 build environment, with all the typical gcc tools (gcc 4.4.7) for C++ dev.

I want to play around with python integration into ou..... More

Print this item

  platform binary representation --- 3 questions
Posted by: Skaperen - Dec-04-2020, 02:22 AM - Forum: General Coding Help - Replies (4)

for a given float value i want to get the platform binary representation as a sequence of bytes or a string of hexadecimal digits. is there a trivial..... More

Print this item

  FOREIGN KEY constraint failed
Posted by: SalsaBeanDip - Dec-04-2020, 12:48 AM - Forum: General Coding Help - Replies (2)

Hello, I am trying to work with foreign keys in databases for the first time but every time I run my code I get the same error:
FOREIGN KEY constrai..... More

Print this item

Question Input validation goes south.
Posted by: Gilush - Dec-03-2020, 11:18 PM - Forum: General Coding Help - Replies (6)

Hi,

I'm trying to validate the number of answers per question but I can't seem to get the var to change to False when the input is wrong.

what a..... More

Print this item

Photo Homework Help
Posted by: RiveraJ1769 - Dec-03-2020, 09:53 PM - Forum: Homework - Replies (1)

I am not sure what I am doing wrong but I just need help with the first one to get the assignment going. I have look through my old assignments and am..... More

Print this item

  Python Tutorial for Beginners
Posted by: MK_CodingSpace - Dec-03-2020, 09:43 PM - Forum: Tutorial Requests and Submissions - No Replies

Hi

I am making a Python Tutorial for Beginners series on YouTube. Please check out my channel at https://www.youtube.com/channel/UCXSKsJMfXnw3aWBa..... More

Print this item

  Displaying html and pdf in a QtWidget
Posted by: arbiel - Dec-03-2020, 08:35 PM - Forum: GUI - Replies (16)

Hi

I did not yet run any test for displaying html and pdf documents in a QtWidget because I did not yet fount any information on those subjects.
..... More

Print this item

  Duplex Named Pipe with Python Server and C# Clients
Posted by: raybowman - Dec-03-2020, 08:32 PM - Forum: General Coding Help - Replies (1)

Hi,

I am trying to set up a Python server to process objects from C# (.NET) clients
with a duplex named pipe. I've seen some good examples for set..... More

Print this item

  Entry returns NONE
Posted by: mollerpunker - Dec-03-2020, 07:36 PM - Forum: GUI - Replies (2)

Hi all,

I'm a beginner in programming with PY and started to build an GUI. Got stuck with retrieving the value of the Entry. While running the GUI ..... More

Print this item

  How to access a web service from a python script?
Posted by: dangermaus33 - Dec-03-2020, 06:58 PM - Forum: Web Scraping & Web Development - Replies (6)

I have been trying to create a web service using python and flask. I have a simple one created but I am unsure how to access it from code. I want a cl..... More

Print this item

  Resources on Learning Python
Posted by: muzikman - Dec-03-2020, 05:20 PM - Forum: Homework - Replies (19)

Greetings,

Can someone help me determine which of the following resources I should read, in order "if any" to best learn Python.

..... More

Print this item

  Execution of Another Recursive Function
Posted by: muzikman - Dec-03-2020, 05:07 PM - Forum: General Coding Help - Replies (6)

Greetings,

I want to make sure that I understand the execution of the following "simple" recursive function that basically takes a number and adds ..... More

Print this item

  Classifying images using trained model
Posted by: kiton - Dec-03-2020, 04:57 PM - Forum: Data Science - Replies (2)

Hello!

I have followed this TensorFlow tutorial to classify images using t..... More

Print this item

  math.log?
Posted by: Majo - Dec-03-2020, 04:14 PM - Forum: General Coding Help - Replies (8)

Hi,
I'm trying to put all answers of equations that I calculated into a list, and I want to refer to this list multiple times because the same equati..... More

Print this item

  Graphs
Posted by: Tink - Dec-03-2020, 04:03 PM - Forum: Homework - Replies (3)

I've been trying to make a graph but failing. Anyone know which method is best for this?

Using the code cell below, plot an appropriate graph to sh..... More

Print this item

  Problem to parse a json
Posted by: enigma619 - Dec-03-2020, 03:45 PM - Forum: General Coding Help - Replies (3)

Hi

I've some problem to parse my json
which is like:

[python]
{
"Results": {
"check1": {
"LastResultTime": 16070027..... More

Print this item

  Reading from a file.
Posted by: krhoades - Dec-03-2020, 03:13 PM - Forum: General Coding Help - Replies (3)

Hello everyone. I am a newbie to the forum and Python.
I am trying to read a single word from a text file in the same directory
as my python code. T..... More

Print this item

  Subscribed Doesn't Notify via Email
Posted by: muzikman - Dec-03-2020, 02:57 PM - Forum: Board - Replies (3)

I have subscribed to some threads and they have not sent me any emails when someone has replied. Is there something wrong with the board or is it a se..... More

Print this item

  Regex text file to store data in list
Posted by: TheSithSiggi - Dec-03-2020, 01:04 PM - Forum: General Coding Help - Replies (1)

Hi all!

I have the following sample text which are Finite Element Analysis results:

The first column are X,Y and z normal stress, XY, YZ and ZX ..... More

Print this item

  Error when Excelwriter saving a dataframe with datetime datatype with timezone
Posted by: klllmmm - Dec-03-2020, 01:01 PM - Forum: General Coding Help - Replies (3)

I'm trying to save pandas data-frame with timezone data into an excel workbook. However i get this error.


[python]
import pandas as pd
from pan..... More

Print this item

  How i can add elements to table index of element
Posted by: blazej2533 - Dec-03-2020, 12:40 PM - Forum: General Coding Help - Replies (3)

Hello
I want to add an element to the list. I want this element to be on the list under the index as high as this element. If an item is already occup..... More

Print this item

  Plotting “simple” diagram with gridlines at specified intervals
Posted by: schniefen - Dec-03-2020, 11:46 AM - Forum: General Coding Help - Replies (1)

I’d like to plot a diagram according to the sketch in the link. The lines emanating from the y-axis should be dotted, and the boxes above the x-axis a..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Access keys and values fr... 1 hour ago Winfried buran General Codin...
  How to make ball stay wit... Yesterday, 16:07 nathanael deanhystad General Codin...
  PermissionError: [Errno 1... Yesterday, 14:42 Tuurbo46 deanhystad GUI
  Graph Interpolate Difficu... Yesterday, 13:54 Tuurbo46 deanhystad General Codin...
  sorting a lisr of file pa... Yesterday, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... 11-14, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 15:33 pbkurd Larz60+ General Codin...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... 11-13, 11:52 yutaozhou noisefloor News and Disc...
Most views
  The best Prog... 579032
  Tutorial Requ... 510929
  Web Scraping ... 442036
  Newbie with P... 386074
  New Users Int... 377517
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+ 12108
buran 8196
snippsat 7389
deanhystad 6913
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
tlandr02 Today
Rerus3700 Today
pas88 Today
aanthonymaaleyo3938 Today
chuhlowe Yesterday

User Panel Messages

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