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

Full Statistics

Online Users
There are currently 25 online users.
» 1 Member(s) | 21 Guest(s)
Bing, Google, AOL, cruisesfares

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

 
  [Scrapy]
Posted by: kevin91nl - Dec-14-2017, 10:17 AM - Forum: Web Scraping & Web Development - No Replies

This Scrapy tutorial explains why and how you should use a framework like Scrapy for scraping websites.

Websites can contain a lot of information. If..... More

Print this item

  Model.predict() always returning the same value of 1 for opencv
Posted by: nastyheatnor - Dec-14-2017, 08:20 AM - Forum: Data Science - No Replies

when I try to use model.predict() in my code, it seems to not work and gives me a result of 1 every time, no matter the image I put into model.predict..... More

Print this item

  getting the source line number
Posted by: Skaperen - Dec-14-2017, 07:49 AM - Forum: General Coding Help - Replies (12)

is there any easy way for the running code to get it's source line number at run time?  i'd like to include it in running diagnostics without killing ..... More

Print this item

  a future project: recursive file list
Posted by: Skaperen - Dec-14-2017, 03:55 AM - Forum: Bar - No Replies

i once wrote a recursive file lister in C.  i want to make some changes to it.  but i don't want to go back to coding in C to do that.  i'd rather re-..... More

Print this item

  WxPython Line Number
Posted by: QueenSvetlana - Dec-14-2017, 03:42 AM - Forum: GUI - No Replies

Does wxPython's have a line number option for any of the textboxes, like Notepad++?

Print this item

  Reading and writing to text file has format change
Posted by: cheerful - Dec-14-2017, 02:57 AM - Forum: General Coding Help - Replies (3)

Dear Sir,

I have been puzzled by the change of format between reading and writing the same content to a file. I have written my program base on the..... More

Print this item

  Need a developer to integrate a GUI by PYTHON
Posted by: kevin_1368 - Dec-14-2017, 01:59 AM - Forum: Jobs - Replies (3)

Hello every one

I'm looking for somebody that can help me integrate a GUI that was built in Glade with a program written in Python. I am working o..... More

Print this item

  Help understanding code section
Posted by: raz631 - Dec-14-2017, 01:23 AM - Forum: General Coding Help - 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

  Phasing a tabbed file?
Posted by: Joseph_f2 - Dec-13-2017, 09:35 PM - Forum: General Coding Help - Replies (5)

Hi there,

I am having trouble with what I believe is a very simple problem. I have a text file which looks like this:
Cat 1
    Sub Cat 1
    Sub Cat..... More

Print this item

  Repeating elements when appending in iteration in Python 3.6
Posted by: miguelsantana - Dec-13-2017, 08:17 PM - Forum: Homework - Replies (2)

I am trying to code a portion of code that gets the elements from two distinct lists and make a match, as you can see below, but for some reason, I ke..... More

Print this item

  Using a list as a Y value in a python graph
Posted by: Afterdarkreader - Dec-13-2017, 07:57 PM - Forum: Data Science - 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

  Python script for show commands-CISCO Devices
Posted by: babbarsher - Dec-13-2017, 07:53 PM - Forum: Networking - Replies (1)

Hello All,

This is my first post and I am pretty rookie in python world. I am trying to create network script which will help me to capture show c..... More

Print this item

  Need to Convert
Posted by: goldtiger6 - Dec-13-2017, 07:36 PM - Forum: Homework - Replies (1)

I need to convert a code for class from an "If/Else, For Loop" into a "While" statement.

