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,399
» Latest member: kylausasd5428
» Forum threads: 38,826
» Forum posts: 176,037

Full Statistics

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

Latest Threads
Для кулінарів, хто іноді ...
Forum: Code sharing
Last Post: kylausasd5428
50 minutes ago
» Replies: 0
» Views: 10
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
4 hours ago
» Replies: 2
» Views: 110
Sorry Help
Forum: General Coding Help
Last Post: noisefloor
4 hours ago
» Replies: 2
» Views: 109
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Yesterday, 08:02 PM
» Replies: 6
» Views: 7,175
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Yesterday, 07:58 AM
» Replies: 28
» Views: 15,638
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 189
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,614
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 276
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,635
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 250

 
  Image Puzzle
Posted by: Digitalchemist - May-29-2017, 08:38 PM - Forum: Homework - Replies (6)

Hi, i am trying to solve this problem,

I have a test image (A) , this  image is the scrambled form of original image (O).

The goal is to determ..... More

Print this item

  Game Scoring
Posted by: jacob1986 - May-29-2017, 06:19 PM - Forum: Game Development - Replies (2)

I am trying to write a small game like Pong but I can't seem to be able to correctly adjust the scoring system. There are several problems in the scor..... More

Print this item

  wmi returns no data from an other pc
Posted by: panoss - May-29-2017, 12:15 PM - Forum: General Coding Help - Replies (9)

I 'm trying to secure my program using the pc 'c data (disk drives and processor).
I use this code:

[python]
import wmi
c = wmi.WMI()
for item ..... More

Print this item

  Writting system comand into a file.
Posted by: Mike Ru - May-29-2017, 11:58 AM - Forum: General Coding Help - Replies (2)

How can I write it into file?
I have a script

import os
os.system('ls')
I need to put output of this script into file.txt.
H..... More

Print this item

  Async server/client
Posted by: Bokka - May-29-2017, 10:08 AM - Forum: General Coding Help - Replies (2)

Hello! I have that 2 small programs 1 for server and 1 for client:


Server:

[python]
import socket

