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,936
» Latest member: MihaiPope
» Forum threads: 38,723
» Forum posts: 175,510

Full Statistics

Online Users
There are currently 62 online users.
» 3 Member(s) | 54 Guest(s)
Applebot, Bing, AOL, Google, arbiel, kshahzad1985, bibin6Dip

Latest Threads
FAST,SECURE AND RELIABLE ...
Forum: Game Development
Last Post: MihaiPope
42 minutes ago
» Replies: 0
» Views: 40
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
46 minutes ago
» Replies: 10
» Views: 3,609
what does % stand for in ...
Forum: General Coding Help
Last Post: buran
4 hours ago
» Replies: 1
» Views: 146
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
7 hours ago
» Replies: 1
» Views: 3,293
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
8 hours ago
» Replies: 4
» Views: 569
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,009
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 925
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,156
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,183
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,270

 
  function intx()
Posted by: Skaperen - Nov-25-2017, 08:32 AM - Forum: Code sharing - Replies (3)

file intx.py (or seen below) is the function i wrote to extend int() by interpreting digits by s base..... More

Print this item

  How to get python to read my file correctly?
Posted by: candylicious - Nov-25-2017, 08:19 AM - Forum: General Coding Help - Replies (7)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For the i..... More

Print this item

  ErrorName: Window size
Posted by: jvlivz - Nov-25-2017, 07:58 AM - Forum: Data Science - Replies (11)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  chr() for bytes
Posted by: Skaperen - Nov-25-2017, 03:29 AM - Forum: General Coding Help - Replies (10)

you can make a single character string with the specific code you want with chr() passing to it an int with the intended code and getting a ret..... More

Print this item

  Importing modules
Posted by: Pistolpete - Nov-25-2017, 03:15 AM - Forum: General Coding Help - Replies (2)

I'm having a problem with importing modules.how do I get python to read my modules?
İmage

Print this item

  string conversion like in source code
Posted by: Skaperen - Nov-25-2017, 02:55 AM - Forum: General Coding Help - Replies (4)

in Python source code, strings can be written with certain backslash codes like 'foo\nbar' will have a len() of 7 and print with 'foo..... More

Print this item

  "List index out of range" for output values
Posted by: pegn305 - Nov-24-2017, 09:44 PM - Forum: Homework - Replies (3)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  How can I access the corpus
Posted by: PythonNewbie - Nov-24-2017, 02:51 PM - Forum: General Coding Help - Replies (1)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  How to manipulate csv 2
Posted by: Prince_Bhatia - Nov-24-2017, 06:51 AM - Forum: General Coding Help - Replies (4)

hi,

I have a csv file (attached the file with the name professional_data.csv)
in the attached format has few columns KeyXID,Structural Engi..... More


Attached Files

.csv   professional_data.csv (Size: 3.36 KB / Downloads: 865)
Print this item

  Write Variable String To CSV Cell
Posted by: digitalmatic7 - Nov-24-2017, 06:34 AM - Forum: General Coding Help - Replies (1)

Hey guys,

How would I go about writing data into a specific CSV cell?

example

[python]x = "true"

list(csv.reader(open('test.csv', 'w')))
..... More

Print this item

  repetition of tasks
Posted by: lpcoutinho - Nov-24-2017, 01:37 AM - Forum: Web Scraping & Web Development - Replies (1)

Good night I have a need and starting from it I decided to learn to program.
Among the languages ​​I researched I think PYTHON can help me and not be..... More

Print this item

  Return Row ID postgresql
Posted by: takaa - Nov-24-2017, 12:03 AM - Forum: General Coding Help - Replies (1)

Hi,

I make a match between 2 tables in a database and I want to use the ID's of the rows where the matches are made. 
Sometimes this works correct an..... More

Print this item

  REVIEW
Posted by: Code_Z - Nov-23-2017, 08:03 PM - Forum: Code sharing - Replies (1)

Well I've made a small, simple, program in Python, can anyone tell me how to make it better, I'm still a nube.

Program:

import sys
Import rando..... More

Print this item

  Function not returning correct value
Posted by: TsG009 - Nov-23-2017, 07:56 PM - Forum: Homework - Replies (4)

I have been making a question/answer code with the function that follows but have fallen into trouble using the return statement.
[python]s = 0
d = ..... More

Print this item

  Python Kolmogorov Test
Posted by: asahdkhaled - Nov-23-2017, 05:14 PM - Forum: Data Science - Replies (11)

[b]Important: I asked that question also on Cross-Validated, but they refuse an answer because it didnt seem to be mathematical (but I think it is). S..... More

Print this item

  modify an image
Posted by: Erepiv1 - Nov-23-2017, 02:43 PM - Forum: General Coding Help - Replies (3)

Hi guys, i've got a problem with my program; i want to add a square with random colors on a picture thanks to a double loop but python show me that th..... More

Print this item

  Adding a row to a character array
Posted by: JoeB - Nov-23-2017, 12:06 PM - Forum: General Coding Help - Replies (1)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  How to use Threads
Posted by: antoniojescobar - Nov-23-2017, 11:53 AM - Forum: GUI - Replies (1)

Hi, I´m developing a GUI with wx.python. In the app, I want to read by modbus some variables in a continuous way. I read that I can use Threads to do ..... More

Print this item

  Need developer
