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,302
» Latest member: cruisesfares
» Forum threads: 38,797
» Forum posts: 175,897

Full Statistics

Online Users
There are currently 33 online users.
» 1 Member(s) | 29 Guest(s)
Bing, Google, Mojeek, kshahzad1985

Latest Threads
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
9 minutes ago
» Replies: 1
» Views: 25
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Today, 04:48 AM
» Replies: 6
» Views: 7,790
Help with Serial.write in...
Forum: General Coding Help
Last Post: racingsubby
Today, 02:09 AM
» Replies: 7
» Views: 618
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 09:58 PM
» Replies: 3
» Views: 115
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 03:53 PM
» Replies: 1
» Views: 94
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Yesterday, 08:47 AM
» Replies: 3
» Views: 164
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Yesterday, 04:40 AM
» Replies: 6
» Views: 3,205
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 282
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 169
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 110

 
  dictionnary
Posted by: lateublegende - Apr-29-2019, 07:57 PM - Forum: General Coding Help - Replies (1)

I try to make a dict for my code, the dictionnary content the sqaure number and the the value of this square, the dict have 480 value. I need a simple..... More

Print this item

  Basic If statement
Posted by: tinsr - Apr-29-2019, 07:46 PM - Forum: General Coding Help - Replies (2)

Can someone help me figure out what is wrong with the following basic if statement:
------------------------------
>>> Nums=input("Number:")
Numbe..... More

Print this item

  How to rerun script again
Posted by: SteampunkMaverick12 - Apr-29-2019, 07:40 PM - Forum: General Coding Help - Replies (2)

I have finally made a full login system but the issue is that now when I enter option b and fill out my process, it would stop instead of going throug..... More

Print this item

  Install Python on Raspberry Pi 3 B+
Posted by: loren41 - Apr-29-2019, 07:31 PM - Forum: General Coding Help - Replies (4)

Noob wanting to learn Python programming. My interest is focused on text-based document retrieval and data mining. I am 78 years old and have a Maste..... More

Print this item

  Split lines in Paramiko
Posted by: pintas - Apr-29-2019, 04:15 PM - Forum: Networking - No Replies

Hello everyone, good to be here.
First of all, let me start my apologising. This is my first post, and i'm already posting a big one. Sorry for that...... More

Print this item

  reverse list, incl. nested list
Posted by: Livne_ye - Apr-29-2019, 03:08 PM - Forum: General Coding Help - Replies (3)

