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,271
» Latest member: aminrony1999
» Forum threads: 38,787
» Forum posts: 175,856

Full Statistics

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

Latest Threads
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
6 hours ago
» Replies: 3
» Views: 140
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
10 hours ago
» Replies: 4
» Views: 142
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Today, 08:44 AM
» Replies: 2
» Views: 110
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 155
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 346
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 65
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 108
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 351
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 199
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 306

 
  Newbee - substing of column
Posted by: andrewjmdata - Feb-17-2018, 02:26 PM - Forum: General Coding Help - Replies (2)

Hi, I have a column in a dataframe/table called "LSOA Name". 1st issue is the field has a name in it. Referencing it as "df1['LSOA name']" seems to wo..... More

Print this item

  minimize with scipy.optimize
Posted by: tobenmoben - Feb-17-2018, 01:47 PM - Forum: Data Science - No Replies

Hi evrybody,

i have a noisy signal df.measdata and want to fit a model function in my measurement data. the model function is a sinus, whoms frequenc..... More

Print this item

  Combine nested lists in output
Posted by: python12345 - Feb-17-2018, 01:06 PM - Forum: Homework - Replies (2)

TASK:

rhList = [[4.276, 7.000], [4.000, 8.000], [3.771, 9.000], \
[4.443, 3.142], [3.142, 6.284], [2.565, 9.425], [2.221, 12.566]]
rhLi..... More

Print this item

  mkdir() help
Posted by: SteampunkMaverick12 - Feb-17-2018, 11:50 AM - Forum: General Coding Help - Replies (7)

I want to make a folder in a folder that the program is located in. The chdir() only works for computer-specific directories. any help?

Print this item

  Generic If Popup Exists Close It Script
Posted by: digitalmatic7 - Feb-17-2018, 09:32 AM - Forum: Web Scraping & Web Development - Replies (1)