serversocket = socket.socket(socket.AF_I..... More

Print this item

  SinCos Vectors Math
Posted by: Dmitry_KZ - May-29-2017, 07:51 AM - Forum: General Coding Help - No Replies

Hi every one!
i have question about math
I have oculus controllers witch give me position and rotation of them, also i have surface somewhere in the..... More

Print this item

  web server that comes with Python
Posted by: Skaperen - May-29-2017, 07:07 AM - Forum: News and Discussions - Replies (7)

while reading stuff to try to understand WSGI i read that since 2.5 Python includes a web server. the implication is that it is WSGI compliant. not..... More

Print this item

  WSGI working examples
Posted by: Skaperen - May-29-2017, 06:56 AM - Forum: News and Discussions - Replies (1)

where can i get/install/deploy/run working examples of WSGI? the tutorials and descriptions i am finding online don't seem to make any sense. maybe ..... More

Print this item

  WSGI vs CGI
Posted by: Skaperen - May-29-2017, 06:50 AM - Forum: News and Discussions - Replies (9)

is WSGI an improved CGI-like interface?

Print this item

  Chatroom in TCP
Posted by: daltorya19 - May-29-2017, 12:53 AM - Forum: Networking - Replies (1)

Hello, I am completely new to sockets and TCP and have 0% understanding with it. I would like to learn how to communicate using a TCP server and would..... More

Print this item

  Recursion exit | DFS
Posted by: BeerLover - May-28-2017, 10:29 PM - Forum: General Coding Help - No Replies

Dear all,

I would very much appreciate some help with the code. It is supposed to find a quickest path towards ".". Like in the game "PacMan". It w..... More

Print this item

  Poker Dice while loop
Posted by: gullidog - May-28-2017, 07:48 PM - Forum: General Coding Help - Replies (2)

I am not sure why my while loop is broken, any help would be greatly appreciated.


[python]#This program will simulate a poker dice game.
import ..... More

Print this item

  Putting GPS data into a file
Posted by: kendias - May-28-2017, 06:56 PM - Forum: General Coding Help - No Replies

my question here
I am trying to input data that streams from a GPS module into a file. The file locations.csv opens OK but stays blank with no data ..... More

Print this item

  Pygames image
Posted by: Strofix - May-28-2017, 04:44 PM - Forum: Game Development - No Replies

Hi , to begin sorry for my english he is not good .


Is a script . I want to add a image (Representing an enemy) which would move randomly. But I..... More

Print this item

  GUI Webbrowser
Posted by: zarnav - May-28-2017, 04:37 PM - Forum: GUI - Replies (2)

Hey guys!

Just a quick question here for you.

I am thinking in creating my own "management center" in python, basically an app that would contro..... More

Print this item

  Adding Parameters to an API Request
Posted by: Bass - May-28-2017, 03:36 PM - Forum: General Coding Help - Replies (4)

Hi,

Could someone kindly advise on how to add a parameter to an API request, this maybe using curl, but I am unsure of how to do this.

I am usin..... More

Print this item

  Google Calendar & Python
Posted by: MeeranRizvi - May-28-2017, 09:01 AM - Forum: General Coding Help - Replies (2)

Hello Guys,
In this python script i am going to sync my google calendar events to the script.
I have gone through the setup of the API, I know that ..... More

Print this item

  Using Python to read external files
Posted by: beginnertoday - May-28-2017, 08:22 AM - Forum: General Coding Help - Replies (2)

Hi, I'm a beginner at coding. I had a query regarding how an external text file (like an .txt file or even a .py file saved on the hard drive of my co..... More

Print this item

  Convert py2exe
Posted by: daltorya19 - May-28-2017, 05:26 AM - Forum: General Coding Help - Replies (6)

I need to make this an exe with pyinstaller It's not working for me so what I'm really looking for is for someone to do it for me, I've looked everywh..... More

Print this item

  how to make class and instance method (multiple decorator) ?
Posted by: harun2525 - May-27-2017, 10:32 PM - Forum: General Coding Help - Replies (7)

I want make a method like in the following example

[python]

class foo():
   
   @classmethod
   @instancemethod # problem:NameError: name 'in..... More

Print this item

  Ideas for creating a function
Posted by: Ganjena - May-27-2017, 08:57 PM - Forum: General Coding Help - No Replies

Hi

I would like to make a program where a user can copy and paste various items from a game which would include amounts of these items into my prog..... More

Print this item

  Type consistency cross-application via UDP
Posted by: to_the_sun - May-27-2017, 07:09 PM - Forum: Networking - Replies (6)

When sending data from Max/MSP to Python via UDP all I wind up receiving on the other side is stuff that looks like this:

b'float\x00\x00\x00,f\x00..... More

Print this item

  Python Trading Engine
Posted by: icabero0225 - May-27-2017, 07:00 PM - Forum: General Coding Help - Replies (3)

So I am trying to code a python script to assist me with my stock trading. here's my code so far.
[python]def buy():
   datr = float(input("Daily AT..... More

Print this item

  Can't make the turtle walk..
Posted by: Turry - May-27-2017, 06:16 PM - Forum: Game Development - Replies (3)

I made this game that there is a turtle and you can make walls using mouse1, delete them using mouse2 and "command" the turtle to walk with scroll cli..... More

Print this item

  mysql.connector - incorrect integer value
Posted by: Milo - May-27-2017, 09:22 AM - Forum: General Coding Help - Replies (3)

Hi all,

I've been playing around with mysql.connector and trying to insert data into a mysql database. When using the %s or %d syntax I receive a "..... More

Print this item

  columnize.py
Posted by: Skaperen - May-27-2017, 08:00 AM - Forum: Code sharing - Replies (1)

here is a "first working" case of my class to tightly columnize output.  as a command/program it will columnize STDIN to STDOUT.  this is just a first..... More

Print this item

  Dazed and confused...
Posted by: RodNintendeaux - May-27-2017, 04:57 AM - Forum: General Coding Help - Replies (10)

Hello everyone! Rod here with a new account saying "Hi!" and looking to fix a little problem I am having as I setup to learn this new programming thin..... More

Print this item

  Modules in Python
Posted by: Ewkos - May-26-2017, 05:24 PM - Forum: General Coding Help - Replies (15)

Hello everyone,

i have the following problem with modules and my folder structure:

thats my folder and file structur:

main-folder
-python module 1
..... More

Print this item

  Pyplot line color and spacing/padding
Posted by: metalray - May-26-2017, 08:39 AM - Forum: Homework - No Replies

Dear Python Experts,

I have prepared a chart and just some visual upgrades in mind
I wonder why the chart goes beyond the maximum values given and..... More


Attached Files

Thumbnail(s)
   
Print this item

  str vs repr
Posted by: Skaperen - May-26-2017, 05:22 AM - Forum: General Coding Help - Replies (9)

besides the difference in how they handle strings, is there anything in which str() will handle differently than repr()?  i have the ide..... More

Print this item

  Exception while intalling jupyter notebook
Posted by: bmohanraj91 - May-26-2017, 05:00 AM - Forum: General Coding Help - Replies (3)

my question here

I am trying to install jupyter notebook systems in my linux machine, I checked their website which states

pip3 install jupyter..... More

Print this item

  format String in SQL statement.
Posted by: Steven - May-26-2017, 03:44 AM - Forum: Homework - Replies (9)

Hello everyone. I am having a problem formatting a string. That's what it boils down to. I am using a sglite3 database and looking for a date format i..... More

Print this item

  Trouble with general code flow
Posted by: JCN - May-26-2017, 03:31 AM - Forum: General Coding Help - Replies (1)

As you can see by my crude coding I am a newbie.  I've gotten this far and know my objectives could be achieved by much better coding (last file asked..... More

Print this item

  Pausing a loop with spacebar, resume again with spacebard
Posted by: bigmit37 - May-25-2017, 09:12 PM - Forum: General Coding Help - Replies (10)

I have a loop that opens and closes images.



[python]from PIL import Image
import time
import subprocess
for i in bio:
   p = subprocess.Pop..... More

Print this item

  Basic DC Electronics- Resistors
Posted by: sparkz_alot - May-25-2017, 07:52 PM - Forum: Tutorials - Replies (2)

Seeing an increase recently in Raspberry Pi and Arduino questions, I thought I would dust off the cobwebs and write a simple script in Python about so..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Для кулінарів, хто іноді ... 50 minutes ago kylausasd5428 kylausasd5428 Code sharing
  Check if running from she... 4 hours ago rjdegraff42 noisefloor General Codin...
  Sorry Help 4 hours ago BioNanoTech noisefloor General Codin...
  IP address for users Yesterday, 20:02 Robots DeaD_EyE Networking
  Merge video with subtitle... Yesterday, 07:58 Pavel_47 OtiliaGen General Codin...
  Opencv findContours Q 12-30, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... 12-29, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
Most views
  The best Prog... 580478
  Tutorial Requ... 520039
  Web Scraping ... 442797
  Newbie with P... 387015
  New Users Int... 386793
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
kylausasd5428 Today
zasamueluniorz7349 Today
BioNanoTech Today
CarlApome Yesterday
cruisesfares 12-30

User Panel Messages

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