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,979
» Latest member: silversimon2
» Forum threads: 38,732
» Forum posts: 175,563

Full Statistics

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

Latest Threads
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Yesterday, 07:43 AM
» Replies: 2
» Views: 360
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:21 AM
» Replies: 2
» Views: 992
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,044
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 726
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 3,036
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,475
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 9,053
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,501
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,393
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,722

 
  Reading PCAP FIles
Posted by: Variables - Apr-26-2019, 03:41 AM - Forum: General Coding Help - Replies (5)

Hi peeps!!
i need someone expertise to help me

I am trying to read a pcap file with a program im making but im having problems
If anyone has an idea ..... More

Print this item

  SQLite Query in Python
Posted by: rowyourboat - Apr-26-2019, 02:12 AM - Forum: General Coding Help - Replies (2)

I have created a table named "G" with python but I am not sure how to select the data.

Below is the table:
Parent:--Child:
c----------a
a-------..... More

Print this item

  CLI Progress Bar
Posted by: itaybardugo - Apr-25-2019, 11:44 PM - Forum: Code sharing - No Replies

hey,
just wrote my command line progress bar
it is simple for use, you can define your progress bar color and adjust the size.
https://github.com/ita..... More

Print this item

  How to deal with code that blocks the mainloop, freezing the gui
Posted by: Yoriz - Apr-25-2019, 11:34 PM - Forum: GUI tutorials - Replies (3)