I am trying to write a code which will generate a nested list and the main list in a reverse order:
1.my_third_list = ["WHAT","IS","THIS",["a nested..... More

Print this item

  Extract a List element
Posted by: NewBeie - Apr-29-2019, 02:19 PM - Forum: General Coding Help - Replies (4)

Hi,

I have this code:

cl = re.findall(r'[claim number]+[0-9]+', claim_num_50)
It gives me back a list [output][' 19', ' 0333', ..... More

Print this item

  Nanpy import error
Posted by: Apretext - Apr-29-2019, 02:09 PM - Forum: General Coding Help - Replies (2)

I've got an odd error when using nanpy. If I open a session of Python, and then load my module and run it, it works fine. If I try and load my module ..... More

Print this item

  How to use factory pattern?
Posted by: bhojendra - Apr-29-2019, 01:50 PM - Forum: General Coding Help - Replies (2)

I'm trying to understand and use factory pattern like:

[python]
class Factory():
@staticmethod
def getObj():
return Drive()

clas..... More

Print this item

  Interpreting Python Code
Posted by: NewBeie - Apr-29-2019, 11:16 AM - Forum: General Coding Help - Replies (3)

Hi,

I have this code:

clientNo = ClientNumber.split("ClientNo", 1)[1][0:50]
I don't know what does the last [0:50] mean, plea..... More

Print this item

  String slicing in python from reverse
Posted by: ift38375 - Apr-29-2019, 06:39 AM - Forum: General Coding Help - Replies (1)

Hi,
I am newbie in this python fourm portal and need some help from experts side.
Suppose i declare string variable i.e name = "david" and perform n..... More

Print this item

  Advice for making a text choose your own adventure
Posted by: olivermcg - Apr-29-2019, 06:04 AM - Forum: Game Development - Replies (1)

Hey i want to learn how to code a choose text your own adventure game and i was wondering if i could get tips on a good place to start

Print this item

  Anaconda
Posted by: ShadySmithy98 - Apr-29-2019, 05:59 AM - Forum: General Coding Help - Replies (3)

I was wondering if their is a lite version of anaconda for python to put on a USB?

Print this item

  get string how it is defined
Posted by: bhojendra - Apr-29-2019, 05:58 AM - Forum: General Coding Help - Replies (10)

I can have any characters inside the string. For eg.

str = "some\" quoted value'foo"
print(str)
# some" quoted value'foo
..... More

Print this item

  Portable Python Programs?
Posted by: GramophoneMimic - Apr-29-2019, 05:47 AM - Forum: News and Discussions - Replies (3)

Hello, I'm new to Python and programming in general and I was wondering if there are any good portable python programs that can be stored on and ran f..... More

Print this item

  cannot import scipy.optimize.Bounds
Posted by: larkypython - Apr-29-2019, 01:10 AM - Forum: General Coding Help - Replies (2)

I used this:
from scipy import optimize
then it is ok to use optimize.minimize
but cannot use optimize.Bounds, cannot..... More

Print this item

  How to graphically represent this function?
Posted by: dc996 - Apr-28-2019, 10:25 PM - Forum: Data Science - Replies (1)

Hi everyone,

I've tried multiple times to represent this function in Python, but I am still unsuccessful.

This is the function:
[python]def CON..... More

Print this item

  try, except, finally ?
Posted by: microphone_head - Apr-28-2019, 08:45 PM - Forum: General Coding Help - Replies (3)

Hi all,

I've been trying to tighten up my code by adding error handling using the try command, but I can't seem to get my head around the "finally"..... More

Print this item

  changing much of my Python code
Posted by: Skaperen - Apr-28-2019, 08:42 PM - Forum: News and Discussions - Replies (6)

416 of my Python files have a line beginning with from __future__. i'm thinking i don't need those lines, anymore. should i remove al..... More

Print this item

  Can't work out parameter format for LibVLC functions
Posted by: Domarius - Apr-28-2019, 07:46 PM - Forum: General Coding Help - Replies (10)

I just need help understanding how to provide the right variable types, by referring to the Python API for LibVLC.

I'm using the ..... More

Print this item

  Read temperature once
Posted by: mada72 - Apr-28-2019, 06:59 PM - Forum: General Coding Help - Replies (2)

Hi,

Im new to python Rolleyes
I have this code found of youtube, it works fine and print the temperature in a loop (until I do CTRL C)
[pyth..... More

Print this item

  Which libraries for generating keyword cloud from results of Google SERP ?
Posted by: 123 - Apr-28-2019, 06:12 PM - Forum: News and Discussions - Replies (4)

Hello!
In Python, generating keyword cloud from results of Google SERP - which libraries, methods can I use, what would be elements to consider?

Print this item

  Import Large CSV File into MySQL
Posted by: bluethundr - Apr-28-2019, 05:26 PM - Forum: General Coding Help - Replies (2)

Hello,

I'm trying to import one column of a large CSV file into MySQL using python 3.7. This is being done as a test run to import the rest of the co..... More

Print this item

  [split] Please help with SyntaxError: invalid syntax
Posted by: Mason - Apr-28-2019, 04:58 PM - Forum: Homework - Replies (1)

Hi,

There is this short code which I have written. The variable Vinf_values is saved in a list. I am trying to evaluate P0 and T0 and here I am usi..... More

Print this item

  What are some pythonic phrases?
Posted by: Nwb - Apr-28-2019, 01:38 PM - Forum: News and Discussions - Replies (7)

I've heard three pythonic phrases namely, "if it looks like a duck.. it's a duck"; "ask for forgiveness not permission"; "duck punching" (guess it's a..... More

Print this item

  Saving multiple plots as pdf
Posted by: mohd_umair - Apr-28-2019, 01:21 PM - Forum: General Coding Help - No Replies

Good afternoon everyone,

I am trying to plot some figures and save them as pdf. For that, I have already written a script and the problem is that it ..... More

Print this item

  Python stopped while creating new jupiter notebook
Posted by: Geetha - Apr-28-2019, 11:08 AM - Forum: Networking - Replies (1)

Dear Team,
Installed Anaconda latest version by following the prerequistes mentioned and as per installation guidelines mentioned in anaconda website..... More

Print this item

  [pygame] Blitting armor and weapons with inventory
Posted by: SheeppOSU - Apr-28-2019, 02:52 AM - Forum: Game Development - Replies (3)

I put an inventory into my game. I do though, have a few problems

problem - The armor does not show on the screen after it is equipped

You can d..... More

Print this item

  Web Scraping Project
Posted by: dyzl3xik - Apr-28-2019, 02:48 AM - Forum: Homework - Replies (5)

Hello,

I am pretty new to Python and for our last semester project, we are to develop a web scraper program. We are to go into the Itunes charts a..... More

Print this item

  Why does time.sleep(wait) add time in python3 ?
Posted by: gerardg - Apr-28-2019, 02:17 AM - Forum: General Coding Help - Replies (4)

This code is run on raspberry pi from the Terminal.
The same code in Thonny Python (IDE) runs correctly.
I have run testDateTime.py on the Terminal ..... More

Print this item

  Automatic decipher a binary string ciphered by the CIPHER program
Posted by: DavidHG - Apr-27-2019, 10:40 PM - Forum: Code sharing - No Replies

The DECIPHERER program allows you, in some cases, to decipher a binary string ciphered by the ..... More

Print this item

  Decipher a plain text ciphered by the CIPHER program
Posted by: DavidHG - Apr-27-2019, 10:27 PM - Forum: Code sharing - No Replies

The DECIPHER program allows us to decipher a plain text ciphered by the ..... More

Print this item

  Cipher a plain text by using the logistic map
Posted by: DavidHG - Apr-27-2019, 10:09 PM - Forum: Code sharing - No Replies

The CIPHER program allows us to cipher a plain text by using the logistic map. For this, we need to insert the initial condition “Xo” (It shoul..... More

Print this item

  ValueError: dictionary update sequence element #0 has length 1; 2
Posted by: Jmekubo - Apr-27-2019, 10:05 PM - Forum: General Coding Help - Replies (4)

help resolve this error when trying to create network graph

[python]

# open nodes
with open('Twitter_SNA/nodes.csv', 'r')as nodescsv:
nonr..... More

Print this item

  Inclusive (closed) range with float numbers
Posted by: mapg - Apr-27-2019, 07:49 PM - Forum: General Coding Help - Replies (4)

Hi

I need to add range of numbers to some arrays used, but I see that range in Python is not for float numbers and is not inclusive, namely range i..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Python is not working on ... 9 minutes 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
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
Most views
  The best Prog... 579405
  Tutorial Requ... 512470
  Web Scraping ... 442304
  Newbie with P... 386355
  New Users Int... 380498
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
cruisesfares Today
SNR Today
Jonathan Today
matt Yesterday
Divyakrishnan071 Yesterday

User Panel Messages

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