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,569

Full Statistics

Online Users
There are currently 32 online users.
» 1 Member(s) | 26 Guest(s)
Google, AOL, Apple, snippsat

Latest Threads
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: Gribouillis
12 minutes ago
» Replies: 4
» Views: 114
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Today, 03:05 AM
» Replies: 4
» Views: 2,023
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,075
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: 802
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 3,093
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,540
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

 
  my list is being changed
Posted by: ivinjjunior - May-27-2019, 09:55 PM - Forum: General Coding Help - Replies (15)

Hello guys, here again.
i got a problem i thought would not be possible, i'v created a list for being used as a data base, just for grabbing info, i ..... More

Print this item

  How to filter data using a panda.DateFrame.loc
Posted by: pawlo392 - May-27-2019, 07:36 PM - Forum: Data Science - Replies (1)

I do not know why I am getting such a mistake.
[error]
File "C:\Anaconda3\lib\site-packages\pandas\core\frame.py", line 2726, in _getitem_array
..... More

Print this item

  Python Question
Posted by: Smhbugra - May-27-2019, 06:04 PM - Forum: Homework - Replies (2)

Compare the two codes shown below and state the output if the input entered in each case is -6?

CODE 1
import math
num=int(input("Enter a number ..... More

Print this item

  What area unit the opposite ways in which to understand if an inventory in Python is
Posted by: Smhbugra - May-27-2019, 05:42 PM - Forum: General Coding Help - Replies (2)

The easiest approach - if you recognize that the argument is often a listing is :

[python]if list_var:
print(‘List is not empty’)
else:
pr..... More

Print this item

  Juicy highly composite number needs factorization
Posted by: kevolegend - May-27-2019, 05:22 PM - Forum: General Coding Help - Replies (15)

Trawling the interwebs, I have stumbled across a 101 digit highly composite number. It's a beast to say to least

1033447585165608712824364312547128..... More

Print this item

  Django Python Vscode Error Please Help
Posted by: Smhbugra - May-27-2019, 04:50 PM - Forum: Web Scraping & Web Development - Replies (3)

I get an error when I try to import some Django.


[img]<a href="https://ibb.co/m8dKHV5"><img src="https://i.ibb.co/PQJy5vG/m595h-1.png" alt="m595h..... More

Print this item

  Need help to retrieve a particular string
Posted by: lokesh - May-27-2019, 04:36 PM - Forum: General Coding Help - Replies (3)

Hi,

I need your help to retrieve/display particular string in a file.

file1:
=====
567812345676-123
p-45yt7u75402

I want to ge..... More

Print this item

  Using the GeoJSON API
Posted by: ashlynjane - May-27-2019, 04:35 PM - Forum: General Coding Help - Replies (1)

The location I've been given to input is Indian Institute of Technology Kharagpur India, but somehow I'm getting an error with my code and hence not b..... More

Print this item

  [split] Using Quandl and Python3
Posted by: ratayr - May-27-2019, 12:01 PM - Forum: General Coding Help - Replies (1)

Does any one know a software where I can use text editing and other mathematical functions in coordination with python.

Print this item

  assigned variable fails to show up
Posted by: Skaperen - May-27-2019, 10:07 AM - Forum: General Coding Help - Replies (4)

i have a big script with a line that assigns an IPv6 address string literal to the variable ipv6and the next line tries to print it:[co..... More

Print this item

  Multiprocessing.Queue with hugh data causes _wait_for_tstate_lock
Posted by: buhtz - May-27-2019, 09:47 AM - Forum: General Coding Help - No Replies

X-Post on StackOverflow

An Exception is raised in [b][font=Courier New, Courier, monospace]..... More

Print this item

  while loop
Posted by: ef26 - May-27-2019, 08:23 AM - Forum: General Coding Help - Replies (5)

to the question:
Write a while loop to display the values of the Rating of an album playlist stored in the list PlayListRatings. If the score is less..... More

Print this item

  Extracting 10-q,k
Posted by: Grga - May-27-2019, 07:18 AM - Forum: General Coding Help - Replies (5)

Hi,
I am noob in python so any help is welcome. I extracted 10q using edgar, got txt file, but have no idea how to get or where to start to get reven..... More

Print this item

  Execute .sql file in python
Posted by: pradeepkumarbe - May-27-2019, 07:16 AM - Forum: General Coding Help - Replies (3)

Hello,

I am trying to execute .sql file using python, I am using pymysql.

This is the code I am using to parse sql query

[python]def parse_s..... More

Print this item

  Problems with frames layout
Posted by: Gupi - May-27-2019, 04:07 AM - Forum: GUI - Replies (1)

I'm trying to layout my GUI with next settings:

1st level.
- FrameMain, which takes most part of the window, it's the top one.
- FrameBottom, whi..... More

Print this item

  [pygame] distance detector
Posted by: N0m1t - May-26-2019, 08:10 PM - Forum: Game Development - Replies (6)

Hi,

how I can calculate the distance of moving object to the walls in the labyrinth like on the picture?

https://photos.app.goo.gl/D9YyTanhhfW..... More


Attached Files

Thumbnail(s)
   
Print this item

  Pandas: faster method to count occurrences
Posted by: frame - May-26-2019, 07:43 PM - Forum: Data Science - No Replies

Hi.
I'm a file myfile.csv like this:
Conc Date Run I II III IV V
1 13/10/2018 AA 4 23 28 79 11
2 16/10/2018 AA 41 1 43 30 9
3 18/10/2018 AA 21 12..... More

Print this item

  [Pygame] Problems with my textbox
Posted by: SheeppOSU - May-26-2019, 05:53 PM - Forum: Game Development - Replies (1)

I was trying to make a text box, but I ran into a few problems. Here are the problems:
Problem 1 - Backspace will delete the first letter it is looki..... More

Print this item

  Python on Linux, Total Noob to Both
Posted by: halcyon - May-26-2019, 05:49 PM - Forum: General Coding Help - Replies (4)

I'm probably making a huge mistake by doing two new things at once: Learn Linux & Learn Python in one package. I apologize if I'm totally in the wrong..... More

Print this item

  Tilemap 3 squares too tall
Posted by: michael1789 - May-26-2019, 04:32 PM - Forum: Game Development - Replies (2)

Hi all,

Very new, learning python for fun.

I've been mostly following this a youtube tutorial by KidsCanCode on youtube for making a tile based ..... More

Print this item

  Creating a wavelet matrix
Posted by: pingaan - May-26-2019, 02:59 PM - Forum: Homework - Replies (4)

Hi,

A few friends and I are on a school project and one of the tasks conserns creating a wavelet matrix. The idea is to create this wavelet matrix ..... More

Print this item

  Are all points within a rectangle?
Posted by: aapurdel - May-26-2019, 02:46 PM - Forum: Data Science - Replies (1)

Modify your function from the previous question so it takes a list of points rather than a single point and returns boolean True only if all points in..... More

Print this item

  making the code easier, list comprehension
Posted by: go127a - May-26-2019, 02:31 PM - Forum: General Coding Help - Replies (2)

Hello.

I receive a number like: ‘n’ from input, which means I will receive ‘n’ two number;
The first one is price and the second one is quality.
..... More

Print this item

  stepper motor modbus-tcp
Posted by: Tomerkrp - May-26-2019, 12:44 PM - Forum: Networking - Replies (1)

Need Help!!!

I am trying to control a stepper motor thet has a internal controller and communication via mudbus tcp I want to send commands to him ..... More

Print this item

  Extend my __init__ method by an extra parameter Tol
Posted by: duyduy - May-26-2019, 11:31 AM - Forum: Homework - Replies (8)

I want to extend my __init__ method by an extra parameter Tol (tolerance) which serves as a threshold for converting a given matrix to a sparse matrix..... More

Print this item

  [matplotlib]Multiple persistent modifiable rectangle selector
Posted by: synaps - May-26-2019, 11:08 AM - Forum: Data Science - No Replies

Hi,

I am currently trying to display an image with several highlighted and modifiable region of interests. I want to solve it by using for example ..... More

Print this item

  Makefile to build Python 3.7.3 on CentOS 7
Posted by: OstermanA - May-26-2019, 06:39 AM - Forum: Code sharing - Replies (4)

Overview
I've created a makefile intended to build Python 3.7.3 and all of its dependencies in a stan..... More

Print this item

  AttributeError: module 'numpy' has no attribute 'array
Posted by: aapurdel - May-26-2019, 06:19 AM - Forum: Data Science - Replies (7)

>>> import numpy as np
>>> np.__file__
'C:\\Adrian\\Python37\\Lib\\numpy-1.11.2\\numpy\\__init__.py'
>>> list_int = [8, 3, 34, 111]
>>> a_int = np..... More

Print this item

  Int Variables in different Tkinter windows only returning 0
Posted by: harry76 - May-26-2019, 05:51 AM - Forum: GUI - Replies (3)

I have checkboxes in a secondary tkinter window (not root) that only return an IntVar of 0 even when selected. This is not a problem in the main windo..... More

Print this item

  Question #1: Count symbols
Posted by: aapurdel - May-26-2019, 03:33 AM - Forum: Data Science - Replies (3)

In this question, you are given a string s which represents a DNA string. The string s consists of symbols 'A', 'C', 'G', and 'T'. An example of a len..... More

Print this item

  How can I get the width of a string in Python?
Posted by: aquerci - May-26-2019, 02:16 AM - Forum: General Coding Help - Replies (14)

is there a way to get the width of a string in pixel or in inches using Python 3?

Print this item

  fixed width numbers
Posted by: Skaperen - May-26-2019, 01:13 AM - Forum: General Coding Help - Replies (15)

is there an easy way to output numbers in a simple print() call in a fixed width? for cases with leading zeros i have been doing:[code]print(str(numb..... More

Print this item

  [split] Array in numpy
Posted by: aapurdel - May-25-2019, 07:30 PM - Forum: Data Science - Replies (1)

I renamed __init__.py to numpy.py
I run >>> import numpy as np
I run >>> np.__file__ 'C:\Adrian\Python37\Lib\numpy-1.11.2\numpy\numpy.py'
SyntaxErr..... More

Print this item

  Program Problem (2)
Posted by: ChrisG - May-25-2019, 05:00 PM - Forum: General Coding Help - Replies (2)

[python]
from time import sleep
from random import randint

print('Hallo, en welkom bij deze tafeltrainer.')
print('Keuzemenu')
print(' 1 = Begi..... More

Print this item

  Problem with tkinter and string
Posted by: Dule - May-25-2019, 04:55 PM - Forum: GUI - Replies (5)

Code:

from tkinter import *
import random
from tkinter.messagebox import*
def checking():
outPut=10
overLap=Label(text=outPut)
ov..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Parse Markdown / get the ... 12 minutes ago SpongeB0B Gribouillis 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... 501015
  Web Scraping ... 441079
  Newbie with P... 385147
  New Users Int... 369742
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 7371
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