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

Full Statistics

Online Users
There are currently 33 online users.
» 0 Member(s) | 30 Guest(s)
Google, Bing, Mojeek

Latest Threads
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
2 hours ago
» Replies: 3
» Views: 92
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
9 hours ago
» Replies: 1
» Views: 59
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Yesterday, 08:47 AM
» Replies: 3
» Views: 134
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Yesterday, 04:40 AM
» Replies: 6
» Views: 3,196
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: 146
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,531
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 184
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 89

 
  [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

  How to really change dir in a script ?
Posted by: Usjes - May-25-2019, 04:36 PM - Forum: General Coding Help - Replies (1)

Hi,

I am working with source control software which has a python API.
I want to be able to create a new dir and then populate code from the data..... More

Print this item

  LCM with recursion ( least common multiple)
Posted by: foxman322 - May-25-2019, 12:55 PM - Forum: Homework - Replies (4)

When i run this code python shell shows nothing

in '2.txt' 2 numbers " 21,53"
[python]
# least common multiple
def lcm(a,b):
with open('2.txt'..... More

Print this item

  Program Problem
Posted by: ChrisG - May-25-2019, 11:21 AM - Forum: General Coding Help - Replies (2)

I made a math trainer and here's the code:

[python]
from time import sleep
from random import randint

ingame= 1

while ingame< 2:
num1=..... More

Print this item

  operation with series
Posted by: elmismo999 - May-25-2019, 10:17 AM - Forum: Homework - Replies (1)

Hello,
if I have 2 series:

Serie1
Name Number
---- ------
a 10
b 20
c 30
Serie2
Name Number
---- ------
a 5
b ..... More

Print this item

  Python 2.7 and Ubuntu 19.04?
Posted by: ProDigit - May-25-2019, 10:17 AM - Forum: General Coding Help - Replies (2)

Seems like I can't get a program (Folding at home) to run, that has Python 2.7 dependencies in Ubuntu 19.04, which comes with Python 3 by default.
It..... More

Print this item

  splitting numeric list based on condition
Posted by: python_newbie09 - May-25-2019, 09:57 AM - Forum: General Coding Help - Replies (7)

I am trying to split a list of numbers into sublists once a condition is met.

num_list = [0,1,2,3,4,5,2,3,4,5,0,1,2,3,4,5,0,1,2,3,4,5]

Whenever..... More

Print this item

  Using tkinter and mutiprocess ok on windows, locks up on ubuntu?
Posted by: ice - May-25-2019, 08:18 AM - Forum: GUI - Replies (3)

the code run well in windows but it is leading to interface stuck(the whole system interface) under the ubuntu(16.04 and 18.04).
what's wrong?
t..... More

Print this item

  terminal emulation
Posted by: Skaperen - May-25-2019, 05:15 AM - Forum: News and Discussions - Replies (3)

does anyone know of any Python code that can do the screen formatting part of terminal emulation? i need to feed it a stream like a terminal would ge..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  silent deployment Python ... 2 hours ago Bummibaer Larz60+ News and Disc...
  Proposal for PEP 9 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 ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
Most views
  The best Prog... 579377
  Tutorial Requ... 512410
  Web Scraping ... 442294
  Newbie with P... 386343
  New Users Int... 380339
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