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,298
» Latest member: Divyakrishnan071
» Forum threads: 38,795
» Forum posts: 175,890

Full Statistics

Online Users
There are currently 58 online users.
» 0 Member(s) | 56 Guest(s)
Google, Bing

Latest Threads
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
28 minutes ago
» Replies: 3
» Views: 97
silent deployment Python ...
Forum: News and Discussions
Last Post: Bummibaer
35 minutes ago
» Replies: 2
» Views: 69
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
4 hours ago
» Replies: 6
» Views: 3,176
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Yesterday, 02:50 AM
» Replies: 6
» Views: 241
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 126
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 89
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,524
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 173
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 80
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,146

 
  Raycasting GPS coordinates
Posted by: drybulkfreight - Aug-17-2019, 07:39 AM - Forum: General Coding Help - Replies (10)

Hello,

I want to test whether they are within a polygon I have drawn. I have an CSV file with 5000 lines of latitude and longitude GPS coordinates...... More

Print this item

  changing the process command line arguments in python
Posted by: Skaperen - Aug-17-2019, 06:22 AM - Forum: General Coding Help - Replies (3)

in C i can update the argv[] strings in place with a new set of arguments and it shows up when the ps command (in Linux or Unix) shows the proc..... More

Print this item

  Beginner mistake.
Posted by: bbweeg - Aug-17-2019, 01:00 AM - Forum: General Coding Help - Replies (1)

Hello, I am a beginer learning on dataquest and I am stucked with a simple exercice where I make a mistake where I have my table new title but not th..... More

Print this item

  Question about using lambda
Posted by: hikerguy62 - Aug-17-2019, 12:09 AM - Forum: General Coding Help - Replies (4)

I just wrong across this "anonymous function" named lambda and have a quick question.