(The WxPython version of this can be found ..... More

Print this item

  invalid syantx
Posted by: metro779966 - Apr-25-2019, 11:05 PM - Forum: General Coding Help - Replies (3)

I am new in programing , I use python 3.7.2- when I write any code in python file and make RUN I have invalid syntax message
forexample:
I have fi..... More

Print this item

  functions in a dictionary
Posted by: Skaperen - Apr-25-2019, 11:05 PM - Forum: General Coding Help - Replies (7)

it has been said not to define functions by assigning a lambda. but i want to have a dictionary (or list as the use case may be) contain a bunch of f..... More

Print this item

  [pygame] Equiping inventory slots with invisible buttons
Posted by: SheeppOSU - Apr-25-2019, 09:20 PM - Forum: Game Development - Replies (6)

I have an inventory class with 3 functions. __init__, draw, and equipChange
The job of each function -
__init__ - to define x, y, slo..... More

Print this item

  Changing Text in an .exe File
Posted by: eddywinch82 - Apr-25-2019, 07:24 PM - Forum: Bar - Replies (9)

Hi there,

I have a Program called SafelySurf V1.2, the Program is great it partially works, but it is quite old, so some of the Paths are wrong. The ..... More

Print this item

  IndexError: list assignment index out of range
Posted by: Apretext - Apr-25-2019, 06:59 PM - Forum: General Coding Help - Replies (3)

This seems to be something that a lot of new people to python seem to struggle with, and I'm no exception....

I understand that appending the value..... More

Print this item

  Defining functions
Posted by: TommyAutomagically - Apr-25-2019, 06:25 PM - Forum: General Coding Help - Replies (1)

Hi,

I'm just learning Python and trying to understand best practices

When defining functions for an app, is it right to define all of the func..... More

Print this item

  New to Python, please help with checking Azure SQL DB for a table
Posted by: TommyAutomagically - Apr-25-2019, 06:15 PM - Forum: General Coding Help - Replies (4)

Hi,
I've just decided to try and learn Python, I've got very limited experience with programming languages, but have been working with PowerShell fo..... More

Print this item

  How to send unicode string encoded in utf-8 in http request in Python
Posted by: MaverinCode - Apr-25-2019, 05:25 PM - Forum: Web Scraping & Web Development - Replies (1)

I'm trying to send a unicode string, which contains chinese characters, from a python program to a web server.

The code for this is:
[python]impor..... More

Print this item

  SCIPY: cannot import name '_nd_image'
Posted by: DJC8 - Apr-25-2019, 03:43 PM - Forum: General Coding Help - Replies (1)

Hi, i'm trying to run a code that uses filters module from scipy but i'm having a problem:

File "C:\IntelPython3\lib\site-packages\scipy\ndimage\f..... More

Print this item

  Ludum Dare - This Weekend
Posted by: nilamo - Apr-25-2019, 03:42 PM - Forum: Game Development - No Replies

It's jam time, people!
https://ldjam.com/

Print this item

  Input validation package
Posted by: itaybardugo - Apr-25-2019, 03:26 PM - Forum: Code sharing - Replies (2)

Hey, I wrote a package for input validation(email, regex, require, etc)

You can see it on git
http[url=https://python-forum.io/thread-17831.html]..... More

Print this item

  Rebuild LZ compression from C code via Python's LZMA module
Posted by: TD2 - Apr-25-2019, 02:42 PM - Forum: General Coding Help - No Replies

Trying to rebuild the LZ decompression from an existing C code.
Found a sh..... More

Print this item

  Can't start IDLE
Posted by: JohnKentzelGriffin - Apr-25-2019, 02:25 PM - Forum: General Coding Help - Replies (4)

I installed Python (python-3.7.3-macosx10.9.pkg) and it was working just fine yesterday. I have Mac OS X Version 10.9.5. But today I am getting the m..... More

Print this item

  changing the frame colour
Posted by: nick123 - Apr-25-2019, 02:13 PM - Forum: GUI - Replies (4)

I want to change the background of a frame using four colour buttons placed at four corners of the frame.
I was trying by adding only one button in t..... More

Print this item

  Wrong dimension for my plot
Posted by: Jemeronimo - Apr-25-2019, 01:24 PM - Forum: General Coding Help - Replies (1)

Hey guys,

I'm trying to plot something use np.linspace.
I wrote a function called
def snr():
and the output for example is
print(snr(0.25))=4..... More

Print this item

  Need help with code
Posted by: SteampunkMaverick12 - Apr-25-2019, 12:44 PM - Forum: General Coding Help - Replies (3)

When I create a new account or retry login, It doesn't recognize and im unsure why

[python]logged_in=False
attempts=0

enter_name=input('ENTER ..... More

Print this item

  TypeError: 'NoneType' object is not subscriptable
Posted by: Jmekubo - Apr-25-2019, 11:20 AM - Forum: General Coding Help - Replies (6)

Hi guys am new to python,

pls help trouble shoot this code i get the following error when executing the code in jupiter notebook



[error]----..... More

Print this item

  Manipulating CSV
Posted by: Prince_Bhatia - Apr-25-2019, 11:18 AM - Forum: General Coding Help - Replies (1)

Hi,

i have a csv file whose data structure is like this

[python]City Preference Type Value
['Adilabad'] Builder sale 0
['Adilabad'] Owner sale..... More

Print this item

  Read re.split expression
Posted by: NewBeie - Apr-25-2019, 10:47 AM - Forum: General Coding Help - Replies (2)

Hi,

I have this expression

text_list = re.split('\n\n\n', text)
I read already the Slipt() method that expression confuses me. ..... More

Print this item

  Remove Email Signature
Posted by: NewBeie - Apr-25-2019, 09:58 AM - Forum: General Coding Help - Replies (4)

Hi,

I have this text of emails and their signature"

[quote]Good Morning

This is the first email block.


Vriendelike groete/ Kind regards..... More

Print this item

  help needed plz, how to check if a string is almost the same?
Posted by: NickPlv - Apr-25-2019, 09:25 AM - Forum: General Coding Help - Replies (2)

i am trying to create a program for username login etc.
My question is this: How can i tell python that it is ok if the user does not answer Exactly..... More

Print this item

  Heating program to translate from Basic to Python
Posted by: tommy2k19 - Apr-25-2019, 09:11 AM - Forum: General Coding Help - Replies (12)

I have written a few programs in Python but have not done much program translation.
My friend asked me to translate his heating program from Basic to..... More

Print this item

  Python performance
Posted by: rvkstudent - Apr-25-2019, 07:04 AM - Forum: General Coding Help - Replies (4)

Hi everyone. I have a python script (for testing). Its simply format a string:

[python]
import time

class Profiler(object):
def __enter__(..... More

Print this item

  Simple maze game controls
Posted by: OmegaSupreme - Apr-25-2019, 05:04 AM - Forum: Homework - Replies (4)

My assignment is to create a simple maze game. So far everything is working, but i am unhappy with the movement of my sprite.
[python]turtle.listen(..... More

Print this item

  About integer objects vs integer values
Posted by: Nwb - Apr-25-2019, 04:55 AM - Forum: News and Discussions - Replies (18)

Would it be more efficient to have integers represented by objects or values?
Eg if it's represented by an object,
Var = 5
Var points to an object ..... More

Print this item

  ElementTree
Posted by: kkrish - Apr-25-2019, 04:18 AM - Forum: Web Scraping & Web Development - Replies (2)

hello, I have the below xml file and want to create a csv file. I'm having issue to repeat the category. I would like to parse the data using ElementT..... More

Print this item

  Invalid Syntax when using print?
Posted by: GalaxyCoyote - Apr-24-2019, 08:08 PM - Forum: General Coding Help - Replies (4)

print("test")
Thats the code and it's saying invalid syntax.

Another thing that is giving me an invalid synatx is

[python]p..... More

Print this item

  Embedding Python into a simulator
Posted by: siggi - Apr-24-2019, 07:42 PM - Forum: General Coding Help - No Replies

I am trying to embed python in a commercial Discrete Event Simulator (ExtendSim). The simulator offers an extension programming environment which also..... More

Print this item

  temp analysis
Posted by: Simba - Apr-24-2019, 07:08 PM - Forum: General Coding Help - Replies (13)

Hi everyone, me and my brother both started learning python about 2 months ago. we have bit understanding of C but just basics to be honest, so both o..... More

Print this item

  an ADT i want to create
Posted by: Skaperen - Apr-24-2019, 06:51 PM - Forum: News and Discussions - No Replies

i had a use case for this last night. this would be a mapping that can hold duplicate keys and retain the original insertion order within the same k..... More

Print this item

  creating an image
Posted by: Rafi - Apr-24-2019, 05:12 PM - Forum: General Coding Help - Replies (1)

Hi,
I have a CSV file with numbers I would like to show this file as an image where each number represent a pixel value.How do I do it in Python?
Wh..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Integer Factorization Too... Yesterday, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... Yesterday, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... 09-29, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
Most views
  The best Prog... 577414
  Tutorial Requ... 500852
  Web Scraping ... 441059
  Newbie with P... 385115
  New Users Int... 369648
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+ 12091
buran 8178
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
silversimon2 Yesterday
alissapena8 Yesterday
hoki1881 Yesterday
stephaniehendrix Yesterday
Schirag Yesterday

User Panel Messages

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