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,982
» Latest member: kyleconor797
» Forum threads: 38,733
» Forum posts: 175,567

Full Statistics

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

Latest Threads
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: SpongeB0B
4 hours ago
» Replies: 2
» Views: 102
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Today, 03:05 AM
» Replies: 4
» Views: 2,022
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Yesterday, 07:43 AM
» Replies: 2
» Views: 431
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:21 AM
» Replies: 2
» Views: 1,074
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,134
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 800
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 3,092
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,539
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 9,126
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,584

 
  logical error for loop
Posted by: mcgrim - May-23-2019, 07:24 PM - Forum: Homework - Replies (8)

This is the list I am working with:

2015-01-25 14:05:41.274647 70
2015-01-25 14:08:05.036915 2070
2015-01-25 14:10:05.536604 70
20..... More

Print this item

  Histogram and text file.
Posted by: pawlo392 - May-23-2019, 07:10 PM - Forum: Homework - Replies (1)

I have such a text file:
breast-cancer
I want to create a histogram and any other grap..... More

Print this item

  Read ASCII File
Posted by: pyth0nus3r - May-23-2019, 06:54 PM - Forum: General Coding Help - Replies (3)

I am trying to read a file which contains ASCII values in the format: 072069076076079.

I can copy every three characters manually and pass it to th..... More

Print this item

  sys.path miss dist-packages in a virtual env.
Posted by: chomwitt - May-23-2019, 06:26 PM - Forum: General Coding Help - Replies (2)

I created a virtual enviroment with venv.

And i noticed that :
$ python3
>>> import sys
>>> sys.path
['', '/usr/lib/python35.zip', '/usr/lib/py..... More

Print this item

  Boto 3 and Mongo DB
Posted by: zatlas1 - May-23-2019, 05:40 PM - Forum: General Coding Help - Replies (2)

Is MongoDB supported by Boto 3?

Print this item

  How to get separate versions?
Posted by: noodlesnoah - May-23-2019, 05:11 PM - Forum: General Coding Help - Replies (3)

I was wondering how to get seperate python versions like the ones in the pictures I have python 3.6.4 downloaded.

[img]https://imgur...... More

Print this item

  help me remember the name of a Book . . .
Posted by: sailboatevanmoser - May-23-2019, 04:00 PM - Forum: News and Discussions - Replies (3)

Hi: I am looking for a book that I had read a while back. It tracks the experience of a development team. The book’s title is something like “1035 b..... More

Print this item

  [numpy]add a value to an array
Posted by: elmismo999 - May-23-2019, 03:54 PM - Forum: Data Science - Replies (1)

I have an array created with numpy

arr10=np.random.randint(0,10,(4,4))
If for example I want to sum to each element the value 1..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Parse Markdown / get the ... 4 hours ago SpongeB0B SpongeB0B General Codin...
  Error: cannot mix str wit... Today, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... Yesterday, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... Yesterday, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... 09-29, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
Most views
  The best Prog... 577449
  Tutorial Requ... 501004
  Web Scraping ... 441078
  Newbie with P... 385145
  New Users Int... 369741
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+ 12092
buran 8178
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
kyleconor797 Today
miriamwilliam Today
Davidkiplimo Today
Joliekeva Today
silversimon2 Yesterday

User Panel Messages

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