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,935
» Latest member: Baran12332
» Forum threads: 38,722
» Forum posts: 175,510

Full Statistics

Online Users
There are currently 65 online users.
» 0 Member(s) | 55 Guest(s)
Apple, Google, Bing, AOL, AOL, Twitter

Latest Threads
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Yesterday, 07:55 PM
» Replies: 2
» Views: 334
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
Yesterday, 06:57 PM
» Replies: 10
» Views: 3,800
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Yesterday, 12:30 PM
» Replies: 1
» Views: 3,381
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Yesterday, 11:11 AM
» Replies: 4
» Views: 709
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,174
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,054
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,282
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,278
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,398
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 960

 
  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

  question about Python
Posted by: nelsonkane - Dec-12-2017, 05:49 PM - Forum: General Coding Help - Replies (3)

If someone could answer this, that would be great!

My question concerns this video called
"Python Programming Tutorial - 3: Comments in Python:"
..... More

Print this item

  Reading and Extracting XML
Posted by: Python4Ever - Dec-12-2017, 03:58 PM - Forum: General Coding Help - Replies (2)

Can someone please tell me why this code isn't printing integers for the count items list? The output is encoded as utf-8, but I thought the fromstrin..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  what does % stand for in ... Yesterday, 19:55 arbiel arbiel General Codin...
  403 Error Yesterday, 18:57 CaptainNewb CaptainNewb Web Scraping ...
  Scraping a page with log ... Yesterday, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... Yesterday, 11:11 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
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576294
  Tutorial Requ... 497974
  Web Scraping ... 440211
  Newbie with P... 384061
  New Users Int... 366811
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
Baran12332 Yesterday
Hershien Yesterday
Diyaseating Yesterday
marineoman Yesterday
marineservice Yesterday

User Panel Messages

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