Posted by: GarryJ - Nov-23-2017, 11:17 AM - Forum: Jobs - Replies (2)

Hi everyone

Hope you are well!

My name is Garry and I would love to help you with my resources/ developers for any of your anticipated busines..... More

Print this item

  make it to move to mouse
Posted by: kripso - Nov-23-2017, 10:43 AM - Forum: General Coding Help - Replies (4)

[python]import tkinter,random,time
class game():
def __init__(self):

self.canvas= tkinter.Canvas(
width=500,
height=700,
bg='white..... More

Print this item

  Issues with Exe generation and Packaging dependencies
Posted by: Ravikumar - Nov-23-2017, 09:47 AM - Forum: GUI - Replies (1)

Using PyCharm IDE, I have a Python application written in 2.7 and uses Wxpython,PyWin, WinPaths. I am generating the exe using py2exe and used Inno se..... More

Print this item

  Connection between Python and PLC
Posted by: FPVdrone - Nov-23-2017, 08:54 AM - Forum: General Coding Help - Replies (1)

Hello,

I am making a communication between a drone and a PLC. The drone is connected to Mission Planner on a Windows PC. I would like to control t..... More

Print this item

  input issue elif
Posted by: jge047 - Nov-23-2017, 04:52 AM - Forum: General Coding Help - Replies (2)

Code I am writing: Write code that iterates through number 1 - 20 and prints “Fizz” if it’s a multiple of 3, “Buzz” if it’s a multiple of 5, “FizzBuzz..... More

Print this item

  A matrix of matrices
Posted by: MaximeDt - Nov-23-2017, 03:04 AM - Forum: Data Science - Replies (18)

Hello,
I am struggling with great frustration on constructing a matrix.
Here is the whole story: as part of my studies I need to solve some differen..... More

Print this item

  Simple For Loop Question
Posted by: zykbee - Nov-23-2017, 02:52 AM - Forum: Web Scraping & Web Development - Replies (2)

The purpose of the program is to go to a website, make a list of the links, then go to each link and send back the canonical tag. More or less, it wor..... More

Print this item

  Need help with HW
Posted by: LilPump - Nov-23-2017, 02:35 AM - Forum: Homework - Replies (5)

https://gyazo.com/c03806919d712d9d6b2b221c7531bc16

Hi all, I just started python. I have no idea how to do this and would like help on it or a poss..... More

Print this item

  make a list of string in capital by using a function
Posted by: anancba - Nov-23-2017, 02:33 AM - Forum: General Coding Help - Replies (3)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  Identifying the value of all adjacent elements in an array
Posted by: JoeB - Nov-22-2017, 11:24 PM - Forum: General Coding Help - Replies (2)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  Pig Latin
Posted by: manasihardikar - Nov-22-2017, 11:11 PM - Forum: General Coding Help - Replies (1)

Hi, I am trying to make a pig latin function in Python, which takes in a word and returns its pig latin translation. You can convert an English word i..... More

Print this item

  python variable in SQL query
Posted by: takaa - Nov-22-2017, 09:30 PM - Forum: General Coding Help - Replies (5)

Hi,

When I use an integer as variable in my SQL query it works as it should. However if work with a string It does not work, I don't get an error mes..... More

Print this item

  click menu option 6 it does not print out what I need it to
Posted by: AMRiley23 - Nov-22-2017, 09:08 PM - Forum: Homework - Replies (4)

I am having trouble with writing the code in python I need help this is due tonight!!
when I click menu option 6 it does not print out what I need it..... More

Print this item

  i need to change the code
Posted by: woiwoi - Nov-22-2017, 09:07 PM - Forum: Homework - Replies (3)

[python]
import random
nazwaPlikuZDanymi = open('123.txt')
content = nazwaPlikuZDanymi.read()
allObjects = content.splitlines()
sizeTST = len(all..... More

Print this item

  Creating a schedule program
Posted by: ndplokkaar - Nov-22-2017, 08:40 PM - Forum: General Coding Help - Replies (4)

Hello all,

I'm new here so let me introduce myself first. I'm Nick, 24 years old and a bio-farmacal student at Leiden University.

A few weeks ..... More

Print this item

  All is working but one
Posted by: Milkallama - Nov-22-2017, 08:20 PM - Forum: General Coding Help - Replies (3)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  Raspberry + Sensor to Plotly HOW?
Posted by: azairek - Nov-22-2017, 08:06 PM - Forum: Homework - Replies (3)

Hello :)

save my life. PYTHON+RASPI! I have some problems. I have raspberry pi 3 + Ultrasound Sensor HC-SR04. I am reading distance from it and wa..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  FAST,SECURE AND RELIABLE ... 42 minutes ago MihaiPope MihaiPope Game Developm...
  403 Error 46 minutes ago CaptainNewb CaptainNewb Web Scraping ...
  what does % stand for in ... 4 hours ago arbiel buran General Codin...
  Scraping a page with log ... 7 hours ago iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... 8 hours ago Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
Most views
  The best Prog... 576212
  Tutorial Requ... 497839
  Web Scraping ... 440152
  Newbie with P... 383986
  New Users Int... 366643
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+ 12089
buran 8175
snippsat 7367
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
MihaiPope Today
Baran12332 Today
Hershien Today
Diyaseating Today
marineoman Today

User Panel Messages

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