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,420
» Latest member: SUMIATI
» Forum threads: 38,829
» Forum posts: 176,074

Full Statistics

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

Latest Threads
a function to watch files
Forum: News and Discussions
Last Post: Skaperen
3 hours ago
» Replies: 3
» Views: 728
python re.finditer return...
Forum: General Coding Help
Last Post: Pedroski55
5 hours ago
» Replies: 8
» Views: 482
If I open a file write or...
Forum: General Coding Help
Last Post: DeaD_EyE
6 hours ago
» Replies: 2
» Views: 42
Exponential Number Conver...
Forum: General Coding Help
Last Post: DeaD_EyE
Jan-09-2026, 08:47 PM
» Replies: 4
» Views: 437
Possible bug found, pleas...
Forum: General Coding Help
Last Post: alexajames
Jan-08-2026, 04:31 PM
» Replies: 14
» Views: 792
How to put my game loop i...
Forum: Game Development
Last Post: MarkHenry
Jan-08-2026, 12:47 PM
» Replies: 12
» Views: 7,737
Code failing to ask input...
Forum: Homework
Last Post: perfringo
Jan-08-2026, 06:35 AM
» Replies: 4
» Views: 714
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: OtiliaGen
Jan-07-2026, 07:13 AM
» Replies: 6
» Views: 1,020
Data Science
Forum: Data Science
Last Post: OtiliaGen
Jan-04-2026, 10:20 AM
» Replies: 4
» Views: 3,608
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Jan-02-2026, 12:32 PM
» Replies: 29
» Views: 17,359

 
  Use of Globals
Posted by: CWatters - Nov-06-2017, 12:07 PM - Forum: General Coding Help - Replies (5)

Looking for some clarification on the use of global variables.

Suppose I need a single variable called "Logged_In" that's available everywhere in ..... More

Print this item

  python pip - V points to old version of python
Posted by: metalray - Nov-06-2017, 10:04 AM - Forum: General Coding Help - Replies (5)

Dear Python Experts,

When I run pip -V in my virtual environment I read:

(env_python36) C:\Users\myuser\Downloads\iwt_django36\iwt_django\iwt_dj..... More

Print this item

  how to connect two python script one is located on the server and another in local
Posted by: Sachin_d - Nov-06-2017, 08:51 AM - 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

  while true loop
Posted by: candylicious - Nov-06-2017, 08:33 AM - Forum: Homework - Replies (3)

how do I break out of a While True loop in python3

Print this item

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

hi,

i have a csv file (attached the file with the name python_dictionary.csv)
in the attached format has three columns Key, value1 and valu..... More


Attached Files

.csv   python_dictionary.csv (Size: 381 bytes / Downloads: 741)
.csv   Desired_format.csv (Size: 306 bytes / Downloads: 764)
Print this item

  Script to send data
Posted by: vasuv - Nov-06-2017, 06:27 AM - Forum: General Coding Help - Replies (1)

Hi All,

I am newbie to Unix and Shell script and Python. Can you please help me to write a Python script.

Below is my requirement.

1.Send in ..... More

Print this item

  Replace slice in list comperhensions
Posted by: fstefanov - Nov-06-2017, 01:48 AM - Forum: General Coding Help - Replies (2)

