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,305
» Latest member: oliverjohn
» Forum threads: 38,799
» Forum posts: 175,899

Full Statistics

Online Users
There are currently 36 online users.
» 0 Member(s) | 26 Guest(s)
Bing, Google, Facebook Dev, Applebot, Mojeek, Google Image

Latest Threads
How can one recover stole...
Forum: Bar
Last Post: oliverjohn
11 minutes ago
» Replies: 0
» Views: 1
Steps To Recover Scammed ...
Forum: Bar
Last Post: FredDennis
43 minutes ago
» Replies: 0
» Views: 5
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
2 hours ago
» Replies: 1
» Views: 41
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Today, 04:48 AM
» Replies: 6
» Views: 7,791
Help with Serial.write in...
Forum: General Coding Help
Last Post: racingsubby
Today, 02:09 AM
» Replies: 7
» Views: 621
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 09:58 PM
» Replies: 3
» Views: 117
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 03:53 PM
» Replies: 1
» Views: 96
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Yesterday, 08:47 AM
» Replies: 3
» Views: 170
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Yesterday, 04:40 AM
» Replies: 6
» Views: 3,206
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 286

 
  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

  Fitnesstracker with export function
Posted by: RandomDude - Apr-24-2019, 04:54 PM - Forum: Bar - Replies (5)

Dear Community,
I'm looking for a fitness-tracker bracelet which provides an export function where i can get my pulse, step number, etc in a csv-for..... More

Print this item

  Lead Developer - Create the Code to Stop Global Warming
Posted by: linuxlancers - Apr-24-2019, 04:24 PM - Forum: Jobs - Replies (1)

[font=Courier New, Courier, monospace]Create the Code to Stop Global Warming

Our client, right.based on science UG, from Frankfurt/Main in G..... More

Print this item

  Problem with list
Posted by: yukysky - Apr-24-2019, 04:23 PM - Forum: General Coding Help - Replies (4)

Hi,
I have a problem with my array list in pyhton while using cv2.
I have an array list that looks like that:
A=[[[RGB],[RGB]],....,[[RGB],[RGB]]]
A[i..... More

Print this item

  form fill & button clicks
Posted by: rudolphyaber - Apr-24-2019, 04:11 PM - Forum: Web Scraping & Web Development - Replies (3)

I've tried this in the past using requests and or selenium, as I recall requests was good a filling in the forms and selenium was okay and mimicking a..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How can one recover stole... 11 minutes ago oliverjohn oliverjohn Bar
  Steps To Recover Scammed ... 43 minutes ago FredDennis FredDennis Bar
  Python is not working on ... 2 hours ago lary_p noisefloor General Codin...
  Can I develop a live vide... Today, 04:48 mtrkhan mamta25 Web Scraping ...
  Help with Serial.write in... Today, 02:09 racingsubby racingsubby General Codin...
  silent deployment Python ... Yesterday, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP Yesterday, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... Yesterday, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python Yesterday, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... 11-25, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
Most views
  The best Prog... 579406
  Tutorial Requ... 512476
  Web Scraping ... 442304
  Newbie with P... 386355
  New Users Int... 380505
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+ 12111
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
oliverjohn Today
TimTom420 Today
FredDennis Today
cruisesfares Today
SNR Today

User Panel Messages

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