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,299
» Latest member: matt
» Forum threads: 38,796
» Forum posts: 175,894

Full Statistics

Online Users
There are currently 35 online users.
» 1 Member(s) | 31 Guest(s)
Bing, Google, Mojeek, racingsubby

Latest Threads
Help with Serial.write in...
Forum: General Coding Help
Last Post: racingsubby
25 minutes ago
» Replies: 7
» Views: 577
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
4 hours ago
» Replies: 3
» Views: 94
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
10 hours ago
» Replies: 1
» Views: 61
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Yesterday, 08:47 AM
» Replies: 3
» Views: 137
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Yesterday, 04:40 AM
» Replies: 6
» Views: 3,197
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 262
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 148
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 100
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,533
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 184

 
  learning to while loop
Posted by: iofhua - May-23-2019, 03:22 PM - Forum: General Coding Help - Replies (7)

[python]
colours = []
while repeat = True
colours.append(input('Please enter a favourite color:'))
answer = input('Would you like to add a..... More

Print this item

  How to catch string between two strings
Posted by: SriMekala - May-23-2019, 02:04 PM - Forum: General Coding Help - Replies (3)

Hi,

I have below code to catch a string between two strings using a code as below:

I want to catch a string between '.csv' & _ just before .csv...... More

Print this item

  compare element of a dictionary
Posted by: Amniote - May-23-2019, 01:42 PM - Forum: General Coding Help - Replies (1)

Hello everyone

Here is an excerpt from my file I'm working on:

HS3ST1 GPC5 0 0 0 0 96 900 387 939
HS3ST1 GPC1 0 0 0 61 96 900 470 948 ---> EXP..... More

Print this item

  Can't read text file with pandas
Posted by: zinho - May-23-2019, 12:41 PM - Forum: Data Science - Replies (6)

Hi.
I would like help to:
1-I need know why I cannot read a text file with pandas.
2-If possible read this file, get all rows that have C100 va..... More

Print this item

  Django - Retrieve form data
Posted by: justantest - May-23-2019, 11:47 AM - Forum: Web Scraping & Web Development - No Replies

Hey all,

I created checkboxes with form for filter data from my model.
JavaScript code add textbox when checkbox is enabled.
My problem is that I..... More

Print this item

  Invoice scanning image/pdf into text
Posted by: animeshsarraf - May-23-2019, 09:50 AM - Forum: Data Science - Replies (1)

What are the python packages to scan documents exactly same format as in the image?
How can I do the text analysis/nlp to extract entities/fields and..... More

Print this item

  finding index to given value from dataset
Posted by: gamma - May-23-2019, 09:49 AM - Forum: Data Science - Replies (3)

So I have some data and I want to find out the index of the minimum. Since the data structure is not a list, I can't just use the [python]list.index()..... More

Print this item

  i lied it is homework and i need help
Posted by: JamieBR56 - May-23-2019, 09:41 AM - Forum: Homework - Replies (6)

so my mate knows me as a coder but i told him i could do it but i cant do it so guys i need your help ,just so u know its not home work or anything li..... More

Print this item

  How to remove form feed from file
Posted by: gurbhej_singh - May-23-2019, 09:02 AM - Forum: General Coding Help - Replies (5)

Greetings for the day.
I have created a script which is used to extract a certain section of data from the file, which works properly. But in the spe..... More

Print this item

  [split] how to get data in web
Posted by: GeorgeM - May-23-2019, 08:39 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi guys! I got some troubles with some data in XML. Not all information goes as well. So I need to gane some information from this website to expand m..... More

Print this item

  Anaconda3 64bit - problem using a DATAQ Instruments D1110
Posted by: dgardner54956 - May-23-2019, 05:00 AM - Forum: Data Science - Replies (5)

Hi:

Fairly new to data science oriented Python environment making, and struggling for more than month to put together a collection of audio analysi..... More

Print this item

  Iteration of an array
Posted by: PappaBear - May-22-2019, 11:11 PM - Forum: General Coding Help - Replies (5)

I have an two-dimm array, with the "internal" array as a named tuple.

EG: I have
[python]obj_list= []
my_Object = namedtuple('my_Object', 'name ..... More

Print this item

  Please help me get this code working that i haven't posted yet
Posted by: damnit - May-22-2019, 09:36 PM - Forum: Homework - Replies (3)

'Write a program that has 3 variables (a, b and c). a = 12 and b = 6. c should be equal to a plus b.
The program should print c.'
HOW? How would yo..... More

Print this item

  dates on graph
Posted by: mcgrim - May-22-2019, 09:16 PM - Forum: Homework - Replies (20)

I am trying to plot a bar graph with the 'movements' represented.
Here is my code
[python]
from astral import Astral
from scipy import *
from py..... More

Print this item

  proteins interactions
Posted by: Amniote - May-22-2019, 09:06 PM - Forum: General Coding Help - Replies (2)

Hello everyone,

I need to create protein interaction chains (composed of 10 proteins)

To do this, I created a dictionary in this form:

Protei..... More

Print this item

  Function returns "NoneType"
Posted by: eoins - May-22-2019, 08:28 PM - Forum: General Coding Help - Replies (3)

[python]def collectData(file,arr,index):
arr[index, 0] = np.fromfile(file, dtype='uint32', count=1)
eSize = arr[index, 0]

arr[in..... More

Print this item

  split file
Posted by: mcgrim - May-22-2019, 08:17 PM - Forum: General Coding Help - Replies (1)

I have a file with many rows.
This is one of the lines:

2015-03-05 22:08:06.636451 2321

so in order to separate it, I wrote the following:..... More

Print this item

  Reading JSON - error
Posted by: jmair - May-22-2019, 06:09 PM - Forum: General Coding Help - Replies (2)

I'm trying to iterate through all of the questions and answers. What am I doing incorrectly?

This works and prints out entire JSON from the top of..... More

Print this item

  How make a button perform a function after the user inputs numbers
Posted by: Zephyrforce - May-22-2019, 05:33 PM - Forum: GUI - Replies (1)

I'm dabbling in GUI to implement the program I made for an assignment into a GUI, but I have no idea how to solve this.
My plan was for the user to e..... More

Print this item

  Snakegame is very laggy
Posted by: Andersx2 - May-22-2019, 05:30 PM - Forum: GUI - Replies (3)

Hi there! I am making a Python game at my school, and have basically made the whole game. I am very new at programming, so please be kind haha.
My pr..... More

Print this item

  pylint & #!
Posted by: pileofrogs - May-22-2019, 04:09 PM - Forum: General Coding Help - Replies (1)

Hi all. I've got code that looks like:

#! /usr/bin/python3
'''
A script that does stuff
'''
from lib.utils import thingy
..... More

Print this item

  Forms' expansion
Posted by: Gupi - May-22-2019, 04:01 PM - Forum: GUI - Replies (5)

Hello everyone,
I'm new in Python (especially tkinter) and I need an advice.

I'd like to make 2 forms in a window, like it's shown on the image.
..... More

Print this item

  my function is stuck on loop - even when it not supposed to be
Posted by: korenron - May-22-2019, 02:26 PM - Forum: General Coding Help - Replies (2)

hello ,
can someone explain why my code is stuck on loop?
even if I don't press the button it run the button_callback function (like I press the bu..... More

Print this item

  Simple Calculator Help
Posted by: destr0yer667 - May-22-2019, 01:50 PM - Forum: General Coding Help - Replies (1)

I just started learning python 3 this week and I'm trying to a code a simple calculator. I'm a straight beginner and have a good passion to learn pyth..... More

Print this item

  trouble with os.listdir on a network drive
Posted by: lconner - May-22-2019, 12:58 PM - Forum: General Coding Help - Replies (10)

everyone,

I am trying to get a list of directories and files on a network drive.
My code is:

[python]print 'running...'

# imports
import o..... More

Print this item

  Unable to get the data
Posted by: pythonFresher - May-22-2019, 12:20 PM - Forum: General Coding Help - Replies (5)

Hi All,

I am trying to get one of the value named as "TotalNumberOfProducts" from one of the API.The API is below
http://xx:8080/maintenance/job?jo..... More

Print this item

  utc to central european time
Posted by: mcgrim - May-22-2019, 11:18 AM - Forum: Homework - Replies (4)

I am working on the same homework but different task, so I wasn't sure if I had to start a new thread or not.
I think I am running into a logical err..... More

Print this item

  Einsum- ValueError
Posted by: pawlo392 - May-22-2019, 10:21 AM - Forum: Homework - Replies (3)

I don't know why I getting error:
[error]
ValueError: operand has more dimensions than subscripts given in einstein sum, but no '...' ellipsis prov..... More

Print this item

  Raspberry pi simpel coding
Posted by: mike3001 - May-22-2019, 10:18 AM - Forum: General Coding Help - Replies (2)

Hallo phyton programmers :).

i have some hard time getting this to working right.
i have this Stopwatch witch is working well, but i would like to..... More

Print this item

  datetime
Posted by: mcgrim - May-22-2019, 09:28 AM - Forum: Homework - Replies (4)

I have a document with dates and times inside.
I have converted them into datetime objects, but now
I am having trouble in putting the date and time..... More

Print this item

  Most optimized way to merge figures from multiple PDFs into one PDF page?
Posted by: dmm809 - May-22-2019, 08:59 AM - Forum: General Coding Help - Replies (1)

Hi everyone!

The thread can be found from here:
..... More

Print this item

  Error trying to Calling web service
Posted by: stahorse - May-22-2019, 08:33 AM - Forum: General Coding Help - Replies (2)

Hi,

I'm getting this error below trying to call Web Service, can some help me as to what does it mean?

I took the working code and now trying to..... More

Print this item

  error running script in python3.7.2 interpreter
Posted by: srm - May-22-2019, 07:36 AM - Forum: General Coding Help - Replies (4)

hi there ,
I am trying to run one of my script file i.e firstfile.py on my windows 2008 r2 machine
where in I have installed python3.7.2.
While ins..... More

Print this item

  Stuck on Chapter 19 Python Crash Course with error
Posted by: outomyelement - May-22-2019, 04:39 AM - Forum: Web Scraping & Web Development - No Replies

Hello, I'm getting the following error when trying to runserver to work through chapter 19 - user accounts. I have used the ..... More

Print this item

  Pexpect baby steps
Posted by: slouw - May-22-2019, 03:49 AM - Forum: General Coding Help - Replies (9)

I did say baby steps.
I know I am logging in ok as I can do a show users on the target box and confirm that.
I want to see the output of my command ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Help with Serial.write in... 25 minutes ago racingsubby racingsubby General Codin...
  silent deployment Python ... 4 hours ago Bummibaer Larz60+ News and Disc...
  Proposal for PEP 10 hours ago matt Gribouillis News and Disc...
  My regex function is not ... Yesterday, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python Yesterday, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... 11-25, 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 ...
Most views
  The best Prog... 579377
  Tutorial Requ... 512412
  Web Scraping ... 442298
  Newbie with P... 386343
  New Users Int... 380341
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+ 12111
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
matt Yesterday
Divyakrishnan071 Yesterday
ichsanputr Yesterday
nicos18 11-25
Moltar1997 11-25

User Panel Messages

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