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,313
» Latest member: wesley300
» Forum threads: 38,825
» Forum posts: 175,948

Full Statistics

Online Users
There are currently 38 online users.
» 2 Member(s) | 31 Guest(s)
Bing, Google, Applebot, AOL, wesley300, Pedroski55

Latest Threads
[ ] RIYADH?#{+27636605847...
Forum: Board
Last Post: wesley300
Less than 1 minute ago
» Replies: 0
» Views: 1
DUBAI ꧅)(+971527895845(#@...
Forum: Board
Last Post: wesley300
Less than 1 minute ago
» Replies: 0
» Views: 1
Qatar 🗾+27636605847🏞 Buy ...
Forum: Board
Last Post: wesley300
Less than 1 minute ago
» Replies: 0
» Views: 0
+971527895845♞) Abortion ...
Forum: Board
Last Post: wesley300
1 minute ago
» Replies: 0
» Views: 1
Lyrica in Qatar ✓✓ +27636...
Forum: Board
Last Post: wesley300
1 minute ago
» Replies: 0
» Views: 1
← #IN DUBAI & DEIRA♛(+971...
Forum: Board
Last Post: wesley300
1 minute ago
» Replies: 0
» Views: 1
Dubai¯ +27636605847 ¯ cry...
Forum: Board
Last Post: wesley300
2 minutes ago
» Replies: 0
» Views: 1
+971527895845✨abortion in...
Forum: Board
Last Post: wesley300
2 minutes ago
» Replies: 0
» Views: 1
DUBAI¢[?+27636605847?]¢XA...
Forum: Board
Last Post: wesley300
2 minutes ago
» Replies: 0
» Views: 1
Dubai(( +971527895845 )) ...
Forum: Board
Last Post: wesley300
3 minutes ago
» Replies: 0
» Views: 1

 
  Microsoft buying GitHub ... Mercy!
Posted by: Larz60+ - Jun-02-2018, 08:36 PM - Forum: News and Discussions - Replies (14)

Microsoft officials have been talking to GitHub about possibly acquiring the company, according to a June 1 report in Business Insider.
see: http://w..... More

Print this item

  Printing from a text file not working as I thought it would
Posted by: PythonZenon - Jun-02-2018, 07:39 PM - Forum: General Coding Help - Replies (10)

Hi all! So my exercise is to read what's written in a text file and print it three times in three different ways. My solution is:

[python]filename ..... More

Print this item

  ECU for Convertible car top problem
Posted by: lasix - Jun-02-2018, 04:34 PM - Forum: General Coding Help - Replies (2)

Sorry if this is not in the correct forum. I thought this would fit it best, however mods, please move as desired. I am not new to programming, but I..... More

Print this item

  Seperate entities in text file
Posted by: bigdazza - Jun-02-2018, 02:06 PM - Forum: General Coding Help - Replies (1)

Hi all,
I am having problems writing seperate data entiries into a file. The code (listed below) keeps on appending the data into one long strin..... More

Print this item

  Packaging a python project the right way
Posted by: TomBrady - Jun-02-2018, 01:46 PM - Forum: General Coding Help - Replies (2)

I have spent days trying to find the best way to package my python project, so that it would be easy to install by other people. As I have found more ..... More

Print this item

  Django not saving model in management command
Posted by: F2Andy - Jun-02-2018, 11:43 AM - Forum: Web Scraping & Web Development - Replies (1)

I am setting up a command to runfrom the command line to put some initial values in the database, but for some reason the model is not getting saved. ..... More

Print this item

  Modifying events with the Google Calendar API
Posted by: mondgott - Jun-02-2018, 08:27 AM - Forum: News and Discussions - No Replies

Introduction
In an earlier post, I introduced Python developers to adding events to users’ calendars using the Google Calendar API. However, while be..... More

Print this item

  A book for the mathematics ( exercice to training )
Posted by: CastorArteII - Jun-02-2018, 04:02 AM - Forum: News and Discussions - Replies (2)

Hi all.

I am a student, i learn python, it's very interressant, but when i must use this to translate a theoreme mathematics, i am very slow...
..... More

Print this item

  When do you put variables inside vs outside a function?
Posted by: Drone4four - Jun-02-2018, 03:15 AM - Forum: General Coding Help - Replies (6)

Check out this code from my interpreter:
[code]$ python3
>>> first_list = [1,2,3,4,5,6]
>>> second_list = [101,202,303,404]
>>> first_list.reverse..... More

Print this item

  len() function doesn't work with Geany Editor
Posted by: hudabaig - Jun-01-2018, 10:53 PM - Forum: General Coding Help - Replies (2)

Hello,

I am using Python 3.5 with Geany 1.25.

One of the exercises I have come across while studying python as a beginner is using the len() fuc..... More

Print this item

  Web Scraping efficiency improvement
Posted by: HiImNew - Jun-01-2018, 08:52 PM - Forum: General Coding Help - No Replies

Is there any way to speed up a web-scraper by having multiple computers contribute to processing a list of urls? Like computer A takes urls 1 - 500 an..... More

Print this item

  Line of file from string to list to tuple
Posted by: vvarrior - Jun-01-2018, 08:29 PM - Forum: General Coding Help - Replies (2)

How do I convert a line from a file into a tuple so I can input into mysql database?
File:
[output]['sql statement %s where id = %s', ['test','1']][..... More

Print this item

  Dropping all rows of multiple columns after the max of one cell
Posted by: Thunberd - Jun-01-2018, 06:34 PM - Forum: Data Science - Replies (2)

Okay so to be frank I am new to python, and I am trying to interpret some data, this is what I have (below)
so What I am trying to do is make it so th..... More

Print this item

  Folium FastMarkerCluster
Posted by: OgnjanD - Jun-01-2018, 06:20 PM - Forum: Data Science - No Replies

I am plotting gun violence incidents in the U.S. with folium FastMarkerCluster. The code bellow does the job rather well.

[python]lats2018 = guns20..... More

Print this item

  Updating existing Py app
Posted by: n8bizall - Jun-01-2018, 03:01 PM - Forum: General Coding Help - Replies (2)

I am a JR .NET developer and have only a couple hours of basic Python training. I have been tasked with updating an existing py application. In the co..... More

Print this item

  How to do matrix subtraction
Posted by: SriRajesh - Jun-01-2018, 02:00 PM - Forum: Data Science - No Replies

Hi,
I have below two arrays
1. my test data
2. my prediction data

[python]print(y_pred2)
[0 2 0 2 0 0]
print(y_test)
y
30 0
31 0
32 0..... More

Print this item

  Using Subprocess.Popen to start another python script running in background on Window
Posted by: johnb546 - Jun-01-2018, 01:57 PM - Forum: General Coding Help - No Replies

Hi,
New to Python but loving it. I am trying to run another python script using subprocess.Popen and have it run in the background. It works ok i..... More

Print this item

  AWS rekognition - index faces
Posted by: coffe2go00 - Jun-01-2018, 12:23 PM - Forum: General Coding Help - Replies (3)

Hi,

i am new in python trying to index faces using Rekogniton API's and getting the following error:

[error]DetectionAttributes=[ 'ALL' ]
F..... More

Print this item

  PyEDA-IPython Problem [Graph]
Posted by: embash - Jun-01-2018, 08:17 AM - Forum: General Coding Help - Replies (5)

Hi,
I'm using ipython for drawing binary decision diagrams but i have a problem.

I'm trying to have a graphical model of this:

[python]In [1]: ..... More

Print this item

  running script help
Posted by: matyricon - Jun-01-2018, 07:20 AM - Forum: Bar - Replies (1)

Hey,
A mate and i recently came across an Alpha 320c Led sign and we have been using the demo software through a serial connection to upload text to..... More

Print this item

  reading 2 files concurrently
Posted by: Skaperen - Jun-01-2018, 02:37 AM - Forum: General Coding Help - Replies (3)

i am trying to find the Pythonic way(s) (or popular way(s)) to read from two files or file descriptors at the same time, in such a way that the caller..... More

Print this item

  Create random pairs
Posted by: Dennisp44 - May-31-2018, 11:53 PM - Forum: General Coding Help - Replies (3)

I am trying to create random pairings from a list of players.
I first need to randomize the entire list into pairs and then divide that list into hal..... More

Print this item

  How to get python to select a dictionary.
Posted by: jarrod0987 - May-31-2018, 10:51 PM - Forum: General Coding Help - Replies (1)

I'm not even sure how to word my question. I know exactly what I want to do but I don't know how to ask it so I will try an example.

Suppose I have..... More

Print this item

  dealing with spaces in file names
Posted by: AceScottie - May-31-2018, 10:09 PM - Forum: General Coding Help - Replies (5)

example

import os
file = "C:\\test file.txt"
os.system("start '" +file +"'")
[error]The system cannot find the file 'C:\tes..... More

Print this item

  Send Email Based on Condition
Posted by: anelliaf - May-31-2018, 06:48 PM - Forum: General Coding Help - Replies (2)

Hi All,

I have the following code which sends an email when Linux partitions reach a certain threshold:

[python]
from email.headerregistry impo..... More

Print this item

  Please help me with my code
Posted by: varungupta23 - May-31-2018, 06:20 PM - Forum: Homework - Replies (3)

Somehow the below mentioned code is getting into the infinite loop. Seems like it is not recognizing the
while loop termination conditions.
import r..... More

Print this item

  Help with or operator
Posted by: Hamut - May-31-2018, 05:46 PM - Forum: Homework - Replies (4)

I'm steaming fresh out of the oven new to Python and trying to teach it to myself using an online book. Based on the little I've learned, I'm trying t..... More

Print this item

  Learn Python 3 the Hard Way
Posted by: oldDog - May-31-2018, 04:04 PM - Forum: General Coding Help - Replies (1)

Have been trying to learn Python via a book called: Learn Python 3 the Hard Way, and thought i was doing really well until i came to exercise 15: Read..... More

Print this item

  Print None
Posted by: parthi1705 - May-31-2018, 02:16 PM - Forum: General Coding Help - Replies (3)

Why i am getting none here ?--- this is because it is treat as two statement
how to avoid it ?
or how to concord it in a single line?

[python]C:..... More

Print this item

  need help in Anaconda Prompt
Posted by: VirtualMan - May-31-2018, 01:50 PM - Forum: General Coding Help - Replies (2)

Hi,

I have a python script(.py). It purpose is to download several video. However, this python script need to pass 2 arguments (name_of_video and T..... More

Print this item

  random change of color pixel with PIL
Posted by: louloudevinci - May-31-2018, 01:00 PM - Forum: General Coding Help - Replies (4)

Hey !
I wrote this code to randomly change the colors pixels of an image.
The first time, it's good, pixels are randomly changed but after this, it..... More

Print this item

  BufferProxy.raw problem
Posted by: Twitchy - May-31-2018, 12:32 PM - Forum: Game Development - Replies (1)

Hello,

I've been trying for a few days now to send the pixel data of a surface using get_view() through a pipe to a c progam.
But i can't get the ..... More

Print this item

  VMware View - Session opened/closed?
Posted by: hhh - May-31-2018, 10:10 AM - Forum: General Coding Help - No Replies

Hello,

is there a possibility to let my Python program know whether a session with the virtual machine is opened or closed?

Situation:

VMWare..... More

Print this item

  How to generate single Sinewave?
Posted by: Saras - May-31-2018, 10:08 AM - Forum: Homework - Replies (2)

Hi,

I am learning the Python language. Which block is best for studying the Python language. This is my first exercise that how to generate sin..... More

Print this item

  Building a webcrawler for research (HELP!)
Posted by: aStudent - May-31-2018, 09:04 AM - Forum: Web Scraping & Web Development - Replies (2)

Hi there,

If got a little problem with my code as I did not code python before but want to or have to do it for my research project.
I want to cr..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [ ] RIYADH?#{+27636605847... Less than 1 minute ago wesley300 wesley300 Board
  DUBAI ꧅)(+971527895845(#@... Less than 1 minute ago wesley300 wesley300 Board
  Qatar 🗾+27636605847🏞 Buy ... Less than 1 minute ago wesley300 wesley300 Board
  +971527895845♞) Abortion ... 1 minute ago wesley300 wesley300 Board
  Lyrica in Qatar ✓✓ +27636... 1 minute ago wesley300 wesley300 Board
  ← #IN DUBAI & DEIRA♛(+971... 1 minute ago wesley300 wesley300 Board
  Dubai¯ +27636605847 ¯ cry... 2 minutes ago wesley300 wesley300 Board
  +971527895845✨abortion in... 2 minutes ago wesley300 wesley300 Board
  DUBAI¢[?+27636605847?]¢XA... 2 minutes ago wesley300 wesley300 Board
  Dubai(( +971527895845 )) ... 3 minutes ago wesley300 wesley300 Board
  #SAUDI ARABIA”(( +2763660... 3 minutes ago wesley300 wesley300 Board
Most views
  The best Prog... 579514
  Tutorial Requ... 513005
  Web Scraping ... 442379
  Newbie with P... 386405
  New Users Int... 381794
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+ 12113
buran 8196
snippsat 7394
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
wesley300 Today
elizabethlittle6258 Today
StepanVoronin Today
QABOB Today
adityaN Today

User Panel Messages

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