Is there a better way of replacing [-2] position which is == '1' with '2'.
[python]numbers = ['10237310', '10230010']
newlist = [b[0:-2] + '2' + b[-..... More

Print this item

  wanted: python code: sleep to a time period
Posted by: Skaperen - Nov-06-2017, 01:40 AM - Forum: News and Discussions - Replies (2)

i would like to have python code, and will eventually write it if no one else has, to sleep until a specified time period, such as a minute.  i have w..... More

Print this item

  Common Tasks
Posted by: metulburr - Nov-05-2017, 11:55 PM - Forum: Game Tutorials - Replies (19)

This thread is a series of posts that include an example that are commonly asked on the forum. It is more efficient to make a thread containing them a..... More

Print this item

  Hangman game
Posted by: jsirota - Nov-05-2017, 08:38 PM - Forum: Homework - Replies (2)

Hello, I have a homework assignment that I am having difficulty with. If anyone can help it is greatly appreciated! Thanks Here is the question:

Us..... More

Print this item

  How to run a file with smb.py!!
Posted by: cscacsa - Nov-05-2017, 07:59 PM - Forum: Networking - Replies (1)

Hi. how i can use smb.py and smbConnection.py from impacket to run a file?
I'm looking ..... More

Print this item

  help im new
Posted by: bbenjb11 - Nov-05-2017, 07:36 PM - Forum: General Coding Help - Replies (2)

I'm new to python, and have basic understanding of a couple coding language like basic operators but I want to learn python extensively because it see..... More

Print this item

  How to use python variable in javascript
Posted by: arun28sharma44 - Nov-05-2017, 03:52 PM - Forum: General Coding Help - No Replies

I have create a GUI to take user information and use it for proxy authentication

proxy = self.pr.text()
port = self.po.text()
username = self.un...... More

Print this item

  How to Loop CSV File Beginning at Specific Row?
Posted by: bmccollum - Nov-05-2017, 03:02 PM - Forum: General Coding Help - Replies (5)

[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

  Denary to Binary game
Posted by: t0mhun13r - Nov-05-2017, 12:42 PM - Forum: General Coding Help - Replies (7)

I have made a program that asks if you want to convert from denary to binary, or binary to denary. It is to help me practice binary. There are two opt..... More

Print this item

  Pre-release practice help!
Posted by: Wilson1218 - Nov-05-2017, 12:04 PM - Forum: Homework - Replies (3)

Myself and a friend have been trying to do the pre-release of a previous year's iGCSE as practice. We tend to write short and simple code, rather than..... More

Print this item

  Discord Bot
Posted by: Arbys - Nov-05-2017, 09:43 AM - Forum: General Coding Help - Replies (7)

Hi. I have tried to install discord.py, through pip install discord.py in command promp. After installing and writing simple python discord bot..... More

Print this item

  OpenCV and programming with images
Posted by: Somethinggeneric - Nov-05-2017, 09:41 AM - Forum: General Coding Help - Replies (1)

Is it possible with OpenCV to read an image, a template(e.g an object in the foreground of the image) and have your program run code if the template i..... More

Print this item

  my cheap chinese clock
Posted by: Skaperen - Nov-05-2017, 08:20 AM - Forum: Bar - No Replies

hey Don, while you are there, ask your buddy Ping about this cheap clock i bought that was made in his country.  it seems to know this is the day to s..... More

Print this item

  Image detection program for computer game
Posted by: Somethinggeneric - Nov-05-2017, 07:10 AM - Forum: GUI - Replies (1)

I'm focusing on creating an application that can capture a small image of a computer game character and spit out information regarding that character ..... More

Print this item

  Security Program Help
Posted by: Python_n00b_06 - Nov-05-2017, 05:01 AM - Forum: General Coding Help - Replies (4)

Not sure how to properly differentiate code between normal talk on here. New to the site, please bear with me. I do appreciate tips and advice if give..... More

Print this item

  code to run in python3
Posted by: Skaperen - Nov-05-2017, 01:30 AM - Forum: Web Scraping & Web Development - Replies (20)

how do you guys feel about a python script (command or GUI app, not library code) that has code which checks the version of python it is running under..... More

Print this item

  Troubleshooting simple script and printing class objects
Posted by: Drone4four - Nov-05-2017, 12:21 AM - Forum: General Coding Help - Replies (11)

Relatively new to Python, I’m learning to read, create, use and manipulate classes.

For practice I have begun to create a class tracking user input..... More

Print this item

  I'm having trouble with a test case using python
Posted by: kekersqueaker - Nov-04-2017, 09:48 PM - Forum: Homework - Replies (1)

In this lab the completed program should print the numbers 0 through 10, along with their values multiplied by 2 and by 10. You should accomplish this..... More

Print this item

  Need Recommendation Please.
Posted by: jarrod0987 - Nov-04-2017, 09:18 PM - Forum: General Coding Help - Replies (1)

Hi guys. I I have written some with C++ (Visual Studio) and Arduino in the past. I'm still pretty new at it but I get the concepts and I can do my own..... More

Print this item

  Match coins game
Posted by: AndJustice4A11x - Nov-04-2017, 08:38 PM - Forum: Homework - Replies (1)

I have completed every step of this program and have gotten it to run, but my brain can not wrap around how to solve this problem.

Here is the inst..... More

Print this item

  adding a number to the list
Posted by: atux_null - Nov-04-2017, 07:51 PM - Forum: Homework - Replies (4)

[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

  Homework Teacher isnt helping need some help
Posted by: randyearthchild - Nov-04-2017, 07:14 PM - Forum: Homework - 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

  list comprehension error
Posted by: atux_null - Nov-04-2017, 06:03 PM - Forum: General Coding Help - Replies (8)

[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 add 1 in a text file ?
Posted by: jacklee26 - Nov-04-2017, 01:27 PM - Forum: General Coding Help - Replies (7)

Do anyone know how to add 1 to a text file.
For example :
Test.txt contain:
test 1
test 2
test 3

I wish to add 1 to the file and write to a ..... More

Print this item

  How do I make this code run faster?
Posted by: DontHurtMe - Nov-04-2017, 12:12 PM - Forum: General Coding Help - No Replies

Hello, I've created a simple Python program that does work but goes over the time limits as it runs too slow. I don't know a lot about how to make cod..... More

Print this item

  Network Scanning Libraries
Posted by: johnmaras - Nov-04-2017, 12:08 PM - Forum: Homework - Replies (4)

My project is an experiment which will determine the best channel for the currently connected WIFI. Could you suggest any good libraries that will hel..... More

Print this item

  How to copy folder from server to local and vice versa
Posted by: Sachin_d - Nov-04-2017, 11:36 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

  Learn pyqt5 using pyqt4
Posted by: jimclay75051 - Nov-04-2017, 11:34 AM - Forum: GUI - Replies (5)

I've been studing python for a year and I'm now trying to learn pyqt5. I have found some videos and online pyqt5 tutorials, but when learning somethin..... More

Print this item

  PLayer vs.PLayer game
Posted by: candylicious - Nov-04-2017, 06:25 AM - Forum: Homework - Replies (1)

program should display something like this:

Welcome to the game of nuts!
How many nuts are there on the table initially (10-100)? 10
There are 10..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  a function to watch files 3 hours ago Skaperen Skaperen News and Disc...
  python re.finditer return... 5 hours ago arbiel Pedroski55 General Codin...
  If I open a file write or... 6 hours ago Pedroski55 DeaD_EyE 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... 580725
  Tutorial Requ... 522106
  Web Scraping ... 442904
  New Users Int... 387969
  Newbie with P... 387126
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
SUMIATI Today
starboy25 Today
zabenjamitop8877 Yesterday
zanaaliepetrovz6060 Yesterday
F_S 01-09

User Panel Messages

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