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,422
» Latest member: alexfox
» Forum threads: 38,829
» Forum posts: 176,076

Full Statistics

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

Latest Threads
If I open a file write or...
Forum: General Coding Help
Last Post: Pedroski55
1 hour ago
» Replies: 4
» Views: 97
a function to watch files
Forum: News and Discussions
Last Post: Skaperen
Yesterday, 05:21 AM
» Replies: 3
» Views: 744
python re.finditer return...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 02:57 AM
» Replies: 8
» Views: 508
Exponential Number Conver...
Forum: General Coding Help
Last Post: DeaD_EyE
Jan-09-2026, 08:47 PM
» Replies: 4
» Views: 452
Possible bug found, pleas...
Forum: General Coding Help
Last Post: alexajames
Jan-08-2026, 04:31 PM
» Replies: 14
» Views: 800
How to put my game loop i...
Forum: Game Development
Last Post: MarkHenry
Jan-08-2026, 12:47 PM
» Replies: 12
» Views: 7,757
Code failing to ask input...
Forum: Homework
Last Post: perfringo
Jan-08-2026, 06:35 AM
» Replies: 4
» Views: 730
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: OtiliaGen
Jan-07-2026, 07:13 AM
» Replies: 6
» Views: 1,032
Data Science
Forum: Data Science
Last Post: OtiliaGen
Jan-04-2026, 10:20 AM
» Replies: 4
» Views: 3,620
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Jan-02-2026, 12:32 PM
» Replies: 29
» Views: 17,378

 
  session command
Posted by: Skaperen - Nov-25-2017, 08:32 AM - Forum: Code sharing - Replies (5)

file session.py is a command i created to start background screen sessions set to the same terminal geometry as started from, if available, or a speci..... More

Print this item

  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: 893)
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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  If I open a file write or... 1 hour ago Pedroski55 Pedroski55 General Codin...
  a function to watch files Yesterday, 05:21 Skaperen Skaperen News and Disc...
  python re.finditer return... Yesterday, 02:57 arbiel Pedroski55 General Codin...
  Exponential Number Conver... 01-09, 20:47 Tuurbo46 DeaD_EyE General Codin...
  Possible bug found, pleas... 01-08, 16:31 Hassher alexajames General Codin...
  How to put my game loop i... 01-08, 12:47 temlotresid6 MarkHenry Game Developm...
  Code failing to ask input... 01-08, 06:35 Phoenix_Narukami perfringo Homework
  sorting a lisr of file pa... 01-07, 07:13 Skaperen OtiliaGen News and Disc...
  Data Science 01-04, 10:20 Oshadha OtiliaGen Data Science
  Merge video with subtitle... 01-02, 12:32 Pavel_47 OtiliaGen General Codin...
  Check if running from she... 01-01, 11:52 rjdegraff42 noisefloor General Codin...
Most views
  The best Prog... 580739
  Tutorial Requ... 522261
  Web Scraping ... 442913
  New Users Int... 388136
  Newbie with P... 387135
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 8197
snippsat 7399
deanhystad 6921
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
alexfox Yesterday
zalexisshulzeo8879 Yesterday
SUMIATI Yesterday
starboy25 Yesterday
zabenjamitop8877 01-10

User Panel Messages

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