This is the code we started with:
[python]
n = int(input..... More

Print this item

  [TkInter]Simple Python Homework
Posted by: zaji_123 - Dec-13-2017, 06:25 PM - Forum: Homework - Replies (4)

Hi, this is my first time on this site and first ever time doing python. So the code might (will) be bad. I am trying to have a entry field where what..... More

Print this item

  Newbie question how to find the coefficient for each variable
Posted by: zydjohn - Dec-13-2017, 05:25 PM - Forum: Data Science - Replies (10)

Hello:
I had some code to do multiple variable linear regression using statsmodels, the following is my code:
[python]
import numpy as np
import s..... More

Print this item

  Python development editor
Posted by: Venkatta - Dec-13-2017, 02:21 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

  Polymorphism in Python Question
Posted by: Oliver - Dec-13-2017, 02:10 PM - Forum: General Coding Help - Replies (6)

Coming from Java, I'm wondering how in Python you "program to interface, not to implementation", when Python doesn't have, well, interfaces?

For ex..... More

Print this item

  Fail to allocate bitmap
Posted by: rsbeesh - Dec-13-2017, 12:41 PM - Forum: General Coding Help - Replies (7)

i am getting error message "Fail to Allocate Bitmap", i need add more than one lakh images of 16X16 Pixels in to canvas. please help. it gives ..... More

Print this item

  Slicing syntax question
Posted by: Oliver - Dec-13-2017, 12:35 PM - Forum: Data Science - Replies (7)

I'm seeing examples of what appears to be slicing, but I can't readily re-create an example.

For example, what does this mean: [:,1]?

What data ..... More

Print this item

  Question about moving a turtle
Posted by: jge047 - Dec-13-2017, 02:55 AM - Forum: General Coding Help - No Replies

Question about moving a turtle - multiplying index by 10 on line 15 moves the next line over 10 pixels on the x-axis, but if the first value of index ..... More

Print this item

  learning OOP
Posted by: workerbee - Dec-13-2017, 12:02 AM - Forum: General Coding Help - Replies (2)

I thought by thinking out loud here I could get some clarity. I have been wondering for awhile why __init__ method was necessary think I am getting it..... More

Print this item

  Newbie question: Nested List Comprehensions
Posted by: Truman - Dec-12-2017, 10:51 PM - Forum: General Coding Help - Replies (5)

Looking at this code:

[quote]
matrix = [
[1,2,3,4],
[5,6,7,8],
[9,10,11,12],
]
r = [[row[i] for row in matrix] for i in range(4)..... More

Print this item

  py_compile spouted this weird output
Posted by: Klar - Dec-12-2017, 10:27 PM - Forum: General Coding Help - Replies (4)

I found that simply importing the module wasn't reliable, so I tried py_compile, and...
[python]py_compile.compile("info.py")
'__pycache__\\info.cpyth..... More

Print this item

  An interesting blog
Posted by: wavic - Dec-12-2017, 09:09 PM - Forum: News and Discussions - No Replies

I just came across this blog and I find it very interesting - 100 days of algorithms
I wi..... More

Print this item

  csv import issue by newbee
Posted by: giladbi - Dec-12-2017, 08:21 PM - Forum: Data Science - No Replies

hi
i am trying to import a txt file but it's in csv format. this is tick trading data info.
the file is this:
[quote]0,2017-09-18 02:00:06,12567.00..... More

Print this item

  Holidays come early this year (maybe)
Posted by: sparkz_alot - Dec-12-2017, 08:13 PM - Forum: Bar - Replies (7)

Python 3.6.4 due for release December 18, 2017 (maybe) see PEP 494

Print this item

  Newbie question for bulk insert into SQL Server database
Posted by: zydjohn - Dec-12-2017, 08:09 PM - Forum: General Coding Help - Replies (6)

[python]
I am using SQL Server 2017 to save people's information, I created a simple data table [People] in [mydb] database
CREATE TABLE [dbo].[Peop..... More

Print this item

  User defined method as variable or argument
Posted by: AeranicusCascadia - Dec-12-2017, 07:46 PM - Forum: General Coding Help - Replies (5)

I'll try to communicate this as clearly as possible. I am still fairly new. Thanks in advance!

Here is my issue, in a nutshell:

I have created a..... More

Print this item

  Thesis Writer 2000
Posted by: Iskuss - Dec-12-2017, 07:44 PM - Forum: Code sharing - Replies (2)

[python]
print("Thesis Writer 2000")
print("First you need a thesis statement. This is the idea or claim you're trying to prove.")
print("Example:..... More

Print this item

  Senior Software Engineer (Python) at Pole Star Space Applications Ltd
Posted by: djangojobs.net - Dec-12-2017, 07:33 PM - Forum: Jobs - No Replies

https://www.djangojobs.net/jobs/735/seni...tions-ltd/

 We require an experienced Software Engineer ..... More

Print this item

  Newbie question for sum the specific element in named tuple
Posted by: zydjohn - Dec-12-2017, 07:22 PM - Forum: General Coding Help - Replies (1)

[python]
import collections

Person = collections.namedtuple('Person', ['Name', 'Age', 'Height', 'Weight'])

person1 = Person(Name='Bob', Age=5..... More

Print this item

  Using np.linspace, creating a recursive graph
Posted by: Afterdarkreader - Dec-12-2017, 07:20 PM - Forum: General Coding Help - No Replies

[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

  Defining Variables in outside modules
Posted by: Barnettch3 - Dec-12-2017, 07:17 PM - Forum: General Coding Help - Replies (4)

I'm just getting into coding and I'm attempting to write a script that will print out the required plumbing fixture count for a building based on its..... More

Print this item

  Python/Numpy have I already written the swiftest code for large array?
Posted by: justforkicks1 - Dec-12-2017, 06:49 PM - Forum: Data Science - Replies (1)

**GOAL:**
I would like to get my script total execution time down from 4 minutes to less than 30 secs. I have a large 1d array (3000000+) of d..... More

Print this item

  Executable won't run on another PC
Posted by: MDachev - Dec-12-2017, 06:24 PM - Forum: General Coding Help - Replies (2)

Hi guys,
I need your help here :)
After I've written a simple webpage opening program (also opens a local external exe) I have converted the .py fil..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  If I open a file write or... 7 hours ago Pedroski55 bowlofred 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... 580748
  Tutorial Requ... 522330
  Web Scraping ... 442918
  New Users Int... 388165
  Newbie with P... 387140
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