Why am I getting the lambda error message with this code:
[..... More

Print this item

  Configure label from different class
Posted by: storzo - Aug-16-2019, 10:44 PM - Forum: GUI - Replies (1)

Hi I stack, i can't change image in config via main class:

[python]
class SETUP:

def __init__(self, root):
self.root = root
..... More

Print this item

  Matplotlib : linewidth parameters
Posted by: Zopost - Aug-16-2019, 07:07 PM - Forum: General Coding Help - No Replies

Dear community,

This subject as already been asked on the net but in my case my problem seems to be slightly different. I'm trying to draw a line u..... More

Print this item

  hardest week yet: some guidence please
Posted by: raymond2688 - Aug-16-2019, 05:40 PM - Forum: Homework - Replies (25)

Here is the order of my assignment

Step 1
The objective of this program is simply to open a file, read each line and display it. Your prog..... More

Print this item

  python 3 and python 2 pips not working in windows
Posted by: gtx - Aug-16-2019, 03:27 PM - Forum: General Coding Help - Replies (5)

hello i installed python3 and want in windows that when i type python3 it calls python3 and just python it calls python 2 cause i installed cocos2dx..... More

Print this item

  How to ignore formulas when reading excel file
Posted by: SriMekala - Aug-16-2019, 03:14 PM - Forum: General Coding Help - Replies (3)

Hi,
I am reading an excel file which has formulas in a few columns names. When read using pd.read_ecel, the column names are becoming 0, 0.1, 0.2 etc..... More

Print this item

  connect 4 unknown erroer
Posted by: Help_me_Please - Aug-16-2019, 10:27 AM - Forum: General Coding Help - Replies (6)

This is the start of a 4 in a row game / connect 4. I am experiencing the error:

line 10, in is_valid_location
if board[bottom_row][column] ==..... More

Print this item

  compare output with dict
Posted by: anna - Aug-16-2019, 09:16 AM - Forum: General Coding Help - No Replies

Hi All,

I am parsing router configuration, however how can i match dict values with output and print/add matched line in dict.

[python]from cisc..... More

Print this item

  Byte string catenation inefficient in 3.7?
Posted by: RMJFlack - Aug-16-2019, 07:32 AM - Forum: General Coding Help - Replies (13)

I'm noticing something odd with byte string catenation versus text string.
Im building a bmp file. The core code is (ignoring row padding and heade..... More

Print this item

  Python-Ldap
Posted by: amitsamanta - Aug-16-2019, 05:12 AM - Forum: News and Discussions - Replies (1)

Hi,

First of all i am writing a code in python for connecting LDAP and authenticate user who will be login in.
i was importing ldap
but now i fo..... More

Print this item

  valueError: expected 2d, got 1d instead
Posted by: brkolvr - Aug-16-2019, 01:50 AM - Forum: Data Science - Replies (1)

Googling this problem it only seems to come up when using a classifier, though I'm trying to normalise a column, and it seems to need a 2d array, but ..... More

Print this item

  Printing class results returns 'none'
Posted by: Lawr3y - Aug-16-2019, 12:20 AM - Forum: Game Development - Replies (5)

Hi, I've recently got into learning the Python language using Python 3.7.
I'm using the base of a text rpg to sort of learn the ropes of Python since ..... More

Print this item

  incremental testing in all()
Posted by: Skaperen - Aug-15-2019, 11:47 PM - Forum: General Coding Help - Replies (11)

i have a huge list that i want to test that everything is an expected type. i could test it like this:[python] if all(isinstance(x,types) for x in..... More

Print this item

  why it's not printing?
Posted by: nickto21 - Aug-15-2019, 10:59 PM - Forum: General Coding Help - Replies (3)

Hey all,
Im working through "The Self-taught programmer" by Cory Althoff.
I'm doing the exercises at the end of chapter 2, and i'm having two diff..... More

Print this item

  from datetime import *
Posted by: drnshaw - Aug-15-2019, 09:10 PM - Forum: General Coding Help - Replies (2)

I'm using PyCharm Community 2019.1.4 (July 2019) and Python version 3.7.4, July 8, 2019.
My system is has 32GB RAM and an i9900 CPU running Windows 1..... More

Print this item

  write to txt file one line
Posted by: antmar904 - Aug-15-2019, 07:06 PM - Forum: General Coding Help - Replies (3)

Hi,

I have a txt file that contains 100 ip addresses with one on each line.

Exp of txt file:

1.1.1.1
12.43.123.123
154.4.1.1
3.3.3.3

I..... More

Print this item

  Byte array is sorted when sending via USB
Posted by: daviddlc68 - Aug-15-2019, 06:53 PM - Forum: General Coding Help - Replies (1)

I'm new to the forum and new to Python as well

I'm using Python 3.7.0 and Pywinusb 0.4.2 to send raw data to an HID device.

[python]
import pyw..... More

Print this item

  A talk to watch
Posted by: snippsat - Aug-15-2019, 06:44 PM - Forum: Bar - Replies (2)

Can recommend to watch this one Discovering Python one of the best talk given in my option.
I ..... More

Print this item

  line replacement help
Posted by: mdalireza - Aug-15-2019, 05:22 PM - Forum: General Coding Help - Replies (8)

Hi,
I have wrote and trying to implement the code. I want to replace the whole lline containing anything like mov9, inp9 etc.
[python]
filename = 'myf..... More

Print this item

  How to decrypt Blowfish-encrypted text encrypted with Perl's Crypt::CBC?
Posted by: swechsler - Aug-15-2019, 05:18 PM - Forum: General Coding Help - No Replies

I've been a Perl writer for 20 years, and I'm just getting started with Python. I have a text file with some fields that were encrypted using Perl's C..... More

Print this item

  [Profit Sharing] Ruins of Camelot mmorpg seeking Networking Lead
Posted by: Arthurian - Aug-15-2019, 03:28 PM - Forum: Jobs - Replies (2)

Hello, we are a small indie group working on a Hardcore MMO called Ruins of Camelot. We have a team of six people currently and have a skilled musicia..... More

Print this item

  Why is Python so hard to maintain
Posted by: RMJFlack - Aug-15-2019, 02:33 PM - Forum: News and Discussions - Replies (15)

Computer systems, applications, languages etc evolve. There are updates. That is fine. But Python seems to have a core competence in backwards INco..... More

Print this item

  Tkinter Generate/Delete Shapes with Keyboard Events
Posted by: baseball2201 - Aug-15-2019, 10:13 AM - Forum: GUI - Replies (3)

Hey all,

Brand new to Tkinter. I'm trying to create random shapes with keyboard presses (keydown), and then delete them when the key is let go (key..... More

Print this item

  Can't find a way to solve this nonlinear equation
Posted by: Alex009988 - Aug-15-2019, 10:08 AM - Forum: Data Science - Replies (2)

I want to solve this nonlinear equation. I've tried to use sympy and scipy methods. But I thing something wrong with syntax.
So how to write this cod..... More

Print this item

  Object exchange from django app to client app and vide versa
Posted by: Man_from_India - Aug-15-2019, 04:08 AM - Forum: General Coding Help - Replies (1)

How can I send an object to the django app from client app? And how to capture the object in django app and send back processed object to the client a..... More

Print this item

  [pyagame] Run code more smoothly
Posted by: SheeppOSU - Aug-15-2019, 03:37 AM - Forum: Game Development - Replies (1)

I made an inventory class and was going to test it, but it doesn't draw very well. Because items are dragged around, the background has to be updated ..... More

Print this item

  arguments of functions inside methods
Posted by: Skaperen - Aug-14-2019, 11:52 PM - Forum: News and Discussions - Replies (1)

every method def'd in a class always has a reference to the instance of that class as an added first argument with the caller's arguments pushed to th..... More

Print this item

  time.process_time() is constant
Posted by: redglyph - Aug-14-2019, 07:55 PM - Forum: General Coding Help - Replies (1)

Hello!

I'm usually using time.clock() to measure the time elapsed in a process, to disregard time spent in other processes (so not the 'wall clock'..... More

Print this item

  Alternative ways of plotting confusion matrix
Posted by: amjass12 - Aug-14-2019, 07:19 PM - Forum: Data Science - No Replies

Hi all,

I was wondering if you would be able to offer some advise on alternative ways of plotting confusions matrices. This is not strictly a ques..... More

Print this item

  assignments of function references
Posted by: Skaperen - Aug-14-2019, 06:29 PM - Forum: General Coding Help - Replies (3)

i want to have class attribute names which could otherwise be used as variables be used for function references so i can keep everything for a thread ..... More

Print this item

  Incorrect time format
Posted by: KoSik - Aug-14-2019, 05:30 PM - Forum: General Coding Help - Replies (5)

Hello,
I have a problem with the time format.

Function excerpt:

[python]
format = '%H:%M:%S.%f'
aktual=datetime.datetime.now().time()

try..... More

Print this item

  A question about python in Raspberry
Posted by: Psycopast - Aug-14-2019, 03:54 PM - Forum: General Coding Help - Replies (3)

Good day community! this is my first post and i need to say something before start: I'm not a native English speaker, so, let me say sorry at this mom..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My regex function is not ... 28 minutes ago Moltar1997 perfringo General Codin...
  silent deployment Python ... 35 minutes ago Bummibaer Bummibaer News and Disc...
  best way to learn python 4 hours ago dutch ichsanputr News and Disc...
  data fetching for indian ... Yesterday, 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...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
Most views
  The best Prog... 579357
  Tutorial Requ... 512306
  Web Scraping ... 442275
  Newbie with P... 386330
  New Users Int... 380146
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+ 12110
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Divyakrishnan071 Today
ichsanputr Today
nicos18 Yesterday
Moltar1997 Yesterday
arthurlouiss Yesterday

User Panel Messages

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