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 55 online users.
» 0 Member(s) | 51 Guest(s)
Bing, Google, AOL, Mojeek

Latest Threads
My regex function is not ...
Forum: General Coding Help
Last Post: Pedroski55
3 hours ago
» Replies: 1
» Views: 52
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: 121
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 83
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

 
  GROK MODULE 5 HELP!
Posted by: AmineLS - Sep-26-2019, 03:22 PM - Forum: General Coding Help - Replies (1)

[python]
name = input('Cheer: ')
print('Give me a',name,name[0],'!')
print('Give me a,',name[1])
print('Give me a,',name[2])
print('Give me a,',n..... More

Print this item

  struggling with loop/webscrape
Posted by: zarize - Sep-26-2019, 02:28 PM - Forum: General Coding Help - Replies (4)

Hi guys,

i made variable:

page = input("Paste link:         ") + str("&LISTpg=")
and then another one:

[python]for i in r..... More

Print this item

  TypeError: string indices must be integers
Posted by: thecoziest - Sep-26-2019, 02:06 PM - Forum: Homework - Replies (3)

Error:
TypeError: string indices must be integers
What does this error mean?

I thought I would've fixed... by adding this[python]int(..... More

Print this item

  How to import the name of the fluid in CoolProp from an yml file
Posted by: termo - Sep-26-2019, 01:32 PM - Forum: General Coding Help - No Replies

Hello!
I have a file with this class

[python]class AAA:

def __init__(self,data):

#self.fluid = data['fluid']
self.H..... More

Print this item

  Page not found (404) - Problem
Posted by: ronindev - Sep-26-2019, 01:11 PM - Forum: Web Scraping & Web Development - No Replies

I started a project Learning_log. All going well till I started making pages.

It was opening alright in django.
------------------
In [inline]url..... More

Print this item

  How to append and drop to next line while slice/indexing
Posted by: emryscass - Sep-26-2019, 10:40 AM - Forum: General Coding Help - Replies (3)

I'm practicing with opening, reading and appending to files. One of my goals was to open the file for the second time within the program and append a ..... More

Print this item

  type annotations
Posted by: perfringo - Sep-26-2019, 09:58 AM - Forum: News and Discussions - Replies (3)

I have occasionally used type hinting and mypy[/url[url=https://python-forum.io/thread-21362.html]..... More

Print this item

  how to set focus when running a script using subprocess
Posted by: Malt - Sep-26-2019, 08:07 AM - Forum: General Coding Help - No Replies

Using Django I have designed a web page and I'm running a python script which will use subprocess to start windows application.
I'm facing issue here..... More

Print this item

  Indexed position editing of a lst
Posted by: ShruthiLS - Sep-26-2019, 07:13 AM - Forum: General Coding Help - Replies (4)

Hi everyone,

I have a list say suppose,
list= [Mysore,Bangalore,chennai,pune]

In this I want to edit the list like,
edited_list=[Mysore is a ..... More

Print this item

  Help with Tkinter on mac
Posted by: kigrapthor - Sep-26-2019, 06:47 AM - Forum: GUI - Replies (1)

I cant import tkinter to use, im using visual studio code, im really desesperate

Print this item

  ignoring a signal
Posted by: Skaperen - Sep-26-2019, 01:25 AM - Forum: General Coding Help - Replies (4)

is there a way for python to ignore a specific signal (in posix) without setting up a handler? all the google results describe how to handle a signal..... More

Print this item

  Beginner trying to code in python
Posted by: RA0211 - Sep-26-2019, 12:35 AM - Forum: General Coding Help - Replies (1)

Hello,

This is my first post in this forum.

I'm a beginner and learning python in small phases. As such I'm trying to write a code where in a fi..... More

Print this item

  check if the number is a prime integer
Posted by: atlass218 - Sep-25-2019, 10:30 PM - Forum: General Coding Help - Replies (5)

Hi; I have just created a small application that has the role of testing and verifying if the number introduced by the user is a number first or not. ..... More

Print this item

  installing uPyCraft IDE on Mx-Linux
Posted by: apollo - Sep-25-2019, 10:22 PM - Forum: Bar - Replies (4)

Dear community,


i want to install this ide on MX - Linux.


the uPyCraft IDE .. guess i can use this tutorial:

LINK. https://randomnerdtut..... More

Print this item

  ML
Posted by: rezapci - Sep-25-2019, 10:20 PM - Forum: Data Science - Replies (3)

Hello Fellow Scientists
i am kinda confused on this project, so I said let me ask here.
I have a dataset csv with with 30001 row and 14 columns sta..... More

Print this item

  [split] Homework help
Posted by: JayBand - Sep-25-2019, 08:49 PM - Forum: Homework - Replies (2)

Hi Buran

I am having a similar issue to the above.
The below is my code, but my dictionary isn't including the word which has punctuation in at al..... More

Print this item

  Raw Socket Error
Posted by: therealherby - Sep-25-2019, 08:44 PM - Forum: Networking - Replies (1)

I am getting an "socket.error: [Errno 22] Invalid argument" error when calling sendto below. I made this simple version based on https://www.binarytid..... More

Print this item

  Quick sockets question...
Posted by: ptrivino - Sep-25-2019, 08:39 PM - Forum: Networking - Replies (2)

Before I post a code question, let me ask this first: I am trying to use an AF_PACKET socket. The Python docs at https://docs.python.org/3/library/soc..... More

Print this item

  Create menu with selectable items
Posted by: SaladFingers - Sep-25-2019, 08:20 PM - Forum: General Coding Help - Replies (4)

Hi, I'm pretty new to python but enjoying learning. I have done quite a bit of searching for this but come up empty handed so have signed up here. Any..... More

Print this item

  Project, Reading Data from a spreadsheet. Error message!!
Posted by: Shafla - Sep-25-2019, 08:19 PM - Forum: General Coding Help - Replies (1)

i have written the following code from an exercise in a text book;

[python]import openpyxl, pprint
print('Opening workbook...')
wb = openpyxl.loa..... More

Print this item

  Need help to display data from a file
Posted by: Dzib - Sep-25-2019, 06:49 PM - Forum: General Coding Help - Replies (2)

Hi,

I'm new to Python and trying to code my first little app, I have difficulties reading data from a file.
The goal of the app is that the user ente..... More

Print this item

  A function taking in parameter int and str
Posted by: GrosseGaro - Sep-25-2019, 06:12 PM - Forum: Homework - Replies (1)

Hello everyone,

I am very new in coding and in Python so my question is probably stupid but nevertheless i'm searching on internet for a solution s..... More

Print this item

  Sample based on the distribution of a feature to create more balanced data set
Posted by: dervast - Sep-25-2019, 05:56 PM - Forum: Data Science - Replies (1)

Hi all,

I am stuck with a classification problem of unlabeled data. One of the issues I have is that the dataset is imbalanced and I would like to ..... More

Print this item

  How to fill text fields web forms
Posted by: Martinelli - Sep-25-2019, 03:22 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi all!

I am trying to fill the text fields on the following web form to make a search, and, after scratch the results.

..... More

Print this item

  Search character from 2d list to 2d list
Posted by: AHK2019 - Sep-25-2019, 02:33 PM - Forum: Homework - Replies (3)

This is basically a word search solver. I tried to solve the words that must be searched, (list_2), in the matrix board where each character from each..... More

Print this item

  floating point arithmetic
Posted by: exDeveloper - Sep-25-2019, 02:16 PM - Forum: General Coding Help - Replies (2)

I am a beginner at Python. How does one get Python to be more accurate when doing floating point arithmetic?

For example, in this very simple code:..... More

Print this item

  how to create subplots in for loop?
Posted by: python_newbie09 - Sep-25-2019, 01:28 PM - Forum: General Coding Help - Replies (1)

I would like to create a subplot for every column in the dataframe but I am not able to achieve it when I tried to use the code below

[python]
fig..... More

Print this item

  Problem In calling a Function from another python file of project
Posted by: vinod2810 - Sep-25-2019, 01:07 PM - Forum: GUI - Replies (7)

Hello Everyone,
Smile

I had created two different python files (EEG.py and Digital_Filter.py) in pycharm IDE under one project.
And I want ..... More

Print this item

  Factorial sketch(python 3)
Posted by: KingArthur526 - Sep-25-2019, 12:56 PM - Forum: General Coding Help - Replies (1)

I am a fairly new python student, so please excuse any errors.
I am having trouble coming up with the correct output for this sketch i got from a..... More

Print this item

  Need help Pleas
Posted by: RayDryRo - Sep-25-2019, 11:17 AM - Forum: Homework - Replies (1)

Programmering – Skriftlig inlämningsuppgift 1. Vad är fel eller saknas i koden?
Kod 1 ----------------------------------
while True
for y in "ba..... More

Print this item

  Can't minimize this simple function with constraints
Posted by: Alex009988 - Sep-25-2019, 10:33 AM - Forum: Data Science - No Replies

I want to minimize this objective funrtion:
-10 000 000/100*(0*p0+100*p100)
with constraints
p0^56>=0.05
p0+p100=1
0<=p0<=1
0<=p100<=1
So that i used ..... More

Print this item

  Python script dioesn`t run all commands
Posted by: exploit123 - Sep-25-2019, 09:17 AM - Forum: General Coding Help - Replies (5)

Hello I have a Linux machine that has python 2.6 when you log in and with this command scl enable rh-python36 bash I can change it to python 3.6.
I c..... More

Print this item

  Keras: Time series classification
Posted by: midarq - Sep-25-2019, 09:03 AM - Forum: Data Science - No Replies

Hi!

I am designing a Neural Network for a classification of time series. I have 4 classes of functions and around 50000 samples for each class. The..... More

Print this item

  Most efficient way of reshaping a list-array structure
Posted by: midarq - Sep-25-2019, 08:47 AM - Forum: General Coding Help - Replies (2)

Hi!

I'm dealing with huge data and I'm looking for an efficient way to reshape my list of arrays. Here is my solution which I find to be slow
[pyt..... More

Print this item

  Post JSON dat and Image
Posted by: vijsi - Sep-25-2019, 06:58 AM - Forum: General Coding Help - Replies (2)

When i try to post json data and image in API link i get the error for image as unicode error

[python]import pandas
import requests
import json
..... 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 ... 442241
  Newbie with P... 386326
  New Users Int... 380126
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