Hey guys, I'm working on a small script that will check if there's more than 1 window (detect if there's a popup), and if it finds one it will switch ..... More

Print this item

  infinite JSON
Posted by: Skaperen - Feb-17-2018, 08:27 AM - Forum: General Coding Help - Replies (8)

i want to parse an infinite stream of JSON. i also want to generate an infinite stream of JSON. this will be sent and received over a TCP connection..... More

Print this item

  ByteArray outside while true
Posted by: Schampbakken - Feb-17-2018, 07:56 AM - Forum: General Coding Help - Replies (5)

Hello,

I have got a question.
I'm trying to define a bytearray outside an While: True loop

[python]
while True:
byte = bytearray(57) # Da..... More

Print this item

  Assignment help
Posted by: yoonash2930 - Feb-17-2018, 07:50 AM - Forum: Homework - Replies (1)

Hi guys just trying my luck here as i am having some trouble with my assignment. Any help is appreciated thank you!

In a class with n students where ..... More

Print this item

  TCG Pack Generator Program
Posted by: ThePastHappened - Feb-17-2018, 07:11 AM - Forum: Jobs - Replies (2)

Hello! First post here, as I have pretty much zero experience with Python. My name's Brooke.

I came here because I have a job request!
So, I've ma..... More

Print this item

  xtick vetical not working
Posted by: bmt - Feb-17-2018, 04:42 AM - Forum: Data Science - Replies (2)

Hi

I am new to pyhton. I wrote a script for time series plot with two y axis. In that script xtick vertical is not working. And I am getting only o..... More

Print this item

  My first Python scraping script not working...
Posted by: MattH - Feb-17-2018, 03:55 AM - Forum: Web Scraping & Web Development - Replies (11)

I'm learning Python and have a huge interest in bots and scraping.

I made the code below to extract the h1 text from a web page, but an error comes..... More

Print this item

  where is this documented?
Posted by: Skaperen - Feb-17-2018, 01:46 AM - Forum: News and Discussions - Replies (8)

the following code:

foo = {}.update(os.environ)
has a behavior that i have been unable to find documentation that describes (assu..... More

Print this item

  printing list of random generated rectangles
Posted by: Zatoichi - Feb-17-2018, 01:38 AM - Forum: Homework - Replies (8)

[python]
import random

class Rectangle:

def __init__(self, width, height):
self.width = width
self.height = height
..... More

Print this item

  I give up...Please help.
Posted by: high_existence - Feb-16-2018, 11:52 PM - Forum: Homework - Replies (4)

Hi fellows.

I just started to learn python but I am stuck with this problem.

I have to create a function:

def clip(lo, x, hi).

The functio..... More

Print this item

  What do you call this type of parameter?
Posted by: league55 - Feb-16-2018, 10:39 PM - Forum: General Coding Help - Replies (2)

In some code I've seen stuff like this:

def some_function(a -> int):
    #do something
I thought a -> int was called a decorat..... More

Print this item

  Load spatialite in Python 3.6 on Win10 failed
Posted by: RTFirefly - Feb-16-2018, 09:21 PM - Forum: General Coding Help - Replies (1)

Hello,

I’ve a problem with Python and sqlite/spatialite on Windows 10.

I’m writing a small Python module to interact with a spatialite databas..... More

Print this item

  Hello, I am thinking if in python - is there a "check for color under you" command???
Posted by: Ondrejoda - Feb-16-2018, 09:02 PM - Forum: General Coding Help - Replies (7)

Because I was tying to make a tron- like game... python

Print this item

  Thank you from a rookie with a question
Posted by: execsys - Feb-16-2018, 07:37 PM - Forum: General Coding Help - Replies (7)

Good afternoon folks :) I have a question that's going to require a fairly deep technical review but as I am new to python (2 weeks) and getting furth..... More

Print this item

  Making maths .py program faster
Posted by: Shutcois - Feb-16-2018, 05:22 PM - Forum: Homework - Replies (1)

Hello!

I just started learning python this week and i'm struggling with this program.

It's a program that gets one input, being a float with 2 d..... More

Print this item

  pip installing package using c++ boost in windows
Posted by: 6hearts - Feb-16-2018, 03:38 PM - Forum: General Coding Help - Replies (2)

I'm trying to install the dionysus package in windows.
I've installed Visual studio 2017 (to get the c++ compiler), I've installed boost and it works..... More

Print this item

  Help required to print MAC addresses
Posted by: anna - Feb-16-2018, 07:33 AM - Forum: General Coding Help - Replies (50)

Hi There,

I am getting below MAC details from telnet script, I am not able print in MAC address format, please help.


mac address | bpor..... More

Print this item

  Problems with not having exceptions crash my script
Posted by: league55 - Feb-16-2018, 06:38 AM - Forum: General Coding Help - Replies (7)

I wrote a decorator to avoid having exceptions crash my script and it's not working. Here's the wrapper:

helpers.py
[python]def try_wrapper(func):..... More

Print this item

  Question about dot notation syntax (Django source)
Posted by: Drone4four - Feb-16-2018, 12:58 AM - Forum: Web Scraping & Web Development - Replies (3)

In, “Password management in Django”, it explains t..... More

Print this item

  Writing Answers From Questionnaire to a new .txt Document
Posted by: FizzyBreak579 - Feb-16-2018, 12:16 AM - Forum: General Coding Help - Replies (4)

Hello I am trying to make a questionnaire, and I am trying to get the answers to be written into a .txt document. It was working until I added more co..... More

Print this item

  Mozilla Project Things open network
Posted by: Larz60+ - Feb-15-2018, 08:33 PM - Forum: News and Discussions - No Replies

Not specifically python related, but noteworthy:
..... More

Print this item

  args converter-help
Posted by: antonmichel - Feb-15-2018, 07:42 PM - Forum: GUI - No Replies

hey guys,

I am making a mobile app using kivy, but I cannot understand how the args converter works!, I want it to make my main list work. I read a..... More

Print this item

  Hey guys, help a newbie out with a list problem.
Posted by: sdezigner - Feb-15-2018, 04:41 PM - Forum: General Coding Help - Replies (2)

Hey all,

As the title suggests, I'm quite new to python and programming in general,(although I have some basic understanding and have played a bit ..... More

Print this item

  x o game
Posted by: Iman - Feb-15-2018, 04:32 PM - Forum: Code sharing - Replies (3)

Hello every one
I am new to programming in python
I wrote this x o text game and I need to have an advice
I would like to make it user friendly i..... More

Print this item

  Upload file to server from client
Posted by: oncebuddy - Feb-15-2018, 02:15 PM - Forum: Homework - Replies (6)

I have a client which will connect to and upload a file to a server using sockets.

cityserver.py
[python]
#!/usr/bin/env python3

imp..... More

Print this item

  Executing external Python file in background and get output in python
Posted by: nakiscia - Feb-15-2018, 02:07 PM - Forum: General Coding Help - No Replies

I have an python file that takes some inputs and print outputs according to these inputs. I am try to execute this script in another script. All I nee..... More

Print this item

  New to Python-Unable to run a .py file in terminal
Posted by: AshishSangwan - Feb-15-2018, 01:16 PM - Forum: General Coding Help - Replies (3)

Hi All
I have just started learning python and working on my MacBook Air using Terminal
I have saved a simple script with just one print command and..... More

Print this item

  String Programs
Posted by: PythonLearner - Feb-15-2018, 11:09 AM - Forum: General Coding Help - Replies (1)

Hi Everyone,

I have just started learning Python on my own. I solved the string exercises given on Google's Python Learning website, https://develo..... More

Print this item

  Beginner. Calculator problem ¯\_(ツ)_/¯
Posted by: stykus1992 - Feb-15-2018, 11:01 AM - Forum: General Coding Help - No Replies

Hello guys, can someone help me understand what have I done wrong here :D

In last part, when it asks "Do u want some more?" and instead of writing ..... More

Print this item

  Read binary file
Posted by: ammann - Feb-15-2018, 10:13 AM - Forum: General Coding Help - Replies (5)

Hi, I am beginner and I need to read binary files.
How can I read each forth(nth) chunk of 1024 bytes.

Print this item

  How to make Python stops for debugging when the error occurs?
Posted by: Tim - Feb-15-2018, 09:26 AM - Forum: General Coding Help - Replies (5)

Hi,
Is there a way to start the debugging mode at the point when error occurs?
I do not like using the conditioned "Breakpoint", I want the debugg..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Graph Interpolate Difficu... 6 hours ago Tuurbo46 deanhystad General Codin...
  [SOLVED] Access keys and ... 10 hours ago Winfried Winfried General Codin...
  PermissionError: [Errno 1... Today, 08:44 Tuurbo46 Tuurbo46 GUI
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
  sorting a lisr of file pa... 11-15, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... 11-14, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 15:33 pbkurd Larz60+ General Codin...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... 11-13, 11:52 yutaozhou noisefloor News and Disc...
Most views
  The best Prog... 579077
  Tutorial Requ... 511174
  Web Scraping ... 442061
  Newbie with P... 386118
  New Users Int... 378368
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+ 12108
buran 8196
snippsat 7389
deanhystad 6914
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
aminrony1999 Today
fobby888 Today
digitalboy346 Today
ben9090o Today
ViktoriaMetodieva Today

User Panel Messages

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